This is an automated archive made by the Lemmit Bot.
The original was posted on /r/homeassistant by /u/fennecxx on 2025-04-04 15:36:37+00:00.
Hi, I’ve got a Shelly 3EM set up in Home Assistant. I created a Total Energy template sensor combining all three phases, and I’m using utility meter helpers for daily and monthly tracking.
Sometimes (like once a week, at night), HA record a huge spike (like 40-60 kWh/hour when my normal consumption is 10/day), even though:
-
The Shelly app and my energy provider app show normal usage, no spikes.
-
The Total Energy and Total Power sensors were totally normal in HA
-
The spike only appeared in the utility meter
I have no solar pannels, I only get electricity from the grid.
Seems like it miscalculated the delta during a restart or sensor glitch.
Any ideas what causes this issue and how to fix it to have accurate data from the utility meter sensors?
Thank you in advance. Let me know if I missed providing any important details.
UPD: I found that the issue occurs when, for some reason, the Total Energy value briefly drops to 0 (see example below). The Utility Meter helper then adds the last known value to the total. I hope I explained it clearly and that it makes sense.