core icon indicating copy to clipboard operation
core copied to clipboard

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

Open akhunduqji opened this issue 1 year ago • 21 comments

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

akhunduqji avatar Aug 15 '24 19:08 akhunduqji

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)

home-assistant[bot] avatar Aug 15 '24 19:08 home-assistant[bot]

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

Nadim-os avatar Aug 18 '24 00:08 Nadim-os

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.

darmach avatar Aug 21 '24 12:08 darmach

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

akhunduqji avatar Aug 21 '24 14:08 akhunduqji

Can someone confirm 2024.8.3 is fixing the issue?

costingheonea avatar Aug 26 '24 05:08 costingheonea

Can someone confirm 2024.8.3 is fixing the issue?

No it didn't unfortunately

akhunduqji avatar Aug 26 '24 05:08 akhunduqji

@cmroche please help

costingheonea avatar Aug 26 '24 05:08 costingheonea

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

MZuberP avatar Aug 26 '24 07:08 MZuberP

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

costingheonea avatar Aug 26 '24 08:08 costingheonea

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

bradleewright avatar Aug 26 '24 15:08 bradleewright

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.

costingheonea avatar Aug 26 '24 17:08 costingheonea

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.

mk-igor avatar Aug 27 '24 12:08 mk-igor

Unfortunately not working.

costingheonea avatar Aug 27 '24 14:08 costingheonea

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

Nicolasimone avatar Sep 02 '24 06:09 Nicolasimone

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.

svirko avatar Sep 02 '24 22:09 svirko

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

meldarionqeusse avatar Sep 05 '24 05:09 meldarionqeusse

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

akhunduqji avatar Sep 10 '24 19:09 akhunduqji

@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:

  • platform: time_pattern minutes: "5" condition: [] action:
  • action: homeassistant.update_entity metadata: {} data: entity_id: - climate.office_ac - climate.living_room_ac - climate.master_ac - climate.dining_room_ac - climate.nursery_ac mode: single

bradleewright avatar Sep 11 '24 14:09 bradleewright

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

  • integration with Google Home through app
  • Google Assistant SDK
  • a bunch of simple scripts to send text commands to google assistant (on/off, change mode and speed)

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

svirko avatar Sep 11 '24 20:09 svirko

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

svirko avatar Sep 12 '24 07:09 svirko

any updates on the integration compatibility issue?

raadms avatar Oct 13 '24 09:10 raadms

With reference to the Repository, I have made modifications to the code to rectify the status update issue with the original integration. Unlike the referenced repository, which requires manual IP input, the repository below utilizes the discovery function.

I recently uploaded the code, and you can access it here: https://github.com/bakhshb/Ha-Gree-local. This uses an old package from greeclimate V 1.4.1

I have been using it for several weeks now, and it has been working effectively for me.

Please note that if the device's status is updated externally, a warning may be displayed in the system's log indicating that the device is unresponsive. However, you need not be concerned as it will reconnect automatically without any noticeable interruption.

The default update interval for the devices is set at 60 seconds.

Please note that this is a temporary solution until the Home Assistant team resolves the issue.

bakhshb avatar Oct 30 '24 07:10 bakhshb

didn't find the integration after adding the repo

Nadim-os avatar Oct 30 '24 17:10 Nadim-os

didn't find the integration after adding the repo

the integration is called Gree Climate

Screenshot_20241030_210528_Home Assistant

bakhshb avatar Oct 30 '24 18:10 bakhshb

this is the same integrtation already installed and facing the problem or am i confused

Nadim-os avatar Oct 30 '24 18:10 Nadim-os

this is the same integrtation already installed and facing the problem or am i confused

Upon successful installation of the integration from HACS and subsequent restart of Home Assistant, proceed to the Devices & Services section and add the Gree integration. This action will initiate a search for compatible devices.

To verify successful installation, locate the small orange logo labeled "Custom Integration" under Devices & Services > Gree Climate in the right corner.

bakhshb avatar Oct 30 '24 18:10 bakhshb

i am having the same issues.. any update on this so far?

gmichalos avatar Dec 02 '24 07:12 gmichalos

I've removed the core Gree integration and manually installed https://github.com/bakhshb/Ha-Gree-local. It is now able to detect the temperature/state changes although it takes up to 2 minutes to update the entities. @bakhshb Thank you for the fix!

jose1711 avatar Dec 27 '24 13:12 jose1711

It has been a problem since I used Gree (June, 2023). Usually gets back to normal when I reload the configuration in HA, and it got somehow better when I upgraded the AC firmware. I have three internal units of two types, they all can behave differently in a given time. As far as I remember, no spontaneous recovery ever happened, if once the refresh stopped

heidricha avatar Jan 24 '25 08:01 heidricha

@akhunduqji in 2025.3 issue should be fixed, please test it and close issue if it works

filipagh avatar Mar 05 '25 21:03 filipagh