Incorrect energy consumed
corelema opened this issue · 2 comments
Hello!
I am experiencing incorrect “consumed energy” values and behavior:
-
The “consumed energy” sensors reset in the middle of the day instead of midnight like the Span app. When they reset, they all start at 0, which would be right if it was resetting at midnight, but not if they reset at 9am for example. This image below shows an outlet where I have a device that constantly consumes 20W, so every day should indicate about 480W:
-
Also it seems that those sensors don't reset every day, for example between January 21. and 26, they kept increasing:
Here is the same circuit in the span app for the same period:
Note that the week of the screenshot above isn't over yet, but every completed week look like this:
Thank you!
Are you comfortable/able to pull up the Web API interface of your SPAN panel directly and see what these values are?
I'm away from my computer right now but off the top of my head if memory serves, these value should be ever increasing and never go to zero. The panel should be continuously increasing these values 24/7 indefinitely, so the fact yours are going to zero means either there something is wrong with your panel, or there is something wrong with the Database value logging in your HA system setting the values back to zero periodically.
Being able to narrow down if the panel is resetting the values, the integration is resetting the values, or something else within HA is resetting the values would be super helpful… But I don't want to make assumptions about how technically savvy you are in triaging that upfront.
I'm tagging this with 0.0.10 for now. Not because I don't care, but because I want to focus on hard errors, and connection problems in 0.0.9, and leave measurement issues until after those are fixed.