home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.34k stars 29.88k forks source link

Gree Airy getting timeouts #123171

Closed rmadzuski closed 1 month ago

rmadzuski commented 1 month ago

The problem

HA can easily detect Gree Airy (gwh12avcxd-k6dna1a) but get timeouts for each action. I'm not able to control my Gree via HA.

Gree initially connected to WiFi via the mobile app Gree+ and then connected to HA. Nativa's application is working ok.

Based on the Gree+ application my AC has installed a WiFI module in the v2.09 version

What version of Home Assistant Core has the issue?

core-2024.7.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Gree Climate

Link to integration documentation on our website

No response

Diagnostics information

home-assistant_gree_2024-08-05T06-57-10.566Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-08-05 08:20:43.249 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2024-08-05 08:20:56.700 ERROR (MainThread) [homeassistant.components.gree.coordinator] Timeout trying to bind to gree device: Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54)
2024-08-05 08:22:16.807 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:22:16.807 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:24:36.808 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:24:36.809 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:26:56.808 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:26:56.809 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:29:16.807 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:29:16.808 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:31:36.807 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:31:36.808 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:33:56.807 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:33:56.807 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:36:16.807 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:36:16.807 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:38:36.809 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:38:36.809 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:40:56.807 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:40:56.807 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:43:16.807 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:43:16.808 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:45:36.808 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:45:36.808 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:47:56.808 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:47:56.808 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:50:16.808 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:50:16.808 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:51:55.020 ERROR (MainThread) [homeassistant.components.ipp.coordinator] Error fetching ipp data: Invalid response from API: Timeout occurred while connecting to IPP server.
2024-08-05 08:52:36.807 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:52:36.808 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:53:41.988 INFO (MainThread) [greeclimate.discovery] Scanning for Gree devices ...
2024-08-05 08:53:41.989 DEBUG (MainThread) [greeclimate.discovery] Listening for devices on 255.255.255.255
2024-08-05 08:53:41.991 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"t": "scan"}
2024-08-05 08:53:42.087 DEBUG (MainThread) [greeclimate.network] Received packet from 192.168.0.26:
{"t": "pack", "i": 1, "uid": 0, "cid": "", "tcid": "", "pack": {"t": "dev", "cid": "", "bc": "00000000000000000000000000000000", "brand": "gree", "catalog": "gree", "mac": "9424b8f50c54", "mid": "10001", "model": "gree", "name": "", "lock": 0, "series": "gree", "vender": "1", "ver": "V3.2.M", "hid": "362001068254+U-4MWB65VRV2.09.bin", "ModelType": "167764058"}}
2024-08-05 08:53:42.087 INFO (MainThread) [greeclimate.discovery] Found gree device Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54)
2024-08-05 08:53:49.994 DEBUG (MainThread) [homeassistant.components.gree] Scanning network for Gree devices
2024-08-05 08:53:49.994 INFO (MainThread) [greeclimate.discovery] Scanning for Gree devices ...
2024-08-05 08:53:49.994 DEBUG (MainThread) [greeclimate.discovery] Listening for devices on 255.255.255.255
2024-08-05 08:53:49.996 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"t": "scan"}
2024-08-05 08:53:50.074 DEBUG (MainThread) [greeclimate.network] Received packet from 192.168.0.26:
{"t": "pack", "i": 1, "uid": 0, "cid": "", "tcid": "", "pack": {"t": "dev", "cid": "", "bc": "00000000000000000000000000000000", "brand": "gree", "catalog": "gree", "mac": "9424b8f50c54", "mid": "10001", "model": "gree", "name": "", "lock": 0, "series": "gree", "vender": "1", "ver": "V3.2.M", "hid": "362001068254+U-4MWB65VRV2.09.bin", "ModelType": "167764058"}}
2024-08-05 08:53:50.075 INFO (MainThread) [greeclimate.discovery] Found gree device Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54)
2024-08-05 08:53:50.075 INFO (MainThread) [greeclimate.device] Starting device binding to Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54)
2024-08-05 08:53:50.076 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"cid": "app", "i": 1, "t": "pack", "uid": 0, "tcid": "9424b8f50c54", "pack": {"mac": "9424b8f50c54", "t": "bind", "uid": 0}}
2024-08-05 08:54:00.078 ERROR (MainThread) [homeassistant.components.gree.coordinator] Timeout trying to bind to gree device: Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54)
2024-08-05 08:54:00.079 INFO (MainThread) [homeassistant.components.gree.coordinator] Adding Gree device 9424b8f50c54 at 192.168.0.26:7000
2024-08-05 08:54:00.079 INFO (MainThread) [greeclimate.device] Starting device binding to Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54)
2024-08-05 08:54:00.080 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"cid": "app", "i": 1, "t": "pack", "uid": 0, "tcid": "9424b8f50c54", "pack": {"mac": "9424b8f50c54", "t": "bind", "uid": 0}}
2024-08-05 08:54:10.082 DEBUG (MainThread) [homeassistant.components.gree.coordinator] Finished fetching gree-9424b8f50c54 data in 10.003 seconds (success: True)
2024-08-05 08:54:43.975 DEBUG (MainThread) [homeassistant.components.gree.climate] Setting HVAC mode to cool for device None
2024-08-05 08:54:43.975 INFO (MainThread) [greeclimate.device] Starting device binding to Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54)
2024-08-05 08:54:43.977 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"cid": "app", "i": 1, "t": "pack", "uid": 0, "tcid": "9424b8f50c54", "pack": {"mac": "9424b8f50c54", "t": "bind", "uid": 0}}
2024-08-05 08:54:53.983 WARNING (MainThread) [homeassistant.components.gree.coordinator] Timeout send state update to: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:55:10.095 INFO (MainThread) [greeclimate.device] Starting device binding to Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54)
2024-08-05 08:55:10.096 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"cid": "app", "i": 1, "t": "pack", "uid": 0, "tcid": "9424b8f50c54", "pack": {"mac": "9424b8f50c54", "t": "bind", "uid": 0}}
2024-08-05 08:55:20.097 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:55:20.098 ERROR (MainThread) [homeassistant.components.gree.coordinator] Error fetching gree-9424b8f50c54 data: Device gree-9424b8f50c54 is unavailable
2024-08-05 08:55:20.098 DEBUG (MainThread) [homeassistant.components.gree.coordinator] Finished fetching gree-9424b8f50c54 data in 10.003 seconds (success: False)
2024-08-05 08:56:20.095 INFO (MainThread) [greeclimate.device] Starting device binding to Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54)
2024-08-05 08:56:20.096 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"cid": "app", "i": 1, "t": "pack", "uid": 0, "tcid": "9424b8f50c54", "pack": {"mac": "9424b8f50c54", "t": "bind", "uid": 0}}
2024-08-05 08:56:30.098 INFO (MainThread) [homeassistant.components.gree.coordinator] Fetching gree-9424b8f50c54 data recovered
2024-08-05 08:56:30.098 DEBUG (MainThread) [homeassistant.components.gree.coordinator] Finished fetching gree-9424b8f50c54 data in 10.004 seconds (success: True)
2024-08-05 08:56:36.678 INFO (MainThread) [greeclimate.device] Starting device binding to Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54)
2024-08-05 08:56:36.681 INFO (MainThread) [greeclimate.device] Starting device binding to Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54)
2024-08-05 08:56:36.681 INFO (MainThread) [greeclimate.device] Starting device binding to Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54)
2024-08-05 08:56:36.682 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"cid": "app", "i": 1, "t": "pack", "uid": 0, "tcid": "9424b8f50c54", "pack": {"mac": "9424b8f50c54", "t": "bind", "uid": 0}}
2024-08-05 08:56:36.682 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"cid": "app", "i": 1, "t": "pack", "uid": 0, "tcid": "9424b8f50c54", "pack": {"mac": "9424b8f50c54", "t": "bind", "uid": 0}}
2024-08-05 08:56:36.683 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"cid": "app", "i": 1, "t": "pack", "uid": 0, "tcid": "9424b8f50c54", "pack": {"mac": "9424b8f50c54", "t": "bind", "uid": 0}}
2024-08-05 08:56:42.317 INFO (MainThread) [greeclimate.device] Starting device binding to Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54)
2024-08-05 08:56:42.318 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"cid": "app", "i": 1, "t": "pack", "uid": 0, "tcid": "9424b8f50c54", "pack": {"mac": "9424b8f50c54", "t": "bind", "uid": 0}}
2024-08-05 08:56:45.162 DEBUG (MainThread) [homeassistant.components.gree.climate] Setting HVAC mode to auto for device None
2024-08-05 08:56:45.162 INFO (MainThread) [greeclimate.device] Starting device binding to Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54)
2024-08-05 08:56:45.165 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"cid": "app", "i": 1, "t": "pack", "uid": 0, "tcid": "9424b8f50c54", "pack": {"mac": "9424b8f50c54", "t": "bind", "uid": 0}}
2024-08-05 08:56:46.685 WARNING (MainThread) [homeassistant.components.gree.coordinator] Timeout send state update to: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:56:46.686 WARNING (MainThread) [homeassistant.components.gree.coordinator] Timeout send state update to: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:56:46.686 WARNING (MainThread) [homeassistant.components.gree.coordinator] Timeout send state update to: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:56:52.320 WARNING (MainThread) [homeassistant.components.gree.coordinator] Timeout send state update to: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))
2024-08-05 08:56:55.167 WARNING (MainThread) [homeassistant.components.gree.coordinator] Timeout send state update to: gree-9424b8f50c54 (Device: 9424b8f50c54 @ 192.168.0.26:7000 (mac: 9424b8f50c54))

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @cmroche, mind taking a look at this issue as it has been labeled with an integration (gree) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `gree` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign gree` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


gree documentation gree source (message by IssueLinks)

cmroche commented 1 month ago

Gree has released a new firmware recently that requires an integration update. It's in progress and hope to have it by the 2024.09 release of HA.

cmroche commented 1 month ago

See #122076

Closing since i think this is a duplicate, please re-open if that isn't the case.

@home-assistant close

cmroche commented 1 month ago

@home-assistant close