#Post reported device consumption in Energy dashboard

1 messages · Page 1 of 1 (latest)

shell path
#

Hi y’all!

My next tricky question is about visualizing consumption of a device, that reports it’s consumption as cumulative values in irregular intervals.

I have a Daikin air-water heat pump, that for example reports its cumulated consumption at 18:39:14 yesterday and next time today 5:14:39. The problem is, that in energy dashboard, the whole consumption is attributed to 5:00-6:00 time window, although the actual consumption has occurred at the prementioned interval of almost 12 hours.

Is there any way to spread the consumption readings across the past interval? It would be much more representative in my opinion.

unborn rune
#

Over the past interval? No - "back inserting" data doesn't really work in HA
If you're happy with the data being out of phase (e.g. 1 day off) you can do it.
Have a template sensor that updates at midnight with the latest reported value and calculate the kWh/24hr average power and then use an integral helper to "spread" that back into a continuously increasing number over the next day and use that in the energy dashboard.
If you want something more real time it's complicated - you could track the amount of time it spends "on" and calculate the average "on power" between updates and use that as an estimate for the next update period, and correct your total as appropriate when an update gets pushed