Energy Log, calculation of hourly and daily values
Posted: Thursday 01 December 2016 9:25
I have started to measure my energy consumption using MySensors and pulse-counters.
In Domoticz the counter values are handled as an Energy meter utility, Type: General KWh.
I can in the log for the energy meter see hourly and daily consumption, based on the counter values, as bars in the diagram.
I have also checked the values in the database where the values for the counter are stored with a value for each 5 minute in one table and a value for each 24hour, daily values, in a calender table.
However when I calculate the sum of the hourly values in the bar diagram for a day (24hour) it is less than the daily value. It seems that the counter values for the last 5-min in the hour is not included in the hourly values. I also believe that the counter values for the last 5 min of the day, is not included in the daily value.
In Domoticz the counter values are handled as an Energy meter utility, Type: General KWh.
I can in the log for the energy meter see hourly and daily consumption, based on the counter values, as bars in the diagram.
I have also checked the values in the database where the values for the counter are stored with a value for each 5 minute in one table and a value for each 24hour, daily values, in a calender table.
However when I calculate the sum of the hourly values in the bar diagram for a day (24hour) it is less than the daily value. It seems that the counter values for the last 5-min in the hour is not included in the hourly values. I also believe that the counter values for the last 5 min of the day, is not included in the daily value.