Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gree Climate not working with Gree device firmware v1.23 #96

Closed
mstuczko opened this issue Jul 19, 2024 · 5 comments
Closed

Gree Climate not working with Gree device firmware v1.23 #96

mstuczko opened this issue Jul 19, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@mstuczko
Copy link

mstuczko commented Jul 19, 2024

(based on issue home-assistant/core#122076)

The problem

The device is constantly "unavailable" or appears briefly, however from Gree app device is up and running.

What version of Home Assistant Core has the issue?

2024.7.2

What was the last working version of Home Assistant Core?

2024.7.2

What type of installation are you running?

Home Assistant in Docker on Debian
HA Core 2024.7.2
HA Supervisor 2024.06.2

Integration causing the issue

Gree Climate

Link to integration documentation on our website

No response

Diagnostics information

(based on my comment: home-assistant/core#122076 (comment))
I have two devices, and one that got an upgrade from firmware v1.17(?) to v1.23 is no longer "cooperating" with integration. I see something changed. Debug below.

  • some fields added
  • some fields empty

All was working with Gree firmware 1.17
Failed with Gree firmware 1.123

One of the comments in the linked Issues claims that encryption version 2 fixes the problem.

2024-07-19 15:47:48.988 DEBUG (MainThread) [greeclimate.network] Received packet from 192.168.2.240:
{
    "t": "pack",
    "i": 1,
    "uid": 0,
    "cid": "",
    "tcid": "",
    "pack": {
        "t": "dev",
        "cid": "***broken***",
        "bc": "00000000000000000000000000000000",
        "brand": "gree",
        "catalog": "gree",
        "mac": "***broken***",
        "mid": "10001",
        "model": "gree",
        "name": "",
        "lock": 0,
        "series": "gree",
        "vender": "1",
        "ver": "V2.0.0",
        "ModelType": "32792",
        "hid": "362001065279+U-WB05RT13V1.23.bin"
    }
}

2024-07-19 15:47:48.996 DEBUG (MainThread) [greeclimate.network] Received packet from 192.168.2.231:
{
    "t": "pack",
    "i": 1,
    "uid": 0,
    "cid": "***working***",
    "tcid": "",
    "pack": {
        "t": "dev",
        "cid": "***working***",
        "bc": "",
        "brand": "gree",
        "catalog": "gree",
        "mac": "***working***",
        "mid": "10001",
        "model": "gree",
        "name": "***working***",
        "series": "gree",
        "vender": "1",
        "ver": "V1.2.1",
        "lock": 0
    }
}

2024-07-19 15:47:58.817 WARNING (MainThread) [homeassistant.components.gree.coordinator] Device is unavailable: gree-***broken*** (Device: ***broken***@ 192.168.2.240:7000 (mac: ***broken***))
@solazs
Copy link

solazs commented Jul 22, 2024

One of the comments in the linked Issues claims that encryption version 2 fixes the problem.

This refers to a custom integration available through HACS, where they wrote their own API connector implementation. Gree changed up the API after v1.21, the integration refers to this change as encryption 2

https://github.com/RobHofmann/HomeAssistant-GreeClimateComponent/blob/9bbfe64b50dc0c2f4576a552530a96c7042d6372/custom_components/gree/climate.py#L402

@solazs
Copy link

solazs commented Jul 22, 2024

Support for the new encryption type is being worked on:
#92

@cmroche
Copy link
Owner

cmroche commented Aug 3, 2024

Finishing up testing, thanks for the patience everyone.

@cmroche cmroche self-assigned this Aug 5, 2024
@cmroche cmroche added the enhancement New feature or request label Aug 5, 2024
@cmroche
Copy link
Owner

cmroche commented Aug 11, 2024

Changes are merged, should be in 2024.9 HA release.

@cmroche cmroche closed this as completed Aug 11, 2024
@solazs
Copy link

solazs commented Aug 12, 2024

I think it made it into HA version 2024.8:

https://www.home-assistant.io/changelogs/core-2024.8

Update greeclimate to 2.1.0 (@cmroche - #123210)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants