I have several Z-Wave switches that record among other things kWh for the attached appliances and I am finding I am getting more and more large spikes of kWh readings in the Energy Dashboard making it useless.
I did have issues with my Aeotec energy meter before, but there were spikes in the sensor data at the time. I now filter that data and have not had a weird spike in 5 months
Moreover solar consumed is more than what is generated and logged in the energy display (and that comes straight from my SMA inverter).
I also don’t know how to fix the energy meter reading, except maybe through some messing with the db. I don’t really care but I am at a loss on how to avoid this repeating in the future.
This is because HA can’t connect to the device and HA records the value at 0. Then when it reconnects, it records the current kWh which is the total since birth which could be a lot. You can search for some code fixes and db fixes but it gets complicated. This needs to be fixed in HA as a bug. Any response HA?
Yep that seems to be it. Got it again today, at the same time for some reason. And now I have exactly what you mention in one of my sensors. The curve goes up nicely, until suddenly it starts at 0 again.
Still going on for me. I removed all individual devices from the dashboard and added them back one by one, was OK for a few weeks but now I have a few devices in there again the issue has re-started.
I am seeing a spike against the individual device now in it’s history, so that explains the energy graph.
I have a lot of the Zooz zen15s that show this. Discussed on Reddit a few months ago and opened a support ticket with Zooz but they didn’t have an answer aside from it being HA a fault.
Changed the filters to be more reasonable based on a 15 amp circuit. Also set a filter on my whole house power. My settings are based on 5 minute report intervals and roughly estimating across 2hours.
I had one device that continues to spike negative and positive. I’m removing the ‘total_increasing’ override to see if that fixes it.
Placing value_template in the customize: section has no effect.
I wasn’t sure so I posted a question here: Discord
I then validated that it does not work by putting a silly value in a value_template in there (i.e. go unavailable unless value is over 1,000,000), and it does not do anything (after validating that the template used does work in Dev Tools).