cyr-ius / hass-heatzy

Climate Home Assistant component for Heatzy Pilot
MIT License
33 stars 13 forks source link

Error fetching heatzy data #33

Closed arthur6703 closed 1 year ago

arthur6703 commented 1 year ago

Hello, Once a day (between 1 a.m. and 7 a.m. for the moment), I have this error that occurs.: ERROR (MainThread) [custom_components.heatzy] Error fetching heatzy data: Yuk7YkynKvBmWpG9qOCh1r not retrieved (502)

After this error, the generic thermostats that I use to control my Pilots no longer work (so if the electric heater was ON, it stays ON without ever stopping. And if it was OFF, it never turns on again ).The solution is to restart the integration when it happens.

Does anyone have an idea of the origin of the problem? (I use the Livebox integration, and the drivers always stay connected to Wifi)

cyr-ius commented 1 year ago

This is an API availability problem on the web However you can ask the generic thermostat to restart the order every x minutes with the keep_alive option

My personal setting:

ppouyet commented 1 year ago

Never rely on web for home automation !!