I’m looking for some statistic values out of pimatics already trended variables.
To switch some settings of my central heating system I would like to get the average of outside temperature from last 5 days for example.
In detail: My heating burner has a switch to change from summer to winter setting. My idea is to give an indicator with message when it becomes could for some days in series. First only manually change the switch, later maybe a direct pimatic connection.
If the average temperature of a day (whole day+night) drops down ~ 10…15°C it’s time to start the heating system in winter setting because the house cools down after 3…5 days.
This is just an example but could imagine a lot of similar rules can help doing some stuff automated.
Therefore not only AVG but maybe also MIN/MAX … stats could do some jobs.
I know this as an regular function for cyclic logged values in different industry automation systems and used them quite a lot there.
Could this be useful for you?