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
69.79k stars 28.93k forks source link

No control with new Gree AC unit #119767

Open Machaeon opened 2 weeks ago

Machaeon commented 2 weeks ago

The problem

Gree GWH09AGAXA-K6DNA4C Pular. This is the second device in this integration. The first device of a different model works normally. The integration finds and successfully adds the device. However, the device is not managed. The logs contain the following errors: Timeout trying to bind to gree device: Device: xxxxxxxxxxxxxxxxx Timeout send state update to: gree-xxxxxxxxxxxxxxxxx Device is unavailable: gree-xxxxxxxxxxxxxxxxx Error fetching gree-xxxxxxxxxxxxxxxxx data: Device gree-xxxxxxxxxxxxxxxxxc is unavailable

What version of Home Assistant Core has the issue?

core-2024.6.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Gree Climate

Link to integration documentation on our website

https://www.home-assistant.io/integrations/gree/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 weeks 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)

NicolaContin commented 1 week ago

stesso problema anche io

alexcotut commented 1 week ago

I have the same issue, same errors in the log. Same AC model (Pulsar).

cmroche commented 1 week ago

I believe newer units are using a cloud-only protocol. I'm guessing this is the issue you are experiencing, and if true likely means they cannot be supported.

Machaeon commented 1 week ago

@cmroche, newer units using another encryption algo. Custom Gree integration works well with new units: https://github.com/RobHofmann/HomeAssistant-GreeClimateComponent

alexcotut commented 1 week ago

I can confirm what @Machaeon has said. The custom Gree integration works if you set encryption_version: 2 Thank you.

cmroche commented 1 week ago

@Machaeon @alexcotut I am working on adding the newer encryption support, it would help if someone could enable debug logs for greeclimate and send me the scanning, binding and status update sequences. As I do not have one of these newer devices, this will help me confirm it's working.

Edit: Sorry, this is a silly request... how do you do that before the encryption comes in. Perhaps though you could enable it for the custom component you are using? I should be able to work with that instead.

alexcotut commented 5 days ago

@cmroche I have some logs recorded.

gree.climate.log