[weewx-user] MQTT sampling frequency

2022-11-23 Thread PC
Hello MQTT (with Vantage Pro), can we sample every x seconds rather than the 5 traditional minutes? Thanks -- 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 weew

[weewx-user] windGust no longer recorded (but appears in LOOP) - GW2000 station

2022-11-23 Thread Pascal Hingamp
Hi, I'm running weewx 4.9.1 with a dual station setup : a WMR88 station via the USB weewx.drivers.wmr100 (logging for many years) together with a GW2000 ecoWitt station running as a service (logging for a week). I remapped the old Oregon station wind related variables by adding a '2' suffix in

Re: [weewx-user] Is there a way to suppress LOOP entries in the stdout from WeeWX?

2022-11-23 Thread t...@tom.org
Re the Docker image, Vince is right that it did not support anything but what I was using, which is x86-64 (I run my instances as Kubetnetes pods). Now it supports arm, arm64, and x86-64. Phusion is a weird base image, but it did a nice job of supporting the logging requirements of weewx. I wou

Re: [weewx-user] MQTT sampling frequency

2022-11-23 Thread Tom Keffer
With the Vantage series, LOOP packets are emitted every 2 seconds. This cannot be changed. Archive records can be emitted every 1, 5, 10, 15, 30, 60, or 120 minutes. See the section *LOOP packets vs archive records * in th

[weewx-user] Re: windGust no longer recorded (but appears in LOOP) - GW2000 station

2022-11-23 Thread Pascal Hingamp
Update: I applied the wxxtypes.py patch described here : https://github.com/weewx/weewx/commit/9dc4da86a260f01d8792ac93d12871a05bff572d?diff=unified This should replace any missing LOOP windGustDir by windDir values. Still no Gust speed/dir recorded in DB after applying this patch. I also tried p

Re: [weewx-user] Is there a way to suppress LOOP entries in the stdout from WeeWX?

2022-11-23 Thread vince
On Wednesday, November 23, 2022 at 4:21:07 AM UTC-8 t...@tom.org wrote: > Phusion is a weird base image, but it did a nice job of supporting the > logging requirements of weewx. I would love a collaborator to either > optimize this one or base it on another base altogether. I think Doug is > wo

[weewx-user] Re: windGust no longer recorded (but appears in LOOP) - GW2000 station

2022-11-23 Thread Pascal Hingamp
In order to test if the issue is with the GW1000 driver or the weewx configuration, I modified the gw1000.py driver to internally create a windGustDir key/value pair each time a windDir key/value appears in a loop (copying the windDir value). >From the log below, this moded driver results in th

[weewx-user] How to specify a binding in $getVar()?

2022-11-23 Thread Karen K
I tried $getVar('day(data_binding="my_binding").myobs).max. This results in the error message ERROR weewx.cheetahgenerator: Reason: cannot find 'day(data_binding="my_binding")'. I guess that is not the right way to do it. So how do I specify a binding if using $getVar()? -- You received t

Re: [weewx-user] Is there a way to suppress LOOP entries in the stdout from WeeWX?

2022-11-23 Thread Doug Jenkins
Vince/Tom: Actually I built my own image. It essentially builds weewx via python setup.py and I add a few popular extensions (mqtt, forecast, belchertown) as a "batteries include" release. My docker image performs all of it's logging to stdout, so you can review the logs in your favorite orchestr

Re: [weewx-user] Re: windGust no longer recorded (but appears in LOOP) - GW2000 station

2022-11-23 Thread Rainer Lang
I suggest a systematic step-by-step error detecting approach here including a few question beforehand: - what do the GW2000 WebUI/WS View Plus app and ecowitt.net show for wind observations ? - what do you see if you run the Ecowitt Gateway driver (GW1000 API) alone without the USB weewx.driver

Re: [weewx-user] Is there a way to suppress LOOP entries in the stdout from WeeWX?

2022-11-23 Thread vince
Mine is https://github.com/vinceskahan/weewx-docker if anybody has interest. Not too bad at 205MB with Belchertown installed and enabled :-) Hardest thing is lots of extensions/skins are either mis(un)configured out of the box or disabled. The configobj format of weewx.conf makes it particula

Re: [weewx-user] How to specify a binding in $getVar()?

2022-11-23 Thread Tom Keffer
$getVar is pretty dumb. It takes whatever expression you give it, picks out the part before the first period, then searches for that in the search list. So, if you give it 'day.myobs' it searches for 'day' and finds it in the search list. The engine then goes on to evaluate the results for an attri

Re: [weewx-user] How to specify a binding in $getVar()?

2022-11-23 Thread Karen K
Yes, of course, your assumption is right. I looked into hilo.inc of the Seasons skin and tried to do the same for "my_binding". tke...@gmail.com schrieb am Mittwoch, 23. November 2022 um 22:40:39 UTC+1: > Instead, you'll have to break it apart and use getattr() (NOT TESTED): > > getattr("day(dat