claudegel / sinope-130

Neviweb130 custom component for Home Assistant to manage devices connected via a GT130 and wifi devices from Sinopé
GNU General Public License v3.0
73 stars 15 forks source link

Heating history neviweb portal always on #76

Closed fpitre75 closed 2 years ago

fpitre75 commented 2 years ago

Hi Claude, since Neviweb130 V1.20 , with Neviweb portal all zigbee sinope thermostat show heating history ON all the time also if current temperature is far over set point.

Screenshot_20220301-083547_kindlephoto-2843837

claudegel commented 2 years ago

I have the same problem with the history graph but I need to find out where the heating data is coming from or how it is calculated. It look like heating demand is at 100% all the time. If it is calculated from heat_level attribute it should be correctly reported on the graph. I'm using heat_level to update icons of my thermostats and they are showing correct status heating_demand

claudegel commented 2 years ago

Look like it should be based on hvac_action that can be off, idle or heat. The graph should show shaded area only if hvac_action is heating. In neviweb130 hvac_action is defined so I need to find out why it is not present in dev-tool attributes for neviweb130 thermostats.

claudegel commented 2 years ago

Ok found the bug. hvac_action was not set so history graph was using hvac_mode instead. But hvac_mode is alway set to heat. Now hvac_action is properly set and the graph should be ok. Note that before you install this patch and restart HA there is no data for hvac_action so it won't fix the hold data in the graph. Please test branch history-bug. It is just climate.py that need to be changed. Let me know so I can push new release for others

claudegel commented 2 years ago

It work on my side so I've pushed a new release 1.2.2 Thank you for reporting this issue