[weewx-user] Re: New to weewx customizations

2024-01-25 Thread David Schulz
Hi, you need something like this. #from weewx.units import ValueTuple, ValueHelper #set $temprange=($day.outTemp.max.degree_C.raw - $day.outTemp.min.degree_C.raw) #set temprange_vh=ValueHelper(ValueTuple($temprange,'degree_C','group_temperature'),formatter=$station.formatter) $temprange_vh.for

[weewx-user] Re: can't install weewx / public key is not available: NO_PUBKEY A0CB255B75BF977C

2024-01-12 Thread David Schulz
it works, thx. matthew wall schrieb am Freitag, 12. Januar 2024 um 16:37:34 UTC+1: > On Friday, January 12, 2024 at 9:20:03 AM UTC-5 schulz@gmail.com > wrote: > > hi, > > i can't install weewx today. > > wget -qO - https://weewx.com/apt/weewx-python3.list | sudo tee > /etc/apt/sources.list.

[weewx-user] can't install weewx / public key is not available: NO_PUBKEY A0CB255B75BF977C

2024-01-12 Thread David Schulz
hi, i can't install weewx today. wget -qO - https://weewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list wget -qO - https://weewx.com/keys.html | sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/weewx.gpg apt update Hit:1 http://security.ubuntu.com/ubuntu mantic-sec

[weewx-user] Re: Weather Forecast

2023-02-03 Thread David Schulz
Thanks for the work and the great plugin. I will update and test today. kk44...@gmail.com schrieb am Donnerstag, 2. Februar 2023 um 16:11:42 UTC+1: > Thanks to Open-Meteo and Hoetzgit > the WeeWX extension weewx-DWD >

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
thx David Schulz schrieb am Sonntag, 15. Januar 2023 um 00:23:42 UTC+1: > Jepp. Got it... > > decimal = ',' > > gjr80 schrieb am Sonntag, 15. Januar 2023 um 00:18:03 UTC+1: > >> If your import rainfall data is a per row value and not a cumulative >> tota

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
Jepp. Got it... decimal = ',' gjr80 schrieb am Sonntag, 15. Januar 2023 um 00:18:03 UTC+1: > If your import rainfall data is a per row value and not a cumulative total > then this is correct. > > Gary > On Sunday, 15 January 2023 at 09:14:27 UTC+10 schulz@gmail.com wrote: > I changed the co

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
as expected given the import data and import config settings. > Analysis of a larger sample of data involving non-zero rainfall data may > throw up more information. > > Gary > > On Sunday, 15 January 2023 at 08:40:05 UTC+10 schulz@gmail.com wrote: > >> I think I sh

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
...Dots instead of comma... David Schulz schrieb am Samstag, 14. Januar 2023 um 23:58:07 UTC+1: > I think so, because now the graphs are also generated better. But feel > free to test. > > gjr80 schrieb am Samstag, 14. Januar 2023 um 23:50:58 UTC+1: > >> No, commas ar

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
t; Gary > On Sunday, 15 January 2023 at 08:40:05 UTC+10 schulz@gmail.com wrote: > >> I think I should add a period to all values, not a comma. >> >> David Schulz schrieb am Samstag, 14. Januar 2023 um 23:35:21 UTC+1: >> >>> There should actually be values

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
I think I should add a period to all values, not a comma. David Schulz schrieb am Samstag, 14. Januar 2023 um 23:35:21 UTC+1: > There should actually be values in there. > > echo "SELECT dateTime, rain FROM archive" | sqlite3 > /var/lib/weewx/weewx.sdb > 1546297200| &

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
you did not import >>> into the current month and year on your system. Try deleting all of your >>> NOAA format reports from your WeeWX system, they will all be re-generated >>> on the next report cycle based on the current database data. >>> >>> Gar

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
08 UTC+10 schulz@gmail.com wrote: > >> [image: 2023-01-14 22_05_47-Blub.png] >> >> David Schulz schrieb am Samstag, 14. Januar 2023 um 22:04:28 UTC+1: >> >>> wee_import --verbose --import-config=/etc/weewx/import/csv.conf >>> /usr/share/weewx/wee_im

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
[image: 2023-01-14 22_05_47-Blub.png] David Schulz schrieb am Samstag, 14. Januar 2023 um 22:04:28 UTC+1: > wee_import --verbose --import-config=/etc/weewx/import/csv.conf > /usr/share/weewx/wee_import:719: DeprecationWarning: The distutils package > is deprecated and slated for r

[weewx-user] Re: Missing Raindata after import

