#Energy dashboard shows too high consumption on a single device

1 messages · Page 1 of 1 (latest)

frigid latch
#

Please help me to understand the dashboard or maybe find this bug. I have multiple "Individual devices" setup in the energy dashboard. Those are all smart outlets that expose a "total kWh" sensor.

Two of them don't have a "total kWh" sensor, only a "current consumption in W", "todays consumption" and "this months consumption".
To properly integrate them into the energy dashboard I created an "integral sensor" counting the "current consumption" with "left riemann sum". Then I have a template sensor helper {{ states('sensor.pc_kwh_total') | float(0) }} set to "total increasing" to have a sensor I can add to the energy dashboard. That's the setup, and it's working correctly for the last weeks.

The problem is the following:
For today (here it's 10:00, I just woke up, so nothing happened today), one of the two outlets shows 15kWh energy usage over night in the energy dashboard (see the energy dashboard image). This is very strange, as the PC is and was off.

When I check the consumption sensor of the device it doesn't show any meaningful consumption for the day. The only consumption in that image is from yesterday, and it wasn't 15kWh.
The integral helper also doesn't show that spike. It went from 14,9kWh yesterday 17:20 to 15,5kWh yesterday 22:45. Then just very low "standby power".
The template sensor also shows the same as the integral sensor, no meaningful jump today that would cause the wrong stats in the energy dashboard.

So do you have any idea what caused this jump in the dashboard? This is very extreme, so I noticed it. But how can I be sure that any of this data presented there is correct?

What makes this weird to me: I have two identical outlets, both have a pc hooked up to it. I set them up both the same way with helpers and only one of them has this messed up dashboard

#

Energy dashboard (set to today and only one day range)

#

Current consumption in W of the outlet in question

#

integral helper (template sensor helper looks the same)

sacred skiff
#

Switch from trapezoidal integration method to left integration method. Just a button in the helper

wooden fossil
#

Doesn't seem wrong in the sensor

#

Does the spike be obvious within the hourly graph of that sensor on the energy dashboard?

#

You could try navigating dev tools > statistics to around that time and set the change to something reasonable by hand to fix it for now

frigid latch
frigid latch
#

Actually yes, there was a drop to 0 for some reason. But why did it drop to 0?

wooden fossil
#

There is an individual devices detail view right above the daily total individual devices you posted

wooden fossil
#

It's generally advisable to add a utility meter helper to the riemann with handles those gracefully

frigid latch
frigid latch
wooden fossil
#

Yes so if you look around 7oc in the dev tools > statistics you can remove this jump

frigid latch
#

yes, thanks!