I would like to calculate (and show) the daily amount of water being used in our household. What’s the best way to tackle this? The water meter counts the total m3 water. Should I create a new variable that counts and resets this value ever 24 hours?
That looks like it should do what I want, but the only compaction values I can choose are minute, 5 minutes and hour. That doesn’t provide a „daily“ counter, or am I missing something?
Comapact or shrink the data is to decrease the amount of data. For example, you get every seconds new data, you can shrink them to one value every minute or one value every 5min.
Hi,
you do not see the effect in the logged values you must look at aggregated values or even better the graphics in the web front after a few days. It starts every night with 0 and then it increases the counter until next night. After a few days you will have for instance:
24, 23, 26, 20 as a result. The logged values will stay original.
@bgersmann
Which variables should I use for the following:
SetValueFloat(43631,$tmp);
$archiveID=15374;//ID Archive
$consumptionVariableID=24612; //ID basis var
Thanks!
43631 is a new float for the daily value.
15374 is the one of the archive module.
24612 is the original variable you get your values from (total m3 water).