Re: [weewx-user] Re: Calculating a moving average for wind dir / speed

2024-09-30 Thread James Pattinson
> its not a moving average, but if you have an archive interval of 5 minutes and you post both loop and archive to MQTT then you'll get 5 minute averages as well as near-real-time values. That is what I was thinking as a way to get something going while I tweak, but I saw that the MQTT extensi

Re: [weewx-user] Re: Calculating a moving average for wind dir / speed

2024-09-30 Thread James Pattinson
> I have a plug-in that will generate a json file on every loop packet. Furthermore, it supports rsyncing that file (on every loop packet). That's pretty interesting. Are you saying it can do averaging for periods shorter than the archive interval? It sounds like it would be possible to modif

[weewx-user] Re: Calculating a moving average for wind dir / speed

2024-09-30 Thread James Pattinson
> If you have some experience in Python, you could write a little WeeWX service, which registers with the LOOP packet loop. So, every time a new wind value is received you could store it in a variable, then calculate the moving average and then add it to the LOOP packet. There are a lot of lit

[weewx-user] Re: NOAA Reports - Heating Degree Days

2024-09-30 Thread gjr80
The simple part of the answer - you want a [Units] [[DegreeDays]] stanza in your skin config file. It's covered in the v5.1 documentation here . The challenge you will now face is where to put your setting(s). The answer is it

[weewx-user] NOAA Reports - Heating Degree Days

2024-09-30 Thread 'Rory Gillies' via weewx-user
Hi, quick question about the heating degree days algorithm used in the NOAA text reports. I assume this uses the US base temperature of 18.3°C (65°F)? In the UK we use 15.5°C (59.9°F), is there any way of changing it to this? Thanks, Rory -- You received this message because you are subscribe

Re: [weewx-user] Calculating a moving average for wind dir / speed

2024-09-30 Thread Graham Eddy
vp2 emits packets (i think including wind readings) about every 2.7 secs; weewx accumulates these and saves/reports aggregated values each interval (default 5 mins). you could use the mqtt service/driver to publish selected packet values every 2.7 secs, and handle these youself for more realtime

[weewx-user] Re: Calculating a moving average for wind dir / speed

