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

Consumption of my energy sensors randomly goes to 0 and initiate a new cycle for my energy dashboard by mistake #471

Closed
tcavin opened this issue Apr 26, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@tcavin
Copy link

tcavin commented Apr 26, 2024

Hi @msp1974,

For an easier following, I document here the problem I have with my energy sensors which return to 0 randomly and broke my energy dashboard filtered by device (Cf discussion in the blog here : https://community.home-assistant.io/t/drayton-wiser-home-assistant-integration/80965/3625)

As you can see below, I have the consumption of my wiser heater energy sensors which randomly return to 0. (Here the consumption of my bathroom heater)

image

And the problem is that It detects a new cycle for my energy dashboard :

image

It can be seen below that a behavior has changed (around April. While consumption was continuously increasing before April) :

image

Many Thanks for your help

@msp1974
Copy link
Collaborator

msp1974 commented May 4, 2024

I think this was caused by a change in HA. I am reworking some of the inegration to hopefullyprevent this. I think it happens when the update from the hub fails due to hub dropping off wifi.

There should be an updated version today or tomorrow to see if this resolves.

@msp1974 msp1974 added the bug Something isn't working label May 4, 2024
@msp1974 msp1974 mentioned this issue May 4, 2024
@msp1974
Copy link
Collaborator

msp1974 commented May 4, 2024

Should be resolved in v3.4.7. Energy sensors will show unknown if not provided by hub. Let me know.

@tcavin
Copy link
Author

tcavin commented May 6, 2024

Hi @msp1974
Thanks for your work
It seems to be ok now with the v 3.4.7. Energy sensors are not set to 0 anymore, even if there is an hub unavailability :
Image 06-05-2024 à 09 35
👍

@senna1992
Copy link

tipp for those of you who use nodered:
i fetch the sensor from wiser there and filter it for unknown / 0 etc by using a switch node.
then the value is being sent to HA as a new sensor using a "sensor" node, which can be allocated to a virtual device nodered creates.

Never had issues alike since

@msp1974
Copy link
Collaborator

msp1974 commented May 11, 2024

Closing as resolved.

@msp1974 msp1974 closed this as completed May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants