your Acurite driver creates a ‘loop packet’ each time it receives a reading from the station. you can have a ’service’ immediately export selected data from each loop packet, not wait until the end of the archive interval (which is when database is updated). depending how you want the data exported, there could be an existing service extension available off-the-shelf
> On 9 Apr 2022, at 3:23 pm, Sylvain Gagnon <[email protected]> wrote: > > Hi, I've been using WeeWx for many years now but first time posting here. > > I'm writing a program in Python that queries my Acurite 5 in 1 probe through > WeeWX for the rain rate and if it's above 0mm, then it will close the car > windows if they are opened and the car is parked. It works well but relies on > daily.json to fetch the rain rate and that value I believe updates at the > archive frequency (ie, 5 minutes) but the stations sends that data every 36 > seconds. Is there a way to fetch this value? The only other option that I can > think of is to set the "archive_interval" to 60 instead of 300 in > [StdArchive]. If I do that, will that mess up all the historical data already > in the database? Any other side effects? > > Thanks for your help at keeping the inside of my car dry :-) > > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/c90fb5b9-f691-4024-a00f-ab55a340fb04n%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/c90fb5b9-f691-4024-a00f-ab55a340fb04n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/995E546E-FD9F-4350-909B-FB261E769739%40geddy.au.
