Page 1 of 1

"delta24H" template doesn't work for me. **solved**

Posted: Mon Oct 25, 2021 6:15 pm
by lorenz1982
Hello.
The "delta24H" template doesn't work for me. The reported value is never from the previous 24 hours but from about 17 - 20 hours ago.

How can I solve?

Re: "delta24H" template doesn't work for me

Posted: Thu Oct 28, 2021 11:14 am
by admin
As you have a Meteobridge HW that does not store data persistently, getting delta24H correctly depends on two factors:
1) Meteobridge data logging process needs to be running for 24h hour uninterrupted (no reboots, no changes in settings that result into a logger restart)
2) collected data does not run over the the RAM buffer limits reserved for data logging.

This is why: Meteobridge takes some of the RAM to stored data from sensors in a buffer. When delta24h is requested, meteobridge looks into the buffer to find the piece of data with a time stamp best matching 24h ago and compares that piece of data with the current readings. As this buffer is in RAM within the logger process it is rather limited and does not survive logger restarts. When you need delta information reliably over longer periods you need a platform that can store data sequences in persistent memory, like PRO, NANO SD, RPI.

Min/Max data for defined time slots (hour/day/month/year) is made persistent by using the Meteobridge Server. But this does not cover complete data series as needed for the delta requests. You are at the limits of the Meteobridge capabilities on the router platforms here.

Re: "delta24H" template doesn't work for me. **solved**

Posted: Thu Oct 28, 2021 12:55 pm
by lorenz1982
I get it. Is it possible to use the "delta24h" function for the temperature with "meteoblue cloud graphing"?
Thanks.