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
70.97k stars 29.62k forks source link

Gree with v1.23 Firmware does not work after last update #122076

Closed 74mzsolt closed 3 weeks ago

74mzsolt commented 1 month ago

The problem

The device is constantly "unavailable" however from gree app and also from google home the device is up and running. Thank you

What version of Home Assistant Core has the issue?

2024.7.2

What was the last working version of Home Assistant Core?

6.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Gree

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

cards:
  - type: horizontal-stack
    cards:
      - type: thermostat
        entity: climate.c6537aa9
        name: Konyha klíma
        features:
          - style: icons
            hvac_modes:
              - cool
              - fan_only
              - heat
              - 'off'
            type: climate-hvac-modes
      - type: thermostat
        entity: climate.entrance_clima
        name: Hall klíma
        features:
          - style: icons
            hvac_modes:
              - cool
              - fan_only
              - heat
              - 'off'
            type: climate-hvac-modes

Anything in the logs that might be useful for us?

gree MID; 100001-v16.2
region: hungary

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)

frawau commented 1 month ago

Same issue here.

6 newly installed Gree A/C. the 4 on firmware v3.73 work fine. The 2 on V1.23 are showing up as "Unavailable" most of the time and do not respond whenever they seem available.

r3ktangle commented 1 month ago

same issue for me on Gree Verty and Gree Fairy. After firmware update today to v1.23 they are not working anymore

pauloxx81 commented 1 month ago

same issue. 1 pcs AC with firmware v3.73 - not working, other 3pcs with firmware 3.75 working OK.

angelitoo776 commented 1 month ago

Same here, 4 ac devices that previously worked perfectly, after updating firmware to version 1.23 appears as unavailable.

M1Sandy commented 1 month ago

same here

angelitoo776 commented 1 month ago

In HACS there is another Gree integration (https://github.com/RobHofmann/HomeAssistant-GreeClimateComponent) that works if encryptions_version is set to 2 (from firmware version 1.21). There are limitation, bc you have to create many helpers for sleep mode, powersaving, lights,... (one of my configuration as an example below)

Maybe this helps to identify the problem.

- platform: gree
  name: 'Name
  host: <ip address>
  port: 7000
  mac: 'XX-XX-XX-XX-XX-XX'
  target_temp_step: 1
  encryption_version: 2
  lights: 'input_boolean.first_ac_lights'
  xfan: 'input_boolean.first_ac_xfan'
  sleep: 'input_boolean.first_ac_sleep'
  powersave: 'input_boolean.first_ac_powersave'
lewkoo commented 1 month ago

Same story here. I did look into another integration mentioned above, but it seemed too involved to set up so would be great if the one in core could be patched up.

mstuczko commented 1 month ago

I have same problem. I have two devices, and one that got an upgrade to 1.23 is no "cooperating" with integration. I see something changed. Debug below.

HA Core 2024.7.2 HA Supervisor 2024.06.2 All was working with Gree firmware 1.17 Failed with Gree firmware 1.123

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***))
deniselenok commented 1 month ago

the same here... looking forward to the solution

VladZakharenko commented 1 month ago

AC continuously unavailable. Any solutions?

solazs commented 1 month ago

Someone already reported this problem to the underlying greeclimate python library: https://github.com/cmroche/greeclimate/issues/96

toloomierz commented 1 month ago

same here , maybe someone know how to downgrade firmware ???

Distracto069 commented 1 month ago

Same here! The weird thing is that I get an error about unique ID's. This is a unique ID. I also removed the unit from the Gree app and rebooted my house network and also power cycled the entire house electricity grid, but nothing worked.

Timeout trying to bind to gree device: Device: 9424b8b6c24e @ 192.168.1.176:7000 (mac: 9424b8b6c24e) Logger: homeassistant.components.climate Source: helpers/entity_platform.py:764 integration: Climate (documentation, issues) First occurred: 5:25:28 PM (1 occurrences) Last logged: 5:25:28 PM

Platform gree does not generate unique IDs. ID 9424b8b6c24e already exists - ignoring climate.bedroom_ac

adizag commented 1 month ago

I also faced this problem. solved by using https://github.com/RobHofmann/HomeAssistant-GreeClimateComponent as well with encryption = 2. I wish the native GREE integration would be fixed as using the custom one is much more manual.

vednolacni commented 1 month ago

Any update on this?

solazs commented 1 month ago

Owner of the underlying library is working on it. Taken from https://github.com/cmroche/greeclimate/pull/92:

I will aim to finish up and merge this week.

After that I expect there will be a PR for HA as well to update the dependency to the version of the lib with the new encryption supported, IMO it will make it into the next release in September or maybe a point release in August (disclaimer: I'm not affiliated with HA or the gree lib in any way, so take this with a grain of salt).

cmroche commented 4 weeks ago

Note that I'm being held up a bit waiting on this update to merge too: https://github.com/home-assistant/core/pull/121030. The PR with new device encryption will follow this change.

ninaaa11 commented 3 weeks ago

Hello, I'm sorry for asking such a stupid question! But how do I do a firmware update?

Normally it is initiated via the app.

Sorry greetings