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 little services around there to provide an example, how to do so.
James Pattinson schrieb am Sonntag, 29. September 2024 um 20:53:54 UTC+2: > Bit of background, I have been asked to set up a simple weather screen for > an airfield manned by hobbyists. They bought a Davis ISS and 6313 console > combo, and I found that the console is essentially a closed/cloud system > and not good for real time data. > > So, I've since installed a Pi with an RTLSDR dongle and WeeWx. It's > receiving data from the iSS and populating reports every 5 minutes. > > At the airfield we generally need a pretty up to date wind direction and > speed, averaged over the last 1 or 2 minutes, and a real time 'instant' > wind display. > > The instant wind I am OK with. I've installed the MQTT extension to WeeWx > so I get the LOOP data every few seconds with the wind info. > > Now, I'm not sure how to go about getting the average wind. Ideally, what > I want is that at every update of the raw wind value (ie at the LOOP time) > it also computes the average wind speed / vector over the last 1,2 and 10 > minutes, so basically three moving averages all updated every few seconds, > so I think these updates will be quite 'smooth' and not jumping all over > the place like the instant wind reading. > > Problem is I've no idea where to start with this, or even if it's > possible. I would appreciate any ideas anyone may have. > > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/9dea5a0f-ca5e-4126-b0eb-8336037c6002n%40googlegroups.com.