2023-01-14 Thread David Schulz
1. Calculating missing derived observations ... Processing record: 1440; Last record: 2019-01-02 00:00:00 CET (1546383600) Recalculating daily summaries... Records processed: 1000; time: 2019-01-01 16:39:00 CET (1546357140) Finished recalculating daily summaries Finished calculating missing deri

[weewx-user] Missing Raindata after import

2023-01-14 Thread David Schulz
Hi, i want to import some old weatherdata via csv file, but after the import, the raindata is missing. i tried the import with "rain = cumulative / discrete". Here my config: source = CSV ### [CSV] file = /etc/weewx/import/EXP201901A.CSV delimiter =

Re: [weewx-user] Clarification - SDR sensor mapping for lux > illuminance or luminosity?

2022-12-15 Thread David Schulz
Thanks everyone for your assistance. I think I've got a good sense of what I need to do. Much appreciated! On Thursday, December 15, 2022 at 11:25:57 PM UTC+10 Greg Troxel wrote: > > David Schulz writes: > > > Battery : *1* Temperature: *22.4 C* Humidity : *59 %* >

Re: [weewx-user] Clarification - SDR sensor mapping for lux > illuminance or luminosity?

2022-12-14 Thread David Schulz
o lok like my third (and best?) option. Appreciate any guidance on what the intended design is here. Thanks, David On Tuesday, December 13, 2022 at 11:09:32 PM UTC+10 Greg Troxel wrote: > > David Schulz writes: > > > I recently upgrade my venerable WH1080 sensor to the WH65B

[weewx-user] Clarification - SDR sensor mapping for lux > illuminance or luminosity?

2022-12-13 Thread David Schulz
I recently upgrade my venerable WH1080 sensor to the WH65B sensor array. I'm grabbing data directly using the SDR driver. Just having trouble nailing down the correct sensor mapping for the lux values being reported. I'm looking at this post - https://groups.google.com/g/weewx-user/c/7ouux0b

Re: [weewx-user] Re: Version 4.9.0 available

2022-10-25 Thread David Schulz
_time_ts,1) > > I'll let the author know. > > -tk > > > On Tue, Oct 25, 2022 at 6:06 AM David Schulz wrote: > >> Hi, I have the following message in syslog after updating to 4.9.0 / >> 4.9.1. Is it relevant or not? >> >> python3 -c "import

[weewx-user] Re: Version 4.9.0 available

2022-10-25 Thread David Schulz
Hi, I have the following message in syslog after updating to 4.9.0 / 4.9.1. Is it relevant or not? python3 -c "import sqlite3; print(sqlite3.sqlite_version)" 3.37.2 Oct 25 14:58:17 weather weewx[15683] ERROR weewx.restx: Wns: Unexpected exception of type Oct 25 14:58:17 weather weewx[15683] ER

[weewx-user] Re: Updated to 4.6.0 Wunderground service upload fails

2022-02-08 Thread David Schulz
To mute this, add this in the weewx.conf [[Wunderground]] ... ... log_success = False log_failure = False David Schulz schrieb am Dienstag, 8. Februar 2022 um 17:01:43 UTC+1: > Seems like Wunderground-PWS is down again. Got the same messages. You > could disable this messages. I have a

[weewx-user] Re: Updated to 4.6.0 Wunderground service upload fails

2022-02-08 Thread David Schulz
Seems like Wunderground-PWS is down again. Got the same messages. You could disable this messages. I have already had to do this with some services. Feb 8 15:28:29 weather weewx[182368] ERROR weewx.restx: Wunderground-PWS: Failed to publish record 2022-02-08 15:28:00 CET (1644330480): Failed

Re: [weewx-user] Re: weewx.4.6.0: no windrun calculation after update

2022-02-06 Thread David Schulz
bruar 2022 um 00:07:49 UTC+1: > Glad you found a workaround, but this is clearly not right. I've opened up > issue #737 <https://github.com/weewx/weewx/issues/737> to track. > > On Sun, Feb 6, 2022 at 5:50 AM David Schulz wrote: > >> windrun = software >> &

[weewx-user] Re: weewx.4.6.0: no windrun calculation after update

2022-02-06 Thread David Schulz
windrun = software Solved the problem and the behavior looks the same. echo "SELECT dateTime, windrun FROM archive WHERE dateTime > 1644154200" | sqlite3 weewx.sdb 1644154320|0.171428571428571 1644154440|0.227210884353742 1644154560|0.25578231292517 1644154680|0.199319727891156 1644154800|0.2184

[weewx-user] Re: weewx.4.6.0: no windrun calculation after update

