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
78 stars 15 forks source link

Flextherm FLP55 Unavailable since 1.1.1 update #64

Closed bergy218 closed 2 years ago

bergy218 commented 2 years ago

Hi! I updated to 1.1.1 this morning and my Flextherm FLP55 floor thermostat is unavailable. I restarted home assistant 2 times and it is still unavailable. I just 'downgraded' to 0.9.7 and now everything is back to normal

Thanks for the work on the integration by the way!! Very appreciated!

claudegel commented 2 years ago

Ok do you have some log of HA with version 1.1.1 ? there shoud be some error that will help me to find out what is wrong

claudegel commented 2 years ago

Look for line: [custom_components.neviweb130.climate] Setting up neviweb130 climate ... or [custom_components.neviweb130.climate] Updating neviweb130 climate...

bergy218 commented 2 years ago

Does this helps you ? I updated to 1.1.2 this morning and my FLP55 is still 'Unavailable'

Logger: homeassistant.components.climate Source: custom_components/neviweb130/climate.py:706 Integration: Climate (documentation, issues) First occurred: 6:58:14 AM (1 occurrences) Last logged: 6:58:14 AM

neviweb130: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 431, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 684, in async_device_update await task File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/neviweb130/climate.py", line 706, in update self._hour_energy_kwh_count = device_hourly_stats[0]["counter"] / 1000 IndexError: list index out of range


De : Claude Gelinas @.***> Envoyé : 2 février 2022 20:11 À : claudegel/sinope-130 Cc : bergy218; Author Objet : Re: [claudegel/sinope-130] Flextherm FLP55 Unavailable since 1.1.1 update (Issue #64)

Look for line: [custom_components.neviweb130.climate] Setting up neviweb130 climate ... or [custom_components.neviweb130.climate] Updating neviweb130 climate...

— Reply to this email directly, view it on GitHubhttps://github.com/claudegel/sinope-130/issues/64#issuecomment-1028509544, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF7MBAS7RREUDDZEJLWBSFDUZHI4NANCNFSM5NMMBMOA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

bergy218 commented 2 years ago

Just got this error too:

Logger: homeassistant.helpers.service Source: helpers/service.py:129 First occurred: 7:05:37 AM (3 occurrences) Last logged: 7:05:37 AM

Unable to find referenced entities climate.neviweb130_climate_flextherm_flp55


De : MarcAndre Bergeron @.***> Envoyé : 3 février 2022 07:04 À : claudegel/sinope-130 Objet : Re: [claudegel/sinope-130] Flextherm FLP55 Unavailable since 1.1.1 update (Issue #64)

Does this helps you ? I updated to 1.1.2 this morning and my FLP55 is still 'Unavailable'

Logger: homeassistant.components.climate Source: custom_components/neviweb130/climate.py:706 Integration: Climate (documentation, issues) First occurred: 6:58:14 AM (1 occurrences) Last logged: 6:58:14 AM

neviweb130: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 431, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 684, in async_device_update await task File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/neviweb130/climate.py", line 706, in update self._hour_energy_kwh_count = device_hourly_stats[0]["counter"] / 1000 IndexError: list index out of range


De : Claude Gelinas @.***> Envoyé : 2 février 2022 20:11 À : claudegel/sinope-130 Cc : bergy218; Author Objet : Re: [claudegel/sinope-130] Flextherm FLP55 Unavailable since 1.1.1 update (Issue #64)

Look for line: [custom_components.neviweb130.climate] Setting up neviweb130 climate ... or [custom_components.neviweb130.climate] Updating neviweb130 climate...

— Reply to this email directly, view it on GitHubhttps://github.com/claudegel/sinope-130/issues/64#issuecomment-1028509544, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF7MBAS7RREUDDZEJLWBSFDUZHI4NANCNFSM5NMMBMOA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

claudegel commented 2 years ago

This problem is related to issue # 65. Flextherm FLP55 do not provide energy statistic so I've put a filter to prevent pulling stats from Neviweb in device update if it is a FLP55 please test branch index-error

bergy218 commented 2 years ago

I'm sorry I don't know how to test a branch hahaha

claudegel commented 2 years ago

I've created a new branch named index-error in the code section with the changes in init.py and climate.py. Just copy those two files over the one you have in config/custom_components/neviweb130/ and restart HA If you have light and switch in neviweb130 then copy also light.py and switch.py

bergy218 commented 2 years ago

I just tested it and it works!! My FLP55 is back online!

Merci beaucoup!!


De : Claude Gelinas @.***> Envoyé : 3 février 2022 11:46 À : claudegel/sinope-130 Cc : bergy218; Author Objet : Re: [claudegel/sinope-130] Flextherm FLP55 Unavailable since 1.1.1 update (Issue #64)

I've created a new branch named index-error in the code section with the changes in init.py and climate.py. Just copy those two files over the one you have in config/custom_components/neviweb130/ and restart HA If you have light and switch in neviweb130 then copy also light.py and switch.py

— Reply to this email directly, view it on GitHubhttps://github.com/claudegel/sinope-130/issues/64#issuecomment-1029185658, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF7MBATLLDTUA6Q3MOB72PLUZKWPJANCNFSM5NMMBMOA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

claudegel commented 2 years ago

Thanks I'll publish new release today. I just need to finish adjusting polling interval to 30 minutes for energy stat. It is useless to poll for that at every scan_interval which is around 5 minutes

djiesr commented 2 years ago

D'accord! Merci beaucoup pour ton travail!