When adding the Gree Climante integration to Home Assistant, the integration automatically scans the local subnet where the Home Assistant server is installed for compatible devices. If no devices are found in the local subnet, the installation of the integration fails.
There needs to be a way to manually add a device in case the device to be added is in a different subnet than the subnet the Home Assistant server is installed.
Oh I know what’s going on. The extra features like 8 degree heat, power saving mode, air scavenging, etc are not in the main AC card, they’re just extra entities that have to be added manually to the card. For example, here’s what the card I created for the dashboard looks like:
I think you might have to manually create those entities for the Gree addon to be able to populate them. In configuration.yaml, I have the following section just after the “default_config:” line:
I never realize that it needs to create the entities to populate them…
Really thank you for time and everything around.
PS: just one question - do you deny access from internet to the AC and control it only through HA locally? When I do this I have often long time response (like 20sec) from sending command, and not sure if it is by some mishmash in network or it is normal?
…and no, I do not block internet access via the Gree app. That’s something I may try eventually but I’m fairly new to HA and prefer to have a backup method to control my devices, just in case.
Hi. I fight for Gree integration. Could you help me? My problem the Encryption key. I dont have. Plus 7002 port working in homebridge. Now i learn the homeasistant. Just the air condition left.
Hi, I’m also having issues getting the encryption key. I need it because the general decryption with the reverse engineered api does not work for me. I already tried the steps from RobHofmann but the gree.db on my android phone seems to be encrypted/unreadable? I tried several SQLite readers and none can read the db. I also tried a SSL capture but that was also encrypted…
Any idea how i can find the encryption key.
Thanks in advance.
Can someone help i am new to home assitant and i dont know what i did wrong but the in the logs i get 2024-05-23 22:13:59.873 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration gree which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-05-23 22:13:59.875 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-05-23 22:14:02.598 INFO (MainThread) [custom_components.gree.climate] Setting up Gree climate platform 2024-05-23 22:14:02.598 INFO (MainThread) [custom_components.gree.climate] Adding Gree climate device to hass 2024-05-23 22:14:02.598 INFO (MainThread) [custom_components.gree.climate] Initialize the GREE climate device 2024-05-23 22:14:02.599 INFO (MainThread) [custom_components.gree.climate] Retrieving HVAC encryption key 2024-05-23 22:14:02.604 INFO (MainThread) [custom_components.gree.climate] Fetching(my ip adress, 7000, 10, {"cid": "app","i": 1,"pack": "TmPMhrY5TLZwFIytbYJP2qmRExEzmD/L/OujBHrntfSj9mrs/0p7GUTdWxmNaBUt","t":"pack","tcid":"502cc63fdfb7","uid": 0}) 2024-05-23 22:14:12.618 ERROR (MainThread) [homeassistant.components.climate] Setup of platform gree is taking longer than 60 seconds. Startup will proceed without waiting any longer. these are the config files i used - platform: gree name: Office AC host: my ip adress port: 7000 mac: 50:2C:C6:3F:DF:B7 target_temp_step: 1 lights: input_boolean.office_ac_lights xfan: input_boolean.office_ac_xfan health: input_boolean.office_ac_health sleep: input_boolean.office_ac_sleep powersave: input_boolean.office_ac_powersave eightdegheat: input_boolean.office_ac_8degreeheat air: input_boolean.office_ac_airscavenging uid: 1 # Replace with the device identifier if needed temp_sensor: sensor.office_temperature # Replace with your external temperature sensor entity id and `default_config:
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
climate: !include climate.yaml` i hope someone can help me i am not so good with all this so sorry in advance
Unfortunately the logs aren’t specific about what is going wrong so it’s difficult to really identify a cause. It seems to be timing out when trying to grab the encryption key from your AC, so I would make sure to double check the IP and MAC addresses of your AC (the one from your internal network, not your public ISP IP address).
Other than that everything seems to be configured properly. There may be a way to get more verbose logs, which may help identify exactly what isn’t working properly.