Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect energy consumed #37

Open
corelema opened this issue Jan 27, 2024 · 4 comments
Open

Incorrect energy consumed #37

corelema opened this issue Jan 27, 2024 · 4 comments
Milestone

Comments

@corelema
Copy link

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:
    image

  • Also it seems that those sensors don't reset every day, for example between January 21. and 26, they kept increasing:

image

Here is the same circuit in the span app for the same period:
image

Note that the week of the screenshot above isn't over yet, but every completed week look like this:
image

Thank you!

@sargonas
Copy link
Member

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.

@gdgib gdgib added this to the 0.0.10 milestone Feb 9, 2024
@gdgib
Copy link
Collaborator

gdgib commented Feb 9, 2024

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.

@corelema
Copy link
Author

corelema commented Jan 5, 2025

@sargonas so sorry for the super late reply, I'll make sure to monitor this ticket and fix my notifications. I'll have a look at the API and see what I can find. Yes I'm tech savvy, just haven't played at all with that API (or with HA other than consuming), so I'll give it a look.
Thanks!

@gdgib
Copy link
Collaborator

gdgib commented Jan 14, 2025

@corelema may I assume from the recent comment that this was still an issue last week?

If so, can you install the latest update and test? There's been a pretty well maintained fork of this repo, that I just merged a bunch of great changes from (no notifications made it look like I had abandoned this for a while), so this may be fixed already.

@gdgib gdgib modified the milestones: 0.0.10, 1.0.6 Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants