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.75k stars 30k forks source link

Gree integration stopped updating AC temperature after upgrading to Home Assistant 2024.08.0. #124007

Open akhunduqji opened 1 month ago

akhunduqji commented 1 month ago

The problem

Following the update to Home Assistant 2024.08.0, the Gree integration has ceased to automatically refresh the AC temperature. To obtain the correct AC temperature, a manual Home Assistant restart or a reload of the Gree integration is now required.

What version of Home Assistant Core has the issue?

2024.08.0.

What was the last working version of Home Assistant Core?

2024.06.0.

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Gree

Link to integration documentation on our website

https://www.home-assistant.io/integrations/gree#supported-models

Diagnostics information

home-assistant_gree_2024-08-15T17-11-05.798Z.log

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 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)

Nadim-os commented 1 month ago

Your best choice now to stay on 2024.7 restore if you have any backup Till the problem is solved

darmach commented 1 month ago

This is probably related to firmware version - I have two Gree units, upgraded one of them from 1.16 to 1.23. The moment this happened, upgraded version started to flap - HA lose connectivity every minute for a minute, with unit being available in gree app the whole time.

This was fixed by upgrading HA to 2024.8.2 - after the upgrade, connectivity to 1.23 unit is rock solid, I can see state changes HOWEVER, it looks like temperature values are stuck, no longer updating.

This happens only on upgraded unit! 1.16 still works fine, connectivity stable, all values updating.

akhunduqji commented 1 month ago

This is probably related to firmware version - I have two Gree units, upgraded one of them from 1.16 to 1.23. The moment this happened, upgraded version started to flap - HA lose connectivity every minute for a minute, with unit being available in gree app the whole time.

This was fixed by upgrading HA to 2024.8.2 - after the upgrade, connectivity to 1.23 unit is rock solid, I can see state changes HOWEVER, it looks like temperature values are stuck, no longer updating.

This happens only on upgraded unit! 1.16 still works fine, connectivity stable, all values updating.

Thank you for you reply. Actually i had the same doubts, i checked since i have two pf them tow of them reporting the temperature, but i found that al air conditions have tje same firmware version

costingheonea commented 1 month ago

Can someone confirm 2024.8.3 is fixing the issue?

akhunduqji commented 1 month ago

Can someone confirm 2024.8.3 is fixing the issue?

No it didn't unfortunately

costingheonea commented 1 month ago

@cmroche please help

MZuberP commented 1 month ago

@costingheonea i did it, i just remove space before "name" "mac" etc. it all now start from 1 kolumn

costingheonea commented 1 month ago

@MZuberP what do you mean? Where did you make this changes?

bradleewright commented 4 weeks ago

Same problem here. Gree units on Firmware V1.23 Some units seem to get stuck reporting the current temperature. A reload of the Gree intergation brings it back to life. Anyone with any solution would be great, i will keep trying to find one...

costingheonea commented 4 weeks ago

I have firmware 3.76 on all 4 units. I wonder if I downgrade home assistant to .7 would work, but I am not sure if I will loose all the configuration. I dont have any backup for 07 version.

mk-igor commented 4 weeks ago

While my initial issue was not related to temperature problems, I can confirm that the solution I have reports temperature correctly with latest HA updates and with different firmware on my units. I had an issue where this Gree integration would no longer find my units, so I ended up installing another integration on top of this, so that they work together. It's this one: https://github.com/rapi3/HA-OS-Gree This has a few patches on top of standard Gree integration discussed here and allows you to enter your unit's IP. This has solved all of my problems. Perhaps the original owner of this integration can add this or work with the other person to join the 2.

costingheonea commented 4 weeks ago

Unfortunately not working.

Nicolasimone commented 3 weeks ago

2024.08.0 same error no refresh of gree device status after upgrade. Firmware is on 1.23. Please fix.

svirko commented 3 weeks ago

Hi, I have the same issue after firmware update.

I have three units: two of them were upgraded from 1.16 to 1.23 the third one was upgraded too without issues, but the version was 3.x and started to be 4.x

I've tried to solve this from GREE side. Please assist in writing feedback to iOS and Android GREE app. Maybe, firmware developers may solve this faster. Who knows.

meldarionqeusse commented 2 weeks ago

Same issue here hass does not recognize AC is on unless I reload the integration. For now I did an automation that restarts the integration every 2 mins. Not ideal but at least everything works

akhunduqji commented 2 weeks ago

Hey everybody As a temporary solution, I've created this automation to resolve the problem while we wait for the integration to be fixed.

alias: "Entity Manual Update - House ACs "
description: ""
trigger:
  - platform: time_pattern
    minutes: /2
condition: []
action:
  - action: homeassistant.update_entity
    data:
      entity_id:
        - climate.ac_office
        - climate.ac_master
        - climate.ac_kitchen
        - climate.ac_livingroom
mode: single
bradleewright commented 1 week ago

@akhunduqji

Good idea! This is working a treat for my 5 gree units 3x Firmware 1.23 2x Firmwar 2.06.

Thanks!

( couldnt work out how to make ymal display correctly so ignore the bullet points)

alias: Refresh AC description: "" trigger:

svirko commented 1 week ago

I’ve tested, unfortunately didn’t help. So, other workaround was used:

I have two units with the same firmware, 15 minutes to setup.

svirko commented 1 week ago

Well, I managed to install the alternative GREE integration using HACS and successfully added my units using it. https://github.com/RobHofmann/HomeAssistant-GreeClimateComponent

After I've realised that I'm using the "latest" Home Assistant version (2.4.3) which is not. Updated it to the "stable" :) (2.4.9). Now, everything works fine (firmware of units: v2.06 and v1.23).