HomeAssistant-GreeClimateComponent icon indicating copy to clipboard operation
HomeAssistant-GreeClimateComponent copied to clipboard

The connection problem about Wi-Fi control panel(model: XC70-24/Hb1)

Open jiangtiger opened this issue 1 year ago • 7 comments

Hello, I have 4 Gree duct-type air conditioners at home (model: FGR3.5Pd/KNh -N1), which do not have Wi-Fi control functionality. Therefore, I purchased a Wi-Fi control panel (model: XC70-24/Hb1), which can be remotely controlled via the "Gree+" APP. Now, when I use your plugin and add a configuration to connect one Wi-Fi control panel (by entering the IP address and MAC address; I don’t know the port number, so I kept the default value of 7000), it immediately sets the IP addresses of all 4 of my Wi-Fi control panels to 192.168.1.80. I assume this product is not currently supported by the plugin, and I would like to ask if support for remote control of this panel can be added in the future.

jiangtiger avatar Aug 28 '25 02:08 jiangtiger

Thats interesting. Could you add the debug logs from Home Assistant? Also please add as much relevant information as possible.

RobHofmann avatar Aug 29 '25 13:08 RobHofmann

The Gree duct-type wired controller model XE7A-24/HC with built-in WiFi and firmware version 1.39 is known to work with the official Gree+ app for WiFi control. However, integration with Home Assistant (HA) currently faces issues. This specific model is not reliably discovered or via the official Gree Climate integration in Home Assistant and yours.

najjadasm avatar Sep 07 '25 21:09 najjadasm

