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?
"delta24H" template doesn't work for me. **solved**
Moderator: Mattk
-
- Expert Boarder
- Posts: 136
- Joined: Thu Apr 24, 2014 2:34 pm
- Location: Trento / Trient - Northern Italy
- Contact:
"delta24H" template doesn't work for me. **solved**
- Attachments
-
- Immagine.png (90.42 KiB) Viewed 1155 times
Re: "delta24H" template doesn't work for me
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.
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.
-
- Expert Boarder
- Posts: 136
- Joined: Thu Apr 24, 2014 2:34 pm
- Location: Trento / Trient - Northern Italy
- Contact:
Re: "delta24H" template doesn't work for me. **solved**
I get it. Is it possible to use the "delta24h" function for the temperature with "meteoblue cloud graphing"?
Thanks.
Thanks.