2022-02-06 Thread David Schulz
problem occurs even with a completely new installation. echo "SELECT dateTime, windrun FROM archive" | sqlite3 weewx.sdb 1644146400|0.0 1644146700|0.0 1644147000|0.0 1644147300|0.0 David Schulz schrieb am Sonntag, 6. Februar 2022 um 09:58:28 UTC+1: > hi, > > since the upda

[weewx-user] weewx.4.6.0: no windrun calculation after update

2022-02-06 Thread David Schulz
hi, since the update to 4.6.0, i have no windrun calculation. it only outputs 0. via $day.windrun.sum / $current.windrun there are no more values. nothing changed on the weewx.conf and i see no errors in the syslog. [StdWXCalculate] [[Calculations]] windrun = prefer_hardware -- You receiv

[weewx-user] Re: ValueError: day is out of range for month

2021-12-31 Thread David Schulz
:20 weather weewx[892924] ERROR weewx.reportengine: ValueError: day is out of range for month Dec 31 11:16:20 weather weewx[892924] ERROR weewx.reportengine: Generator terminated David Schulz schrieb am Freitag, 31. Dezember 2021 um 11:16:37 UTC+1: > hi, > > I hav

[weewx-user] ValueError: day is out of range for month

2021-12-31 Thread David Schulz
hi, I have this problem and this is my syslog file: Dec 31 10:52:22 weather weewx[892924] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'user.belchertown.HighchartsJsonGenerator' Dec 31 10:52:22 weather weewx[892924] ERROR weewx.reportengine: day is out of range fo

[weewx-user] Re: Need some help for NOAA modification

2021-12-25 Thread David Schulz
Sorry for spamming. here the solution... ;-) Min, max temperatures by year #for $year in *$alltime.years* $year.dateTime.format("%Y"): Min, max temperatures: $year.outTemp.min $year.outTemp.max #end for David Schulz schrieb am Samstag, 25. Dezember 2021 um 20:50:05 UTC+1: > hi, &g

[weewx-user] Need some help for NOAA modification

2021-12-25 Thread David Schulz
hi, i need some help to customize my noaa report or i don't get the desired result. i want a yearly overview and use the following code. Min, max temperatures by year #for $year in $year.years $year.dateTime.format("%Y"): Min, max temperatures: $year.outTemp.min $year.outTemp.max #end for Min,

[weewx-user] Need some help for NOAA modification

2021-12-25 Thread David Schulz
hi, i need some help to customize my noaa report or i don't get the desired result. i want a yearly overview and use the following code. Min, max temperatures by year #for $year in $year.years $year.dateTime.format("%Y"): Min, max temperatures: $year.outTemp.min $year.outTemp.max #end for $cur

[weewx-user] Need some help for NOAA modification

2021-12-25 Thread David Schulz
hi, i need some help to customize my noaa report or i don't get the desired result. i want a yearly overview and use the following code. Min, max temperatures by year #for $year in $year.years $year.dateTime.format("%Y"): Min, max temperatures: $year.outTemp.min $year.outTemp.max #end for $cur

[weewx-user] Re: Need some help with tags / aggregation period

2021-07-31 Thread David Schulz
really good question... 01. of march? actually i fixed it with $day($days_ago=731).dateTime.format("%d.%m.%Y"). vince schrieb am Samstag, 31. Juli 2021 um 20:54:21 UTC+2: > Leap years are difficult without doing a lot of coding. > > When you reach the next Feb-29th what would you expect for 'las

[weewx-user] Re: Need some help with tags / aggregation period

2021-07-31 Thread David Schulz
TAH__cheetahIncludes[_includeID].respond(trans) Jul 31 19:58:21 weather wee_reports[133909] ERROR weewx.cheetahgenerator: File "_etc_weewx_skins_Belchertown_index_hook_after_snapshot_inc.py", line 152, in respond Jul 31 19:58:21 weather wee_reports[133909] ERROR weewx.cheetahgenerator

[weewx-user] Need some help with tags / aggregation period

2021-07-31 Thread David Schulz
Hi, i need some help to show the date and temp from 2 years ago. what is the best method to take into account the leap years? I know this site. -> http://weewx.com/docs/customizing.htm#Time_period_$current Currently I try it with: $day($days_ago=730).dateTime.format("%d.%m.%Y") But the soluti

[weewx-user] Re: weewx.engine: Clock error

2020-10-06 Thread David Schulz
2020 x86_64 x86_64 x86_64 GNU/Linux David Schulz schrieb am Dienstag, 6. Oktober 2020 um 10:01:12 UTC+2: > Hello, > > I have a question. How do I get rid of this message or can I ignore this > message? It is an info and not an error. > > cat /var/log/syslog | grep weewx |