2024-09-30 Thread Karen K
James Pattinson schrieb am Montag, 30. September 2024 um 09:08:00 UTC+2: That's a good idea. My Python skills aren't brilliant (I still write scripts like I'm in the 1990s) but I had considered writing a script totally outside of WeeWX to subscribe to the MQTT topics, perform this calculation,

Re: [weewx-user] Re: Calculating a moving average for wind dir / speed

2024-09-30 Thread James Pattinson
On Mon, 30 Sept 2024 at 09:36, Karen K wrote: > > Such a service would look like this: > > *class *YourService(StdService): > > > *def *__init__(self, engine, conf_dict): > > super(YourService,self).__init__(engine, conf_dict) > > self.wind_readings_cache = [] > > self

Re: [weewx-user] Re: Calculating a moving average for wind dir / speed

2024-09-30 Thread Karen K
James Pattinson schrieb am Montag, 30. September 2024 um 14:36:29 UTC+2: I've tested this out. I am not exactly sure if I understand this correctly, but it looks like that the loop and archive data is getting intermingled somehow. Yes, they do. You can distinguish LOOP packets and ARCHIVE re

Re: [weewx-user] Re: Calculating a moving average for wind dir / speed

2024-09-30 Thread James Pattinson
Amazing, thank you! On Mon, 30 Sept 2024 at 13:45, Karen K wrote: > > You can distinguish LOOP packets and ARCHIVE records within the MQTT data > by looking at interval_minute. If this observation type is included, it > is an ARCHIVE record, if not, a LOOP packet. > -- You received this messag

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-30 Thread Karen K
You could enter sudo journalctl -u weewx >weewxlog.txt and post the resulting file weewxlog.txt here. What you posted is not complete. ANDREI ROZWADOWSKI schrieb am Montag, 30. September 2024 um 13:09:52 UTC+2: > I reinstalled RaspOS. Now it's Bookworm ( 32-bit ) . > After that I've installe

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-30 Thread vince
Andrei - the other way to get logging is to install and configure the old-style rsyslog daemon. sudo apt-get install -y rsyslog sudo cp /etc/weewx/rsyslog.d/weewx.conf /etc/rsyslog.d/weewx.conf sudo systemctl restart rsyslog sudo cp /etc/weewx/logrotate.d/weewx /etc/logrotate.d/weewx Then your l

[weewx-user] Re: Will the ECOWITT WS2910 work within WEEWX?

2024-09-30 Thread vince
Colin try the gw1000 (aka ecowitt) driver and see if your console/gateway is detected. Just follow the instructions on the driver's page. https://github.com/gjr80/weewx-gw1000 [GW1000] # This section is for the Ecowitt Gateway driver. # How often to poll the API, default is every 20 sec

Re: [weewx-user] Will the ECOWITT WS2910 work within WEEWX?

2024-09-30 Thread Dominic Reich
Colin Lloyd wrote: I've installed WEEWX successfully on my Linux Mint 21 PC. And the web page at file:///var/www/html/weewx/index.html works OK. reply from sudo systemctl status weewx gives: weewx.service - WeeWX      Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor preset:

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-30 Thread ANDREI ROZWADOWSKI
I reinstalled RaspOS. Now it's Bookworm ( 32-bit ) . After that I've installed Weewx. I use Davis Vantage Pro2 with data-logger This station is connected to RaspPi via usb cable (direct connection). I checked folder /var/www/html/weewx/. It's empty. There isn't the file "index.html". And I didn't f

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-30 Thread ANDREI ROZWADOWSKI
The contents of the weewx.log file are listed below: 2024-09-30T20:25:12.163996+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #1; error: Expected to read 99 chars; got 0 instead 2024-09-30T20:25:16.767575+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: L

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-30 Thread ANDREI ROZWADOWSKI
Also I checked USB0ports: pi@raspberrypi:~ $ sudo lsusb Bus 001 Device 008: ID 10c4:ea61 Silicon Labs CP210x UART Bridge Bus 001 Device 006: ID 03f0:304a HP, Inc Slim Keyboard Bus 001 Device 005: ID 03f0:134a HP, Inc Optical Mouse Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL818

Re: [weewx-user] NOAA Reports - Heating Degree Days

2024-09-30 Thread Karen K
Rory Gillies schrieb am Montag, 30. September 2024 um 15:11:04 UTC+2: Thanks for the detailed response Gary, I should have said I am still on 4.10.2, are the base temperature stanzas available in this version? I like the idea of putting it in the Weewx config rather than the skin. Not changed

[weewx-user] Will the ECOWITT WS2910 work within WEEWX?

2024-09-30 Thread Colin Lloyd
I've installed WEEWX successfully on my Linux Mint 21 PC. And the web page at file:///var/www/html/weewx/index.html works OK. reply from sudo systemctl status weewx gives: weewx.service - WeeWX Loaded: loaded (/lib/systemd/system/weewx.service; enabled; vendor preset: enabled) Active

Re: [weewx-user] NOAA Reports - Heating Degree Days

2024-09-30 Thread 'Rory Gillies' via weewx-user
Thanks for the detailed response Gary, I should have said I am still on 4.10.2, are the base temperature stanzas available in this version? I like the idea of putting it in the Weewx config rather than the skin. Rory > On 30 Sep 2024, at 10:02, gjr80 wrote: > > The simple part of the answer -

[weewx-user] Re: WDC Skin browser error

2024-09-30 Thread Claudio
Don't ask me why but Safari now works like Firefox. Il giorno martedì 1 ottobre 2024 alle 05:31:49 UTC+2 Claudio ha scritto: > Hi David, I just installed your skin locally on a test raspberry, this is > what I see if I open the page with Safari (Versione 18.0 (20619.1.26.31.6)) > and Firefox, a

Re: [weewx-user] Re: Will the ECOWITT WS2910 work within WEEWX?

2024-09-30 Thread 'Ian Millard' via weewx-user
The console may not but the actual sensor array will work with the GW1000 gateway device which in turn works with the weewx-GW1000 driver. On 30 Sep 2024, at 23:45, J.A. Garcia-Tenorio wrote:The GW1000 driver will not  work with the WS2910 consoleThis console works perfectly with the interceptor

Re: [weewx-user] Will the ECOWITT WS2910 work within WEEWX?

2024-09-30 Thread Jimi Lawson
My station runs on a RPi 3B using a SDR stick to pick up the signals from my old Maplin (F.O. WH1081 clone) outdoor sensors, it uses rtl_433, also incorporates indoor pressure/humidty/temperature data from a BME280. It's been running now for 18 months pretty much trouble free, I've never had any ex

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-30 Thread Tom Keffer
Please follow the directions on how to get a proper log. We need to see the *startup* sequence. That means *restarting* weewx. In one terminal: *sudo journalctl -u weewx -f | tee /var/tmp/mylog* In another terminal: *sudo systemctl restart weewx* Post /var/tmp/mylog -tk On Mon, Sep 30, 2024 a

[weewx-user] Re: Will the ECOWITT WS2910 work within WEEWX?

2024-09-30 Thread J.A. Garcia-Tenorio
The GW1000 driver will not work with the WS2910 console This console works perfectly with the interceptor driver https://github.com/matthewwall/weewx-interceptor Regards El lunes, 30 de septiembre de 2024 a las 18:49:51 UTC+2, vince escribió: > Colin try the gw1000 (aka ecowitt) driver and se

Re: [weewx-user] Re: V5.0.0 available

2024-09-30 Thread Ξ
Hello Tom, The detailed explanation is much appreciated and as always all the work you guys do! Thanks! I've attempted the venv method just recently on a Linux Mint laptop because it looked like a cool new feature and I wanted to try it but something work so instead I did it with apt. Sorry,