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

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
lorenz1982
Expert Boarder
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**

Post 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?
Attachments
Immagine.png
Immagine.png (90.42 KiB) Viewed 1155 times
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

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

Post 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.
lorenz1982
Expert Boarder
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**

Post by lorenz1982 »

I get it. Is it possible to use the "delta24h" function for the temperature with "meteoblue cloud graphing"?
Thanks.
Post Reply