OpenEnergyMonitor Community

Create Total kWh feed from MQTT feed which resets daily

hi ,
I have a feed (from ebus via MQTT) which gives the kWh yield from an ASHP. At the end of each day this is reset to zero.
I’d like to create a total kWh feed , to get weekly, monthly, yearly figures.

I’ve tried the kWh Accumulator and post processing … but no success. I need something like:

for each day:
total_kwh += max(day)

Any ideas how I can do this? Thx :wink:

Hello @modeller Im not sure what the best way of doing this would be, Interestingly @christian has a solution that works the other way around here kWh/hour feed I wonder if schedules could be used to achieve the reverse?