asantaga / wiserHomeAssistantPlatform

Platform and related climate/sensors to support the Drayton Wiser Home Heating System
MIT License
219 stars 43 forks source link

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

Closed tcavin closed 2 months ago

tcavin commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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

tcavin commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

Closing as resolved.