can someone please point me in the right direction. I am trying to create a “Mean Sensor” which gives me the mean of the Last value of (multiple) days.
I have a water meter installed which counts the water use and a utility meter to cut this into daily chunks. So far so good.
What i want is the mean of the last values.
So if on day 1 the last reading was 200 Liters and
on day 2 it was 100 Liters i want it to say 150 Liters. (ignoring all the values throughout the day)
The “normal” mean changes with every reading etc. . I looked into “statistics” and think there might be something there, but can’t seem to find out.
Any help is appreciated. Thanks!