RobHofmann / HomeAssistant-GreeClimateComponent

Custom Gree climate component written in Python3 for Home Assistant. Controls AC's supporting the Gree protocol.
GNU General Public License v3.0
321 stars 107 forks source link

Lost connection to Toyotomi A/C after latest update #110

Closed manouallou closed 3 years ago

manouallou commented 3 years ago

Hi, After the 2.3.0 update I lost connection to the A/C (Toyotomi Hiro Eco) for no obvious reason. The weird thing is that even after downgrading the component to the previous release, the problem persists. The A/C has a static IP and nothing else has changed. Any ideas of what might went wrong? It used to work without extracting an encryption key.

Here is my config in climate.yaml:

- platform: gree name: Bedroom AC host: 192.168.0.110 mac: 'XX:XX:XX:XX:XX:XX' (hidden in this post for privacy) port: 7000 timeout: 60 target_temp_step: 1 temp_sensor: sensor.bedroom_ht_temperature lights: input_boolean.toyotomi_ac_lights

Platform:

Logs 2021-09-06 19:37:37 INFO (MainThread) [custom_components.gree.climate] Setting up Gree climate platform 2021-09-06 19:37:37 INFO (MainThread) [custom_components.gree.climate] Adding Gree climate device to hass 2021-09-06 19:37:37 INFO (MainThread) [custom_components.gree.climate] Initialize the GREE climate device 2021-09-06 19:37:37 INFO (MainThread) [custom_components.gree.climate] Retrieving HVAC encryption key 2021-09-06 19:37:37 INFO (MainThread) [custom_components.gree.climate] Fetching(192.168.0.110, 7000, 60, {"cid": "app","i": 1,"pack": "6kwCFcGeYwZV+VyBpi5DScnIJDZNsfFky2J9GQs4YMGj9mrs/0p7GUTdWxmNaBUt","t":"pack","tcid":"XXXXXXXXXX","uid": 0}) 2021-09-06 19:38:38 ERROR (MainThread) [homeassistant.components.climate] Setup of platform gree is taking longer than 60 seconds. Startup will proceed without waiting any longer.

manouallou commented 3 years ago

Reinstalling didn't solve the issue. I had to completely uninstall, reboot and reinstall the extension. After that, everything worked fine again.

All good. Case closed.