2025-09-08 01:16:45.536 DEBUG (MainThread) [custom_components.gree] Setting up config entry 01K4K41KPY47APZ34YJPZMJPK3 with data: {'name': 'te', 'host': '192.168.1.223', 'mac': 'c0:39:37:89:2f:41', 'port': 7000, 'timeout': 10, 'encryption_version': 1} 2025-09-08 01:16:45.559 DEBUG (MainThread) [custom_components.gree.climate] name(): te 2025-09-08 01:16:45.559 DEBUG (MainThread) [custom_components.gree.climate] name(): te 2025-09-08 01:16:45.559 DEBUG (MainThread) [custom_components.gree.climate] supported_features(): 937 2025-09-08 01:16:45.559 DEBUG (MainThread) [custom_components.gree.climate] temperature_unit(): °C 2025-09-08 01:16:45.559 DEBUG (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'>] 2025-09-08 01:16:45.559 DEBUG (MainThread) [custom_components.gree.climate] min_temp(): 16 2025-09-08 01:16:45.559 DEBUG (MainThread) [custom_components.gree.climate] max_temp(): 30 2025-09-08 01:16:45.559 DEBUG (MainThread) [custom_components.gree.climate] target_temperature_step(): 1 2025-09-08 01:16:45.559 DEBUG (MainThread) [custom_components.gree.climate] fan_list(): ['auto', 'low', 'medium_low', 'medium', 'medium_high', 'high', 'turbo', 'quiet'] 2025-09-08 01:16:45.559 DEBUG (MainThread) [custom_components.gree.climate] swing_modes(): ['default', 'swing_full', 'fixed_upmost', 'fixed_middle_up', 'fixed_middle', 'fixed_middle_low', 'fixed_lowest', 'swing_downmost', 'swing_middle_low', 'swing_middle', 'swing_middle_up', 'swing_upmost'] 2025-09-08 01:16:45.559 DEBUG (MainThread) [custom_components.gree.climate] swing_horizontal_modes(): ['default', 'swing_full', 'fixed_leftmost', 'fixed_middle_left', 'fixed_middle', 'fixed_middle_right', 'fixed_rightmost'] 2025-09-08 01:16:45.559 DEBUG (MainThread) [custom_components.gree.climate] supported_features(): 937 2025-09-08 01:16:45.560 INFO (MainThread) [custom_components.gree.climate] Gree climate device added to hass() 2025-09-08 01:16:45.560 DEBUG (MainThread) [custom_components.gree.climate] update() 2025-09-08 01:16:45.560 INFO (MainThread) [custom_components.gree.gree_protocol] Retrieving HVAC encryption key 2025-09-08 01:16:45.568 DEBUG (MainThread) [custom_components.gree.gree_protocol] Fetching(192.168.1.223, 7000, 10, {"cid": "app","i": 1,"pack": "uoIo17UCM7EUUAqMpjCAGHWzb6KIRy/NH1yAuK0L9vaj9mrs/0p7GUTdWxmNaBUt","t":"pack","tcid":"c03937892f41","uid": 0}) 2025-09-08 01:16:55.579 INFO (MainThread) [custom_components.gree.gree_protocol] Error getting device encryption key! 2025-09-08 01:16:55.580 DEBUG (MainThread) [custom_components.gree.climate] supported_features(): 937 2025-09-08 01:16:55.580 DEBUG (MainThread) [custom_components.gree.climate] temperature_unit(): °C 2025-09-08 01:16:55.581 DEBUG (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'>] 2025-09-08 01:16:55.581 DEBUG (MainThread) [custom_components.gree.climate] min_temp(): 16 2025-09-08 01:16:55.581 DEBUG (MainThread) [custom_components.gree.climate] max_temp(): 30 2025-09-08 01:16:55.581 DEBUG (MainThread) [custom_components.gree.climate] target_temperature_step(): 1 2025-09-08 01:16:55.581 DEBUG (MainThread) [custom_components.gree.climate] fan_list(): ['auto', 'low', 'medium_low', 'medium', 'medium_high', 'high', 'turbo', 'quiet'] 2025-09-08 01:16:55.581 DEBUG (MainThread) [custom_components.gree.climate] swing_modes(): ['default', 'swing_full', 'fixed_upmost', 'fixed_middle_up', 'fixed_middle', 'fixed_middle_low', 'fixed_lowest', 'swing_downmost', 'swing_middle_low', 'swing_middle', 'swing_middle_up', 'swing_upmost'] 2025-09-08 01:16:55.581 DEBUG (MainThread) [custom_components.gree.climate] swing_horizontal_modes(): ['default', 'swing_full', 'fixed_leftmost', 'fixed_middle_left', 'fixed_middle', 'fixed_middle_right', 'fixed_rightmost'] 2025-09-08 01:16:55.581 INFO (MainThread) [custom_components.gree.climate] available(): Device is offline 2025-09-08 01:16:55.582 DEBUG (MainThread) [custom_components.gree.climate] name(): te 2025-09-08 01:16:55.582 DEBUG (MainThread) [custom_components.gree.climate] supported_features(): 937 2025-09-08 01:16:55.582 DEBUG (MainThread) [custom_components.gree.climate] should_poll() 2025-09-08 01:16:55.591 DEBUG (MainThread) [custom_components.gree.select] Restored select.tt_external_temperature_sensor state: None 2025-09-08 01:16:55.591 DEBUG (MainThread) [custom_components.gree.climate] name(): te 2025-09-08 01:16:55.591 DEBUG (MainThread) [custom_components.gree.climate] temperature_unit(): °C 2025-09-08 01:16:55.591 DEBUG (MainThread) [custom_components.gree.sensor] Added outside temperature sensor 2025-09-08 01:16:55.591 DEBUG (MainThread) [custom_components.gree.climate] name(): te 2025-09-08 01:16:55.591 DEBUG (MainThread) [custom_components.gree.sensor] Added room humidity sensor 2025-09-08 01:16:55.591 DEBUG (MainThread) [custom_components.gree.climate] name(): te 2025-09-08 01:16:55.592 INFO (MainThread) [custom_components.gree.climate] available(): Device is offline 2025-09-08 01:16:55.592 DEBUG (MainThread) [custom_components.gree.climate] name(): te 2025-09-08 01:16:55.592 INFO (MainThread) [custom_components.gree.climate] available(): Device is offline 2025-09-08 01:16:55.592 INFO (MainThread) [custom_components.gree.sensor] Added 2 Gree sensors

najjadasm avatar Sep 07 '25 22:09 najjadasm

2025-09-08 01:16:55.579 INFO (MainThread) [custom_components.gree.gree_protocol] Error getting device encryption key!

Could you also try this with encryption_version: 2? Let me know.

RobHofmann avatar Sep 08 '25 13:09 RobHofmann

I Try both same issue

najjadasm avatar Sep 08 '25 14:09 najjadasm

  1. Update to latest version
  2. Remove all Gree configs
  3. Add your broken config through the UI (Config flow).

Can you add the Gree device with this latest version?

RobHofmann avatar Sep 08 '25 17:09 RobHofmann

2025-09-09 07:33:21.241 ERROR (MainThread) [custom_components.gree.gree_protocol] All 8 attempts failed for 192.168.1.119:7000. Error: TimeoutError 2025-09-09 07:33:51.324 ERROR (MainThread) [custom_components.gree.gree_protocol] All 8 attempts failed for 192.168.1.119:7000. Error: TimeoutError

najjadasm avatar Sep 09 '25 04:09 najjadasm