I don't know if this will help any given you want to get averages within the 5-minute archive period but does https://www.weewx.com/docs/5.0/custom/cheetah-generator/#tag-span help any ?
$span(time_delta=60).windGust.avg $span(time_delta=120).windGust.avg $span(time_delta=600).windGust.avg (untested) On Sunday, September 29, 2024 at 11:53:54 AM UTC-7 James Pattinson wrote: > 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/a5e42588-096d-43ef-be62-d601058fe2c2n%40googlegroups.com.
