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
73.65k stars 30.79k forks source link

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

Open akhunduqji opened 3 months ago

akhunduqji commented 3 months 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 3 months 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 2 months ago

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

darmach commented 2 months 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 2 months 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 2 months ago

Can someone confirm 2024.8.3 is fixing the issue?

akhunduqji commented 2 months ago

Can someone confirm 2024.8.3 is fixing the issue?

No it didn't unfortunately

costingheonea commented 2 months ago

@cmroche please help

MZuberP commented 2 months ago

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

costingheonea commented 2 months ago

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

bradleewright commented 2 months 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 2 months 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 2 months 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 2 months ago

Unfortunately not working.

Nicolasimone commented 2 months ago

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

svirko commented 2 months 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 months 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 months 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 2 months 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 2 months 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 2 months 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).

raadms commented 1 month ago

any updates on the integration compatibility issue?

bakhshb commented 2 weeks ago

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.

Nadim-os commented 2 weeks ago

didn't find the integration after adding the repo

bakhshb commented 2 weeks ago

didn't find the integration after adding the repo

the integration is called Gree Climate

Screenshot_20241030_210528_Home Assistant

Nadim-os commented 2 weeks ago

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

bakhshb commented 2 weeks ago

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.