RobHofmann/HomeAssistant-GreeClimateComponent

Can't connect to my A/C

Opened this issue · 5 comments

I have a Gree A/C (XE7A-24/HC) but i'm unable to connect to him.

Using Gree A/C ver. 2.14.0
Gree Firmware version V1.38 (the app says that is the last version)

This is my code il configuration.yaml

`climate:

  • platform: gree
    name: Gree AC
    host: 192.168.1.199
    port: 7000
    mac: '94:24:B8:F2:C8:1D'
    target_temp_step: 1
    temp_sensor: sensor.t_h_openspace_temperature
    lights: input_boolean.gree_ac_lights
    xfan: input_boolean.gree_ac_xfan
    health: input_boolean.gree_ac_health
    sleep: input_boolean.gree_ac_sleep
    powersave: input_boolean.gree_ac_powersave

The A/C is currently configured on my home wifi with 2.4ghz, with statit IP and already connecter to the cloud and Gree APP.

I have no error in yaml files.

I'm doing something wrong?
Thanks!

add encryption_version: 2 to yaml

add encryption_version: 2 to yaml

I have tryed it
pic3

same bad results.

I have the Entity Gree AC but is "unaviable"
pic1
pic2

This is my log:

`2024-07-17 21:07:24.772 INFO (MainThread) [custom_components.gree.climate] supported_features(): 425
2024-07-17 21:07:24.773 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-07-17 21:07:24.773 INFO (MainThread) [custom_components.gree.climate] hvac_modes(): [<HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.FAN_ONLY: 'fan_only'>, <HVACMode.HEAT: 'heat'>, <HVACMode.OFF: 'off'>]
2024-07-17 21:07:24.773 INFO (MainThread) [custom_components.gree.climate] min_temp(): 16
2024-07-17 21:07:24.773 INFO (MainThread) [custom_components.gree.climate] max_temp(): 30
2024-07-17 21:07:24.774 INFO (MainThread) [custom_components.gree.climate] target_temperature_step(): 1.0
2024-07-17 21:07:24.774 INFO (MainThread) [custom_components.gree.climate] fan_list(): ['Auto', 'Low', 'Medium-Low', 'Medium', 'Medium-High', 'High', 'Turbo', 'Quiet']
2024-07-17 21:07:24.774 INFO (MainThread) [custom_components.gree.climate] swing_modes(): ['Default', 'Swing in full range', 'Fixed in the upmost position', 'Fixed in the middle-up position', 'Fixed in the middle position', 'Fixed in the middle-low position', 'Fixed in the lowest position', 'Swing in the downmost region', 'Swing in the middle-low region', 'Swing in the middle region', 'Swing in the middle-up region', 'Swing in the upmost region']
2024-07-17 21:07:24.774 INFO (MainThread) [custom_components.gree.climate] available(): Device is offline
2024-07-17 21:07:24.775 INFO (MainThread) [custom_components.gree.climate] name(): Gree AC
2024-07-17 21:07:24.775 INFO (MainThread) [custom_components.gree.climate] supported_features(): 425
2024-07-17 21:07:24.776 INFO (MainThread) [custom_components.gree.climate] should_poll()
2024-07-17 21:07:24.794 INFO (MainThread) [homeassistant.setup] Setup of domain climate took 10.06 seconds


2024-07-17 21:11:24.781 INFO (MainThread) [custom_components.gree.climate] should_poll()
2024-07-17 21:11:24.783 INFO (SyncWorker_53) [custom_components.gree.climate] update()
2024-07-17 21:11:24.783 INFO (SyncWorker_53) [custom_components.gree.climate] Retrieving HVAC encryption key
2024-07-17 21:11:24.788 INFO (SyncWorker_53) [custom_components.gree.climate] Fetching(192.168.1.199, 7000, 10, {"cid": "app","i": 1,"pack": "Jtod3XIt89Lqss6DOHETBcx5uYcAzgfkbQU3H+DJn/zDIm9Xi1M9ctnx9aCGHseEwf35XMKtIPQDq97Iev6J","t":"pack","tcid":"9424b8f2c81d","uid": 0, "tag" : "k5f/vfXAUlEa52x+nxsr1w=="})
2024-07-17 21:11:34.782 WARNING (MainThread) [homeassistant.helpers.entity] Update of climate.gree_ac is taking over 10 seconds
2024-07-17 21:11:34.800 INFO (SyncWorker_53) [custom_components.gree.climate] Error getting device encryption key!
2024-07-17 21:11:34.803 INFO (MainThread) [custom_components.gree.climate] supported_features(): 425
2024-07-17 21:11:34.804 INFO (MainThread) [custom_components.gree.climate] temperature_unit(): °C
2024-07-17 21:11:34.804 INFO (MainThread) [custom_components.gree.climate] hvac_modes(): [<HVACMode.AUTO: 'auto'>, <HVACMode.COOL: 'cool'>, <HVACMode.DRY: 'dry'>, <HVACMode.FAN_ONLY: 'fan_only'>, <HVACMode.HEAT: 'heat'>, <HVACMode.OFF: 'off'>]
2024-07-17 21:11:34.804 INFO (MainThread) [custom_components.gree.climate] min_temp(): 16
2024-07-17 21:11:34.805 INFO (MainThread) [custom_components.gree.climate] max_temp(): 30
2024-07-17 21:11:34.805 INFO (MainThread) [custom_components.gree.climate] target_temperature_step(): 1.0
2024-07-17 21:11:34.805 INFO (MainThread) [custom_components.gree.climate] fan_list(): ['Auto', 'Low', 'Medium-Low', 'Medium', 'Medium-High', 'High', 'Turbo', 'Quiet']
2024-07-17 21:11:34.805 INFO (MainThread) [custom_components.gree.climate] swing_modes(): ['Default', 'Swing in full range', 'Fixed in the upmost position', 'Fixed in the middle-up position', 'Fixed in the middle position', 'Fixed in the middle-low position', 'Fixed in the lowest position', 'Swing in the downmost region', 'Swing in the middle-low region', 'Swing in the middle region', 'Swing in the middle-up region', 'Swing in the upmost region']
2024-07-17 21:11:34.805 INFO (MainThread) [custom_components.gree.climate] available(): Device is offline
2024-07-17 21:11:34.806 INFO (MainThread) [custom_components.gree.climate] name(): Gree AC
2024-07-17 21:11:34.806 INFO (MainThread) [custom_components.gree.climate] supported_features(): 425`

I Think the problem is:

INFO (SyncWorker_53) [custom_components.gree.climate] Error getting device encryption key!

Can someone have ideas?

It appears your device is incompatible. Maybe you can pass the encryption key?

It appears your device is incompatible. Maybe you can pass the encryption key?

The model is XE7A-24/HC
I don't have the Encryption Key, i don't know hot to obain it