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

House Total Energy get reset #319

Closed
peros550 opened this issue Jan 1, 2024 · 6 comments
Closed

House Total Energy get reset #319

peros550 opened this issue Jan 1, 2024 · 6 comments
Labels
stale There has not been activity on this issue or PR for quite some time.

Comments

@peros550
Copy link

peros550 commented Jan 1, 2024

Many thanks for your work.
I have a small issue and thought I should report it. The House Total Energy sensor gets back to zero every few minutes.

I can set it again to sync it with my home's meter but it resets by itself every few minutes. I am using an esp32 (nodemcu 30 pin) board with the following specification

Define the GPIO pins

pulse_pin: GPIO23
status_led: GPIO18
led_pin_red: GPIO02
led_pin_green: GPIO19

@klaasnicolaas
Copy link
Owner

Could it be that your ESP is constantly restarting or that it often loses the connection?

@peros550
Copy link
Author

peros550 commented Jan 2, 2024

Thanks for the quick feedback. ESP's wifi signal seems strong, just a few meters from the AP and no walls but I don't know if it reboots itself once in a while. I don't think it constantly reboots though.

So if this to be expected when the connection to the HA is not rock solid or the esp looses power, that's ok. On the other hand, the house daily energy seems to work nicely and does not get reset. Only the house total power gets reset.

Copy link

github-actions bot commented Feb 2, 2024

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Feb 2, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 10, 2024
@tomaszrondio
Copy link

have you found a solution? I get total energy reset every home assistant reboot. Turbo annoying

@klaasnicolaas
Copy link
Owner

It is a default behavior that the total entity always resets after reboot, there is a PR open to make it a persistent value. Just haven't had the time to test it myself yet.

./Klaas

@tomaszrondio
Copy link

I think I solved it by using HA utility meter. Will see how convenient is that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale There has not been activity on this issue or PR for quite some time.
Projects
None yet
Development

No branches or pull requests

3 participants