SonoffLAN icon indicating copy to clipboard operation
SonoffLAN copied to clipboard

"Energy Day" kWh meter reading not resetting at 12:00:00. Causing negative meter readings in Energy dashboard

Open southwalesboy opened this issue 7 months ago • 4 comments

It appears that the Sonoff Energy Day meter is resetting/reporting 0 kWh for the day just after midnight, and this is causing a negative reading at the start of the day on the Energy Dashboard.

The effect of this is that everydays final reading is 'todays' consumption minus yesterdays final consumption (The starting point for the days meter reading is the negative of the previous days consumption)

Is there a way to block negative readings on these devices to mitigate this effect? (i.e. when it tries to drop below 0 just after midnight, the meter reading will remain at 0 where it should be).

Since these are outlet devices there would never be reason to record a negative/return to grid export readings.

Example in Energy Dashboard: Image

History graph of Entity: Image

southwalesboy avatar May 20 '25 09:05 southwalesboy

I am on the same situation

ediazrod avatar May 30 '25 07:05 ediazrod

Indeed, something similar here (it's been like this since I installed the add-on). At 12 it outputs the total of the previous day as the first entry in the hourly outputs:

Image

IngmarG avatar Jun 08 '25 19:06 IngmarG

Same problem here

smarthomefamilyverrips avatar Jun 16 '25 19:06 smarthomefamilyverrips

Same here

Image

ndx1905-github avatar Jun 17 '25 17:06 ndx1905-github

https://github.com/AlexxIT/SonoffLAN/releases/tag/v3.9.0

AlexxIT avatar Aug 14 '25 15:08 AlexxIT