[weewx-user] Can I format an arbitrary number with a unit label in a report?

2023-12-01 Thread michael.k...@gmx.at
I have a report that reports the rain sum for the last 365 days:

$span(day_delta=365).rain.sum

I want to label this value like so:

365 days: 997mm

Is there a way to format the number 365 with $units.labels.day?
Something like:

$format(365, $units.labels.day) => 365 days
$format(1, $units.labels.day) => 1 day








-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ce86da41-9f28-41cf-a5c1-bd07b0990cb6n%40googlegroups.com.


Re: [weewx-user] Not loading NOAA reports

2023-12-01 Thread Bruce Baumann
Well, thank you.  I 'assumed' that the NOAA files would display on my 
browser.  But I can easily go the location mentioned earlier.
Else wise, I am pleased with the program and will now add other weather 
uploads.Again, thank you!
R/Bruce

On Friday, December 1, 2023 at 5:57:40 PM UTC-8 Tom Keffer wrote:

> Have you tried browsing /var/www/html?
>
> Note: browsing to the drop down list on the index page will NOT show the 
> NOAA files on most browsers because of CORS policies. You have to either 
> install a webserver, or browse directly to the target file. For example, go 
> to the NOAA subdirectory, then click on the wanted file.
>
> file:///var/www/html/NOAA
>
> Perhaps that was your original question? Don't know!
>
> On Fri, Dec 1, 2023 at 5:06 PM Bruce Baumann  wrote:
>
>> A bit more of the file I missed.
>>
>> Dec 01 17:00:00 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
>> Wunderground-RF: Published record 2023-12-01 17:00:00 PST (1701478800)
>> Dec 01 17:00:02 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
>> Wunderground-RF: Published record 2023-12-01 17:00:02 PST (1701478802)
>> Dec 01 17:00:04 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
>> Wunderground-RF: Published record 2023-12-01 17:00:04 PST (1701478804)
>> Dec 01 17:00:06 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
>> Wunderground-RF: Published record 2023-12-01 17:00:06 PST (1701478806)
>> Dec 01 17:00:08 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
>> Wunderground-RF: Published record 2023-12-01 17:00:08 PST (1701478808)
>> Dec 01 17:00:10 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
>> Wunderground-RF: Published record 2023-12-01 17:00:10 PST (1701478810)
>> Dec 01 17:00:12 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
>> Wunderground-RF: Published record 2023-12-01 17:00:12 PST (1701478812)
>> Dec 01 17:00:14 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
>> Wunderground-RF: Published record 2023-12-01 17:00:14 PST (1701478814)
>> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
>> weewx.drivers.vantage: Getting archive packets since 2023-12-01 16:55:00 
>> PST (17014>
>> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
>> Wunderground-RF: Published record 2023-12-01 17:00:16 PST (1701478816)
>> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
>> weewx.drivers.vantage: Successfully woke up Vantage console
>> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
>> weewx.drivers.vantage: Retrieving 1 page(s); starting index= 1
>> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] INFO 
>> weewx.manager: Added record 2023-12-01 17:00:00 PST (1701478800) to 
>> database 'weewx.>
>> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] INFO 
>> weewx.manager: Added record 2023-12-01 17:00:00 PST (1701478800) to daily 
>> summary in>
>> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
>> weewx.drivers.vantage: DMPAFT complete: page timestamp 2023-11-22 19:45:00 
>> PST (170>
>> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
>> weewx.drivers.vantage: Catch up complete.
>> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
>> weewx.reportengine: Running reports for latest time in the database.
>> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
>> weewx.reportengine: Running report 'SeasonsReport'
>> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
>> weewx.drivers.vantage: Requesting 200 LOOP packets.
>> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
>> weewx.reportengine: Found configuration file 
>> /etc/weewx/skins/Seasons/skin.conf for>
>> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
>> weewx.cheetahgenerator: Using search list 
>> ['weewx.cheetahgenerator.Almanac', 'weewx>
>> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
>> weewx.manager: Daily summary version is 4.0
>> Dec 01 17:00:17 localhost python3[13379]: weewx[13379] DEBUG 
>> weewx.drivers.vantage: Successfully woke up Vantage console
>> Dec 01 17:00:17 localhost python3[13379]: weewx[13379] INFO 
>> weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.73 
>> seconds
>> Dec 01 17:00:17 localhost python3[13379]: weewx[13379] DEBUG 
>> weewx.manager: Daily summary version is 4.0
>> Dec 01 17:00:17 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
>> Wunderground-RF: Published record 2023-12-01 17:00:17 PST (1701478817)
>> Dec 01 17:00:18 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
>> Wunderground-RF: Published record 2023-12-01 17:00:18 PST (1701478818)
>> Dec 01 17:00:18 localhost python3[13379]: weewx[13379] INFO 
>> weewx.imagegenerator: Generated 27 images for report SeasonsReport in 1.01 
>> seconds
>> Dec 01 17:00:18 localhost python3[13379]: weewx[13379] INFO 
>> weewx.reportengine: Copied 0 files to /var/www/html/weewx
>> Dec 01 17:00:18 localhost 

Re: [weewx-user] Not loading NOAA reports

2023-12-01 Thread Tom Keffer
Have you tried browsing /var/www/html?

Note: browsing to the drop down list on the index page will NOT show the
NOAA files on most browsers because of CORS policies. You have to either
install a webserver, or browse directly to the target file. For example, go
to the NOAA subdirectory, then click on the wanted file.

file:///var/www/html/NOAA

Perhaps that was your original question? Don't know!

On Fri, Dec 1, 2023 at 5:06 PM Bruce Baumann 
wrote:

> A bit more of the file I missed.
>
> Dec 01 17:00:00 localhost python3[13379]: weewx[13379] INFO weewx.restx:
> Wunderground-RF: Published record 2023-12-01 17:00:00 PST (1701478800)
> Dec 01 17:00:02 localhost python3[13379]: weewx[13379] INFO weewx.restx:
> Wunderground-RF: Published record 2023-12-01 17:00:02 PST (1701478802)
> Dec 01 17:00:04 localhost python3[13379]: weewx[13379] INFO weewx.restx:
> Wunderground-RF: Published record 2023-12-01 17:00:04 PST (1701478804)
> Dec 01 17:00:06 localhost python3[13379]: weewx[13379] INFO weewx.restx:
> Wunderground-RF: Published record 2023-12-01 17:00:06 PST (1701478806)
> Dec 01 17:00:08 localhost python3[13379]: weewx[13379] INFO weewx.restx:
> Wunderground-RF: Published record 2023-12-01 17:00:08 PST (1701478808)
> Dec 01 17:00:10 localhost python3[13379]: weewx[13379] INFO weewx.restx:
> Wunderground-RF: Published record 2023-12-01 17:00:10 PST (1701478810)
> Dec 01 17:00:12 localhost python3[13379]: weewx[13379] INFO weewx.restx:
> Wunderground-RF: Published record 2023-12-01 17:00:12 PST (1701478812)
> Dec 01 17:00:14 localhost python3[13379]: weewx[13379] INFO weewx.restx:
> Wunderground-RF: Published record 2023-12-01 17:00:14 PST (1701478814)
> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG
> weewx.drivers.vantage: Getting archive packets since 2023-12-01 16:55:00
> PST (17014>
> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] INFO weewx.restx:
> Wunderground-RF: Published record 2023-12-01 17:00:16 PST (1701478816)
> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG
> weewx.drivers.vantage: Successfully woke up Vantage console
> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG
> weewx.drivers.vantage: Retrieving 1 page(s); starting index= 1
> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] INFO weewx.manager:
> Added record 2023-12-01 17:00:00 PST (1701478800) to database 'weewx.>
> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] INFO weewx.manager:
> Added record 2023-12-01 17:00:00 PST (1701478800) to daily summary in>
> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG
> weewx.drivers.vantage: DMPAFT complete: page timestamp 2023-11-22 19:45:00
> PST (170>
> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG
> weewx.drivers.vantage: Catch up complete.
> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG
> weewx.reportengine: Running reports for latest time in the database.
> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG
> weewx.reportengine: Running report 'SeasonsReport'
> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG
> weewx.drivers.vantage: Requesting 200 LOOP packets.
> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG
> weewx.reportengine: Found configuration file
> /etc/weewx/skins/Seasons/skin.conf for>
> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG
> weewx.cheetahgenerator: Using search list
> ['weewx.cheetahgenerator.Almanac', 'weewx>
> Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG
> weewx.manager: Daily summary version is 4.0
> Dec 01 17:00:17 localhost python3[13379]: weewx[13379] DEBUG
> weewx.drivers.vantage: Successfully woke up Vantage console
> Dec 01 17:00:17 localhost python3[13379]: weewx[13379] INFO
> weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.73
> seconds
> Dec 01 17:00:17 localhost python3[13379]: weewx[13379] DEBUG
> weewx.manager: Daily summary version is 4.0
> Dec 01 17:00:17 localhost python3[13379]: weewx[13379] INFO weewx.restx:
> Wunderground-RF: Published record 2023-12-01 17:00:17 PST (1701478817)
> Dec 01 17:00:18 localhost python3[13379]: weewx[13379] INFO weewx.restx:
> Wunderground-RF: Published record 2023-12-01 17:00:18 PST (1701478818)
> Dec 01 17:00:18 localhost python3[13379]: weewx[13379] INFO
> weewx.imagegenerator: Generated 27 images for report SeasonsReport in 1.01
> seconds
> Dec 01 17:00:18 localhost python3[13379]: weewx[13379] INFO
> weewx.reportengine: Copied 0 files to /var/www/html/weewx
> Dec 01 17:00:18 localhost python3[13379]: weewx[13379] DEBUG
> weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
> Dec 01 17:00:18 localhost python3[13379]: weewx[13379] DEBUG
> weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
> Dec 01 17:00:18 localhost python3[13379]: weewx[13379] DEBUG
> weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
> Dec 01 17:00:18 localhost python3[13379]: weewx[13379] DEBUG
> weewx.reportengine: 

Re: [weewx-user] Not loading NOAA reports

2023-12-01 Thread Bruce Baumann
A bit more of the file I missed.

Dec 01 17:00:00 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
Wunderground-RF: Published record 2023-12-01 17:00:00 PST (1701478800)
Dec 01 17:00:02 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
Wunderground-RF: Published record 2023-12-01 17:00:02 PST (1701478802)
Dec 01 17:00:04 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
Wunderground-RF: Published record 2023-12-01 17:00:04 PST (1701478804)
Dec 01 17:00:06 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
Wunderground-RF: Published record 2023-12-01 17:00:06 PST (1701478806)
Dec 01 17:00:08 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
Wunderground-RF: Published record 2023-12-01 17:00:08 PST (1701478808)
Dec 01 17:00:10 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
Wunderground-RF: Published record 2023-12-01 17:00:10 PST (1701478810)
Dec 01 17:00:12 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
Wunderground-RF: Published record 2023-12-01 17:00:12 PST (1701478812)
Dec 01 17:00:14 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
Wunderground-RF: Published record 2023-12-01 17:00:14 PST (1701478814)
Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
weewx.drivers.vantage: Getting archive packets since 2023-12-01 16:55:00 
PST (17014>
Dec 01 17:00:16 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
Wunderground-RF: Published record 2023-12-01 17:00:16 PST (1701478816)
Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
weewx.drivers.vantage: Successfully woke up Vantage console
Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
weewx.drivers.vantage: Retrieving 1 page(s); starting index= 1
Dec 01 17:00:16 localhost python3[13379]: weewx[13379] INFO weewx.manager: 
Added record 2023-12-01 17:00:00 PST (1701478800) to database 'weewx.>
Dec 01 17:00:16 localhost python3[13379]: weewx[13379] INFO weewx.manager: 
Added record 2023-12-01 17:00:00 PST (1701478800) to daily summary in>
Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
weewx.drivers.vantage: DMPAFT complete: page timestamp 2023-11-22 19:45:00 
PST (170>
Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
weewx.drivers.vantage: Catch up complete.
Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
weewx.reportengine: Running reports for latest time in the database.
Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
weewx.reportengine: Running report 'SeasonsReport'
Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
weewx.drivers.vantage: Requesting 200 LOOP packets.
Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
weewx.reportengine: Found configuration file 
/etc/weewx/skins/Seasons/skin.conf for>
Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG 
weewx.cheetahgenerator: Using search list 
['weewx.cheetahgenerator.Almanac', 'weewx>
Dec 01 17:00:16 localhost python3[13379]: weewx[13379] DEBUG weewx.manager: 
Daily summary version is 4.0
Dec 01 17:00:17 localhost python3[13379]: weewx[13379] DEBUG 
weewx.drivers.vantage: Successfully woke up Vantage console
Dec 01 17:00:17 localhost python3[13379]: weewx[13379] INFO 
weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 0.73 
seconds
Dec 01 17:00:17 localhost python3[13379]: weewx[13379] DEBUG weewx.manager: 
Daily summary version is 4.0
Dec 01 17:00:17 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
Wunderground-RF: Published record 2023-12-01 17:00:17 PST (1701478817)
Dec 01 17:00:18 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
Wunderground-RF: Published record 2023-12-01 17:00:18 PST (1701478818)
Dec 01 17:00:18 localhost python3[13379]: weewx[13379] INFO 
weewx.imagegenerator: Generated 27 images for report SeasonsReport in 1.01 
seconds
Dec 01 17:00:18 localhost python3[13379]: weewx[13379] INFO 
weewx.reportengine: Copied 0 files to /var/www/html/weewx
Dec 01 17:00:18 localhost python3[13379]: weewx[13379] DEBUG 
weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Dec 01 17:00:18 localhost python3[13379]: weewx[13379] DEBUG 
weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Dec 01 17:00:18 localhost python3[13379]: weewx[13379] DEBUG 
weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Dec 01 17:00:18 localhost python3[13379]: weewx[13379] DEBUG 
weewx.reportengine: Report 'FTP' not enabled. Skipping.
Dec 01 17:00:18 localhost python3[13379]: weewx[13379] DEBUG 
weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
Dec 01 17:00:20 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
Wunderground-RF: Published record 2023-12-01 17:00:20 PST (1701478820)
Dec 01 17:00:22 localhost python3[13379]: weewx[13379] INFO weewx.restx: 
Wunderground-RF: Published record 2023-12-01 17:00:22 PST (1701478822)

On Friday, December 1, 2023 at 4:58:42 PM UTC-8 Bruce Baumann wrote:

> Thank you for the fast reply!  I will try 

Re: [weewx-user] Not loading NOAA reports

2023-12-01 Thread Bruce Baumann
Thank you for the fast reply!  I will try to be timelier in mine.
I found the NOAA files in /var/www/html/weewx/NOAA.  No idea how to link 
that to my weather discplay (Firefox) yet.
Many thanks for advice and your patience as I re-enter the world of Linux.
R/Bruce

Dec 01 16:49:04 localhost systemd[1]: Starting weewx.service - LSB: weewx 
weather system...
Dec 01 16:49:04 localhost python3[13376]: weewx[13376] INFO __main__: 
Initializing weewx version 4.10.2
Dec 01 16:49:04 localhost python3[13376]: weewx[13376] INFO __main__: Using 
Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]
Dec 01 16:49:04 localhost python3[13376]: weewx[13376] INFO __main__: 
Located at /bin/python3
Dec 01 16:49:04 localhost python3[13376]: weewx[13376] INFO __main__: 
Platform Linux-6.1.0-13-686-pae-i686-with-glibc2.36
Dec 01 16:49:04 localhost python3[13376]: weewx[13376] INFO __main__: 
Locale is 'en_US.UTF-8'
Dec 01 16:49:04 localhost python3[13376]: weewx[13376] INFO __main__: Using 
configuration file /etc/weewx/weewx.conf
Dec 01 16:49:04 localhost python3[13376]: weewx[13376] INFO __main__: Debug 
is 1
Dec 01 16:49:04 localhost python3[13376]: weewx[13376] INFO __main__: PID 
file is /var/run/weewx.pid
Dec 01 16:49:04 localhost python3[13379]: weewx[13379] DEBUG __main__: 
Initializing engine
Dec 01 16:49:04 localhost python3[13379]: weewx[13379] INFO weewx.engine: 
Loading station type Vantage (weewx.drivers.vantage)
Dec 01 16:49:04 localhost python3[13379]: weewx[13379] DEBUG 
weewx.drivers.vantage: Driver version is 3.5.2
Dec 01 16:49:04 localhost python3[13379]: weewx[13379] DEBUG 
weewx.drivers.vantage: Option loop_request=1
Dec 01 16:49:04 localhost python3[13379]: weewx[13379] DEBUG 
weewx.drivers.vantage: Opened up serial port /dev/ttyUSB0; baud 19200; 
timeout 4.00
Dec 01 16:49:04 localhost weewx[13365]: Starting weewx weather system: 
weewx.
Dec 01 16:49:04 localhost systemd[1]: Started weewx.service - LSB: weewx 
weather system.
Dec 01 16:49:04 localhost python3[13379]: weewx[13379] DEBUG 
weewx.drivers.vantage: Successfully woke up Vantage console
Dec 01 16:49:04 localhost python3[13379]: weewx[13379] DEBUG 
weewx.drivers.vantage: Hardware type is 17
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG 
weewx.drivers.vantage: ISS ID is 1
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG 
weewx.drivers.vantage: Hardware name: Vantage Vue
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Loading service weewx.engine.StdTimeSynch
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Finished loading service weewx.engine.StdTimeSynch
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Loading service weewx.engine.StdConvert
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] INFO weewx.engine: 
StdConvert target unit is 0x1
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Finished loading service weewx.engine.StdConvert
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Loading service weewx.engine.StdCalibrate
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Finished loading service weewx.engine.StdCalibrate
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Loading service weewx.engine.StdQC
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Finished loading service weewx.engine.StdQC
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Loading service weewx.wxservices.StdWXCalculate
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] INFO 
weewx.wxservices: StdWXCalculate will use data binding wx_binding
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.manager: 
Daily summary version is 4.0
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Finished loading service weewx.wxservices.StdWXCalculate
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Loading service weewx.wxxtypes.StdWXXTypes
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Finished loading service weewx.wxxtypes.StdWXXTypes
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Loading service weewx.wxxtypes.StdPressureCooker
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Finished loading service weewx.wxxtypes.StdPressureCooker
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Loading service weewx.wxxtypes.StdRainRater
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Finished loading service weewx.wxxtypes.StdRainRater
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Loading service weewx.wxxtypes.StdDelta
Dec 01 16:49:05 localhost python3[13379]: weewx[13379] DEBUG weewx.engine: 
Finished loading service weewx.wxxtypes.StdDelta
Dec 01 16:49:05 localhost python3[13379]: 

Re: [weewx-user] cheetah with historical data

2023-12-01 Thread Tom Keffer
If you're serious, start a branch off of V5, then work on the file
weewx/tags.py. Look at function TimeBinder.month(). Add an appropriate
argument. Perhaps structure it as a 2-way tuple (year, month). Use your
experience from writing a historical data template to decide what would be
convenient and general. Choose a good name for it. Then implement, then
create a Pull Request and I'll take a look.

If it all looks good, documentation and tests would have to follow.

Way too late for V5, but there will inevitably be a V5.1!


On Fri, Dec 1, 2023 at 1:45 PM jschoonh  wrote:

> Too bad, but thanks for your answer.
> Then I have a challenge, which is also fun
>
> Op vrijdag 1 december 2023 om 22:39:25 UTC+1 schreef Tom Keffer:
>
>> Sorry, there is no way to do that. But, it would be a good addition.
>>
>> On Fri, Dec 1, 2023 at 9:19 AM jschoonh  wrote:
>>
>>>  a question about the cheetah generator
>>> currently I display historical data per month in a thermometer form.
>>> To get the data i use i line in the the cheetah generator (as an
>>> example) “$month($months_ago=11).outTemp.max.format(add_label=False,”
>>> but is it possible to give an absolute date for example, the 12th month
>>> in 2022, something like $month(12,2022). I know this is wrong, but is there
>>> something I can use like this?
>>>
>>> Here a example for the current year
>>> https://schooot.nl/php/maande.php
>>> Displayed in the page https://schooot.nl/weereng.php
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "weewx-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to weewx-user+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/00c6ad98-2a53-4ec6-a06e-85f3e412b2bbn%40googlegroups.com
>>> 
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/9d4abf50-3142-44d9-9a9f-6874779cbd98n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEA0XML5Xrq4vFtg95kEiudp6PPNP30vx2JnZOP6wehm7g%40mail.gmail.com.


Re: [weewx-user] cheetah with historical data

2023-12-01 Thread jschoonh
Too bad, but thanks for your answer.
Then I have a challenge, which is also fun

Op vrijdag 1 december 2023 om 22:39:25 UTC+1 schreef Tom Keffer:

> Sorry, there is no way to do that. But, it would be a good addition.
>
> On Fri, Dec 1, 2023 at 9:19 AM jschoonh  wrote:
>
>>  a question about the cheetah generator
>> currently I display historical data per month in a thermometer form.
>> To get the data i use i line in the the cheetah generator (as an example) 
>> “$month($months_ago=11).outTemp.max.format(add_label=False,”
>> but is it possible to give an absolute date for example, the 12th month 
>> in 2022, something like $month(12,2022). I know this is wrong, but is there 
>> something I can use like this?
>>
>> Here a example for the current year
>> https://schooot.nl/php/maande.php
>> Displayed in the page https://schooot.nl/weereng.php
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/00c6ad98-2a53-4ec6-a06e-85f3e412b2bbn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9d4abf50-3142-44d9-9a9f-6874779cbd98n%40googlegroups.com.


Re: [weewx-user] Not loading NOAA reports

2023-12-01 Thread Tom Keffer
Humor us --- show the log. It will tell us what install method you used,
and where the HTML files are going. An error may not be obvious to you, but
there are always useful clues!


On Fri, Dec 1, 2023 at 9:25 AM Bruce Baumann 
wrote:

> I am a newish user of weewx. Not fluent in Linux anymore.
> Loaded Debian 12, I installed on a Dell with an I7 chip set.
> Loading NOAA/NOAA-2023-11.txt
> Wireless Vantage Vue via USB.
>
> I cannot see the NOAA reports in my local index.html page (Seasons skin
> 4.10.2). I do not see reports generated in the directory (just the
> templates).
> If I select Monthly Reports or Yearly Reports I get:
>
> Loading NOAA/NOAA-2023-11.txt
> Loading NOAA/NOAA-2023-.txt
> Respectively, and nothing happens.
>
> Additionally, the RSS button generates an xml code page (may be normal?).
>
> journalctrl shows no errors with debug=1.
>
> Thank you in advance for any help.
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/9be24430-614e-4b51-9ebf-4b636baa046an%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDtyr3%3D9m0O8tPDJe4LpUOOA4mdSb-4X78nnSdp%3DXhivA%40mail.gmail.com.


Re: [weewx-user] cheetah with historical data

2023-12-01 Thread Tom Keffer
Sorry, there is no way to do that. But, it would be a good addition.

On Fri, Dec 1, 2023 at 9:19 AM jschoonh  wrote:

>  a question about the cheetah generator
> currently I display historical data per month in a thermometer form.
> To get the data i use i line in the the cheetah generator (as an example)
> “$month($months_ago=11).outTemp.max.format(add_label=False,”
> but is it possible to give an absolute date for example, the 12th month in
> 2022, something like $month(12,2022). I know this is wrong, but is there
> something I can use like this?
>
> Here a example for the current year
> https://schooot.nl/php/maande.php
> Displayed in the page https://schooot.nl/weereng.php
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/00c6ad98-2a53-4ec6-a06e-85f3e412b2bbn%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAhZ-TRyCWRWe9%2BG6LUEiZcAROU0Uj35wPobUCx7xQkvg%40mail.gmail.com.


[weewx-user] Re: National Geographic IN122

2023-12-01 Thread Δημήτρης Βήχος
you can try cumulus software. runs in windows and linux also. package must 
to have cd to install the analyzer. if havent try with cumulus software

Στις Παρασκευή 1 Δεκεμβρίου 2023 στις 1:31:43 μ.μ. UTC+2, ο χρήστης Tomás 
έγραψε:

> Thanks! Oh that is a pity.. and do you know the soft advertised in the 
> package?
>
> "PC weather analyzer software"
>
> Or where can I find it?
>
> Thanks,
>
> Tomás.-
>
> On Tuesday, 28 November 2023 at 06:55:34 UTC-3 Δημήτρης Βήχος wrote:
>
>> i didnt now this weather station. maybe its older than 265 NE , and hasnt 
>> no compability with fine offset driver .
>>
>> Στις Δευτέρα 27 Νοεμβρίου 2023 στις 2:35:36 μ.μ. UTC+2, ο χρήστης Tomás 
>> έγραψε:
>>
>>> any ideas? should I ask in the development group?
>>>
>>> thanks,
>>>
>>> tomás.-
>>>
>>> On Saturday, 18 November 2023 at 15:03:42 UTC-3 Tomás wrote:
>>>
 Hello, is this weather station supported? Could not connect to the 
 console with any available driver.

 I've searched conversations but only found NGEO 265 station.

 Thanks very much!

 pd I attach the usbview output and a picture

 USB-WEATHER
 Manufacturer: ASICTECH
 Speed: 12Mb/s (full)
 Bus:   1
 Address:   8
 USB Version:  1.10
 Device Class: 00(>ifc )
 Device Subclass: 00
 Device Protocol: 00
 Maximum Default Endpoint Size: 8
 Number of Configurations: 1
 Vendor Id: 1908
 Product Id: 20a0
 Revision Number:  1.00

 Config Number: 1
 Number of Interfaces: 1
 Attributes: a0
 MaxPower Needed: 200mA

 Interface Number: 3
 Name: usbhid
 Alternate Number: 0
 Class: 03(HID  ) 
 Sub Class: 00
 Protocol: 00
 Number of Endpoints: 2

 Endpoint Address: 81
 Direction: in
 Attribute: 3
 Type: Int.
 Max Packet Size: 8
 Interval: 20ms

 Endpoint Address: 01
 Direction: out
 Attribute: 3
 Type: Int.
 Max Packet Size: 16
 Interval: 2ms[image: in122_ngeo_weather.png]

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/936efbb1-2786-466a-9dbe-fee2099154e6n%40googlegroups.com.


[weewx-user] Not loading NOAA reports

2023-12-01 Thread Bruce Baumann
 I am a newish user of weewx. Not fluent in Linux anymore.
Loaded Debian 12, I installed on a Dell with an I7 chip set.  
Loading NOAA/NOAA-2023-11.txt 
Wireless Vantage Vue via USB.

I cannot see the NOAA reports in my local index.html page (Seasons skin 
4.10.2). I do not see reports generated in the directory (just the 
templates).
If I select Monthly Reports or Yearly Reports I get:

Loading NOAA/NOAA-2023-11.txt
Loading NOAA/NOAA-2023-.txt 
Respectively, and nothing happens. 

Additionally, the RSS button generates an xml code page (may be normal?).

journalctrl shows no errors with debug=1.

Thank you in advance for any help. 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9be24430-614e-4b51-9ebf-4b636baa046an%40googlegroups.com.


[weewx-user] cheetah with historical data

2023-12-01 Thread jschoonh
 

 a question about the cheetah generator
currently I display historical data per month in a thermometer form.
To get the data i use i line in the the cheetah generator (as an example) 
“$month($months_ago=11).outTemp.max.format(add_label=False,”
but is it possible to give an absolute date for example, the 12th month in 
2022, something like $month(12,2022). I know this is wrong, but is there 
something I can use like this?

Here a example for the current year
https://schooot.nl/php/maande.php
Displayed in the page https://schooot.nl/weereng.php

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/00c6ad98-2a53-4ec6-a06e-85f3e412b2bbn%40googlegroups.com.


[weewx-user] Re: Exporting live data

2023-12-01 Thread michael.k...@gmx.at
There are many way to do this. The best way? Depends on your exact use case 
and equipment.

In general, you have to find a way to transport the desired data from the 
device weewx is running, to the display.
Basically, what you will have to do is to configure a report for the max 
wind speed and the average, output is simple text. On top of that you will, 
you will listen to windSpeed/windGust/windDir in the loop and display these 
values on the display.

Still, there are 1001 way to achieve this.

Oskar Stenberg schrieb am Freitag, 1. Dezember 2023 um 16:46:42 UTC+1:

> Hello,
>
> We have a large diode screen showing live wind data in my boat club, and 
> this equipment is now nearing 30 years of age, and we are looking to 
> replace it.
>
> Therefore, I turn this question to the skilled readers of this user group. 
>
> Is there any way to connect WeeWx to a LED diode screen (or any other 
> screen suitable for outdoors mounting), and on that view the live wind 
> speed average and max? 
>
> Many thanks in advance for your replies! 
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/52a5c974-298f-49c4-b731-c684012f1f4en%40googlegroups.com.


[weewx-user] Exporting live data

2023-12-01 Thread Oskar Stenberg
Hello,

We have a large diode screen showing live wind data in my boat club, and 
this equipment is now nearing 30 years of age, and we are looking to 
replace it.

Therefore, I turn this question to the skilled readers of this user group. 

Is there any way to connect WeeWx to a LED diode screen (or any other 
screen suitable for outdoors mounting), and on that view the live wind 
speed average and max? 

Many thanks in advance for your replies! 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e88d0a34-e8b4-436a-b18f-5af5e200ecefn%40googlegroups.com.


[weewx-user] Re: National Geographic IN122

2023-12-01 Thread Tomás
Thanks! Oh that is a pity.. and do you know the soft advertised in the 
package?

"PC weather analyzer software"

Or where can I find it?

Thanks,

Tomás.-

On Tuesday, 28 November 2023 at 06:55:34 UTC-3 Δημήτρης Βήχος wrote:

> i didnt now this weather station. maybe its older than 265 NE , and hasnt 
> no compability with fine offset driver .
>
> Στις Δευτέρα 27 Νοεμβρίου 2023 στις 2:35:36 μ.μ. UTC+2, ο χρήστης Tomás 
> έγραψε:
>
>> any ideas? should I ask in the development group?
>>
>> thanks,
>>
>> tomás.-
>>
>> On Saturday, 18 November 2023 at 15:03:42 UTC-3 Tomás wrote:
>>
>>> Hello, is this weather station supported? Could not connect to the 
>>> console with any available driver.
>>>
>>> I've searched conversations but only found NGEO 265 station.
>>>
>>> Thanks very much!
>>>
>>> pd I attach the usbview output and a picture
>>>
>>> USB-WEATHER
>>> Manufacturer: ASICTECH
>>> Speed: 12Mb/s (full)
>>> Bus:   1
>>> Address:   8
>>> USB Version:  1.10
>>> Device Class: 00(>ifc )
>>> Device Subclass: 00
>>> Device Protocol: 00
>>> Maximum Default Endpoint Size: 8
>>> Number of Configurations: 1
>>> Vendor Id: 1908
>>> Product Id: 20a0
>>> Revision Number:  1.00
>>>
>>> Config Number: 1
>>> Number of Interfaces: 1
>>> Attributes: a0
>>> MaxPower Needed: 200mA
>>>
>>> Interface Number: 3
>>> Name: usbhid
>>> Alternate Number: 0
>>> Class: 03(HID  ) 
>>> Sub Class: 00
>>> Protocol: 00
>>> Number of Endpoints: 2
>>>
>>> Endpoint Address: 81
>>> Direction: in
>>> Attribute: 3
>>> Type: Int.
>>> Max Packet Size: 8
>>> Interval: 20ms
>>>
>>> Endpoint Address: 01
>>> Direction: out
>>> Attribute: 3
>>> Type: Int.
>>> Max Packet Size: 16
>>> Interval: 2ms[image: in122_ngeo_weather.png]
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d2cf0cff-cbb1-4a04-8b19-5aebbe10bcc6n%40googlegroups.com.


Re: [weewx-user] Unable to Connect to WU

2023-12-01 Thread Nigel Bowen
Thanks Jimi,  That is the solution.  No API and the password is the station 
ID  Who would have thought

Thanks

On Friday, December 1, 2023 at 8:33:42 PM UTC+11 Jimi Lawson wrote:

> I don't use tha API, I just use my WU station ID and key in weewx.conf. 
> Note the password isn't your WU account password its the key next to your 
> station ID on the My Devices page.
> Jimi
>
> On Friday, 1 December 2023 at 08:57:44 UTC Nate Bargmann wrote:
>
>> I don't have any solution except to say the WU has a lot of issues and
>> trying to get help from them almost seems futile.
>>
>> When they changed their systems last summer and required a change of
>> password, I dutifully followed the instructions only to be met with an
>> error message that my request could not be processed due some
>> "temporary" problem on their end. I tried on and off over the next
>> couple of weeks and then forgot about it. I was reminded of that a
>> couple of weeks ago and tried again only to receive the same error
>> message. I sent a support message through their Web site and received a
>> boilerplate email that they'll do this, that, or the other, and since
>> then, nothing.
>>
>> Oddly, my rapid fire uploads have continued to work all along. Even
>> more interesting is that my account apparently never required an API
>> key, just the PWS ID and my password, the same one I cannot change!
>>
>> Sadly, I'm not sure what the purpose of WU is these days. It seems no
>> one is minding the store and as long as things work, it's fine, but when
>> they don't, well, getting help seems to be too high an expectation.
>>
>> - Nate
>>
>> -- 
>> "The optimist proclaims that we live in the best of all
>> possible worlds. The pessimist fears this is true."
>> Web: https://www.n0nb.us
>> Projects: https://github.com/N0NB
>> GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2e330c35-e0ce-4dfe-8f94-a354ef830691n%40googlegroups.com.


Re: [weewx-user] Unable to Connect to WU

2023-12-01 Thread Jimi Lawson
I don't use tha API, I just use my WU station ID and key in weewx.conf. 
Note the password isn't your WU account password its the key next to your 
station ID on the My Devices page.
Jimi

On Friday, 1 December 2023 at 08:57:44 UTC Nate Bargmann wrote:

> I don't have any solution except to say the WU has a lot of issues and
> trying to get help from them almost seems futile.
>
> When they changed their systems last summer and required a change of
> password, I dutifully followed the instructions only to be met with an
> error message that my request could not be processed due some
> "temporary" problem on their end. I tried on and off over the next
> couple of weeks and then forgot about it. I was reminded of that a
> couple of weeks ago and tried again only to receive the same error
> message. I sent a support message through their Web site and received a
> boilerplate email that they'll do this, that, or the other, and since
> then, nothing.
>
> Oddly, my rapid fire uploads have continued to work all along. Even
> more interesting is that my account apparently never required an API
> key, just the PWS ID and my password, the same one I cannot change!
>
> Sadly, I'm not sure what the purpose of WU is these days. It seems no
> one is minding the store and as long as things work, it's fine, but when
> they don't, well, getting help seems to be too high an expectation.
>
> - Nate
>
> -- 
> "The optimist proclaims that we live in the best of all
> possible worlds. The pessimist fears this is true."
> Web: https://www.n0nb.us
> Projects: https://github.com/N0NB
> GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/77bfedcc-db7b-4f8a-b1d8-3591fb0370a7n%40googlegroups.com.


Re: [weewx-user] Unable to Connect to WU

2023-12-01 Thread Nate Bargmann
I don't have any solution except to say the WU has a lot of issues and
trying to get help from them almost seems futile.

When they changed their systems last summer and required a change of
password, I dutifully followed the instructions only to be met with an
error message that my request could not be processed due some
"temporary" problem on their end.  I tried on and off over the next
couple of weeks and then forgot about it.  I was reminded of that a
couple of weeks ago and tried again only to receive the same error
message.  I sent a support message through their Web site and received a
boilerplate email that they'll do this, that, or the other, and since
then, nothing.

Oddly, my rapid fire uploads have continued to work all along.  Even
more interesting is that my account apparently never required an API
key, just the PWS ID and my password, the same one I cannot change!

Sadly, I'm not sure what the purpose of WU is these days.  It seems no
one is minding the store and as long as things work, it's fine, but when
they don't, well, getting help seems to be too high an expectation.

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/20231201085735.deusoxfk7rrwaeb7%40n0nb.us.


signature.asc
Description: PGP signature