[weewx-user] weewx.engine: Clock error

2020-10-06 Thread David Schulz
Hello, I have a question. How do I get rid of this message or can I ignore this message? It is an info and not an error. cat /var/log/syslog | grep weewx | grep -i error Oct 5 23:25:08 weather weewx[6816] INFO weewx.engine: Clock error is -0.15 seconds (positive is fast) Oct 5 23:30:31 weath

[weewx-user] Re: NULL data for some values with Cumulus Real-Time plugin

2020-08-03 Thread David Schulz
0 WNW 438 m 20.8 11.5 496.3 0 David Schulz schrieb am Montag, 3. August 2020 um 16:55:29 UTC+2: > It's Davis Vantage Vue with Weatherlink Live and the Weatherlink Live UDP > driver. > > gjr80 schrieb am Montag, 3. August 2020 um 16:32:25 UTC+2: > >> Hi, >> >&

[weewx-user] Re: NULL data for some values with Cumulus Real-Time plugin

2020-08-03 Thread David Schulz
binding from loop to archive but then crt will > only generate files every archive interval, you can live with it or get > another station that does not have partial packets. What station do you > have ? > > Gary > > On Monday, 3 August 2020 23:03:05 UTC+10, David Schulz wr

[weewx-user] NULL data for some values with Cumulus Real-Time plugin

2020-08-03 Thread David Schulz
hi, i've installed the crt plugin. works fine, looks good, but i didn't get the right data for some values. here an example. 03.08.20 13:52:49 NULL NULL NULL 4.0 4.1 278 0.0 2.6 NULL W 1 km/h C hPa mm 26.6 NULL 10.6 216.3 8.0 NULL NULL NULL NULL 18.4

[weewx-user] Re: Questions about file import / wee_import csv

2020-07-22 Thread David Schulz
weewxd --version && lsb_release -a && uname -a 4.1.1 No LSB modules are available. Distributor ID: Raspbian Description:Raspbian GNU/Linux 10 (buster) Release:10 Codename: buster Linux pi2 5.4.51-v7+ #1325 SMP Mon Jul 13 13:41:25 BST 2020 armv7l GNU/Linux -- You received this me

[weewx-user] Re: Questions about file import / wee_import csv

2020-07-22 Thread David Schulz
ux Am Mittwoch, 22. Juli 2020 10:58:58 UTC+2 schrieb David Schulz: > > Hello, > > i have a question about file import via csv. > > My config looks like this: > > cat import_csv.conf > > # EXAMPLE CONFIGURATION FILE FOR IMPORTING FROM CSV FILES > # > # Copyright

[weewx-user] Questions about file import / wee_import csv

2020-07-22 Thread David Schulz
Hello, i have a question about file import via csv. My config looks like this: cat import_csv.conf # EXAMPLE CONFIGURATION FILE FOR IMPORTING FROM CSV FILES # # Copyright (c) 2009-2019 Tom Keffer and Gary Roderick. # See the file LICENSE.txt for your rights. ##

[weewx-user] Re: Working with epoch date time to merge databases - Best tool?

2017-08-02 Thread David Schulz
ead of the * - I just found > the same problem and it works if you do for example > select from_unixtime(dateTime), outTemp, inTemp from archive; > > with and without where 1; > > > > On Wednesday, 2 August 2017 10:23:11 UTC+3, David Schulz wrote: > >> Hi Andrew

[weewx-user] Re: Working with epoch date time to merge databases - Best tool?

2017-08-02 Thread David Schulz
atetime(dateTime, 'unixepoch', 'local'), * from archive where 1; > for SQLite > > Should help you on the way > > > > On Tuesday, 1 August 2017 10:10:11 UTC+3, David Schulz wrote: > >> I seem to have weewx data spread across both a MySQL (MariaDB) datab

Re: [weewx-user] How to backup all the configuration files and database to a NAS or a ftp folder?

2017-08-01 Thread David Schulz
Hi Stefano I'll share my solution in the hope that it can help you. I wanted to backup both my weewx configuration and the data in the event I need to recover from a failure. I have a NAS (QNAP brand) that is my backup location. Here's what I did. 1. Create a share on the NAS for weewx.

[weewx-user] Working with epoch date time to merge databases - Best tool?

2017-08-01 Thread David Schulz
I seem to have weewx data spread across both a MySQL (MariaDB) database as well as the local SQLite database. Why do I think this? I have yearly summaries going back to 2014, but there are big missing patches. For example, I have data for May 2014, Jan 2015, Nov, Dec 2016 and all of this year