Use cached data?

47 views
Skip to first unread message

chiel.bo...@gmail.com

unread,
Feb 6, 2022, 2:22:12 AM2/6/22
to weewx-user
I am using weewx for a time now and have a issue with some times missing data. I am using Oregon and TFA sensors with RTL_433. I run meteotemplate and also use the data send to CWOP to be broadcast-ed through the APRS network. (HAM operator)

When I set my archive interval to 300 sec all works ok and only very rarely I miss data. 
But when I set my archive_interval to 60 sec I often have a empty field. This shows on the APRS network because the transmitted data shows -.- Even if I set my CWOP post_interval too 300 in still does this when the archive_interval is set to 60.

Is there a option to tell weewx to use the previous recorded value if no new value is available? (May be only to the data set send to CWOP in my case)
Ideally this would be limited to a maximum to prevent sending data when sensors fail. (something like use previous n times and then send N/A)

Grtx Michiel

Tom Keffer

unread,
Feb 6, 2022, 8:27:51 AM2/6/22
to weewx-user
This comes up from time to time.

The general philosophy in WeeWX is to "not make things up." If your sensors only update every few minutes, WeeWX should not be pretending they report more often.

There are also technical reasons not to cache: keeping cache coherency can be a challenge. For example, judging when values become "stale".

If you want to continue anyway, a service could be written that implements a cache. I think users have done this in the past --- you'd have to check the archives.

-tk


--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c4da71f2-dea4-4205-9483-246148ad807bn%40googlegroups.com.

chiel.bo...@gmail.com

unread,
Feb 6, 2022, 8:44:24 AM2/6/22
to weewx...@googlegroups.com

Hi Tom,

 

I agree on the point… it has rather to do with stuff running out of sync and there for sometimes missing things. I’d rather see it as not being updated then making things up, the value was there a short time before. I’ll search the archives again to see if there is a option that could work for me.

 

Grtx MB

Reply all
Reply to author
Forward
0 new messages