OpenEnergyMonitor Community

Battery Storage value carry over to following day?

Hi all,

So I have set my Battery storage to the app and it works great for updating for the graph. But the problem is when I’m trying to monitor the daily battery level as it reset to zero every day on the Bar Graph Feed(kWh). This is fine when I use up all power before the end of the day. But when I have 4 kWh left the daily reading starts showing up negative kWh as it consumes what is left in the battery overnight, this kind of messes with the kWh store for the current day.

I have the Battery set in “Input” to log whacc kwh I was hoping to have an if statement so if kwh is below 1kWh reset else carry over kWh to next day?

Is this possible?