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 Integration no longer provides entities #121794

Closed
war4peace opened this issue Jul 11, 2024 · 26 comments
Closed

Gree Climate Integration no longer provides entities #121794

war4peace opened this issue Jul 11, 2024 · 26 comments

Comments

@war4peace
Copy link

The problem

Gree Climate stopped providing entities after upgrading Home Assistant from 2024.6.4 to 2024.7.2.
I have two Gree AC devices. They were both working perfectly before Home Assistant update, via Gree Climate Integration.
Now, none of the entities are visible anymore, and each of them has this message on top of the card:
This entity is no longer being provided by the gree integration. If the entity is no longer in use, delete it in settings.

image

I'd like my devices back, please.

What version of Home Assistant Core has the issue?

core-2024.7.2

What was the last working version of Home Assistant Core?

core-2024.6.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Gree Climate

Link to integration documentation on our website

https://www.home-assistant.io/integrations/gree/

Diagnostics information

The full log file contains sensitive data, but this is the relevant excerpt.

2024-07-11 19:42:10.147 DEBUG (MainThread) [homeassistant.components.gree] Scanning network for Gree devices
2024-07-11 19:42:10.150 INFO (MainThread) [greeclimate.discovery] Scanning for Gree devices ...
2024-07-11 19:42:10.151 DEBUG (MainThread) [greeclimate.discovery] Listening for devices on 255.255.255.255
2024-07-11 19:42:10.155 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"t": "scan"}

This is all the integration does currently.

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Just that both devices were working perfectly before update.
The Gree+ Android Application still sees the devices, and they work fine.

@home-assistant
Copy link

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)

@majker17
Copy link

Hello - I have the same issue after update - I tried to restore the backup of HA but there is still the same issue. The app version of GREE + is 1.19, HAOS now:

Core 2024.1.6
Supervisor 2024.06.2
Operating System 12.3

@war4peace
Copy link
Author

I „solved” it by ditching the Core Gree integration and using the HACS integration, which worked perfectly.
That meant modifying some automations to use the new entity IDs, but it was a small price to pay.

@majker17
Copy link

Could you tell me which HACS did you use?

@war4peace
Copy link
Author

Could you tell me which HACS did you use?

https://github.com/RobHofmann/HomeAssistant-GreeClimateComponent

You need to remove the previous integration beforehand.
Then, the AC devices will show up as entities, but not in Integrations. That was not a problem for me.
image

@majker17
Copy link

majker17 commented Jul 12, 2024

Thank you! Please tell me could you read also in this HACS current temperature?

@cmroche - if you need any data from me - let me know I could support and check something if you want.

@war4peace
Copy link
Author

@majker17 I haven't investigated, to be honest, but judging from the documentation, you can't unless it reads it from a different sensor.
It so happens that I do have separate temperature sensors in those rooms as well.

@majker17
Copy link

Ok - for me it is important because I based on the Gree sensor. Thank you for explanation.

@war4peace
Copy link
Author

Now, to be honest, I haven't truly verified this, because my automations were based on a different temperature sensor anyway.

@cmroche
Copy link
Contributor

cmroche commented Jul 13, 2024

Scanning on 255.255.255.255 is a bit surprising, have you made changes to the integration? It should be scanning on specific interfaces. In any case, I'll add the ability to connect via a fixed IP soon.

@cmroche
Copy link
Contributor

cmroche commented Jul 13, 2024

@home-assistant remove-label needs-more-information

@majker17
Copy link

majker17 commented Jul 14, 2024

Screenshot_2024-07-14-09-48-56-970
Screenshot_2024-07-14-09-45-01-411
Screenshot_2024-07-14-09-43-48-039
2024-07-12 17:26:44.544 INFO (MainThread) [greeclimate.discovery] Scanning for Gree devices ...
2024-07-12 17:26:44.545 DEBUG (MainThread) [greeclimate.discovery] Listening for devices on 255.255.255.255
2024-07-12 17:26:44.552 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"t": "scan"}
2024-07-12 17:31:44.545 INFO (MainThread) [greeclimate.discovery] Scanning for Gree devices ...
2024-07-12 17:31:44.545 DEBUG (MainThread) [greeclimate.discovery] Listening for devices on 255.255.255.255
2024-07-12 17:31:44.546 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"t": "scan"}

@cmroche - In my case the situation is similar. I tried to come back to old system from backup but now I have the message like the @war4peace. This is without any changes in the app - it is official.

Version Gree+ app - 1.19.3.7
FW AC - V3.75, V3.46, V3.71, V3.56.

They are visible in Gree + app.

@majker17
Copy link

majker17 commented Jul 14, 2024

I compared also the logs and it looks:

2024-07-14 13:46:14.796 DEBUG (MainThread) [greeclimate.device] Updating device properties for (Device: c69d1552 @ myIP.myIP.myIP.myIP:7000 (mac: 502cc69d1552))
2024-07-14 13:46:14.797 DEBUG (MainThread) [greeclimate.network] Sending packet:
2024-07-14 13:46:14.816 DEBUG (MainThread) [greeclimate.network] Received packet:
2024-07-14 13:46:14.817 DEBUG (MainThread) [homeassistant.components.gree.bridge] Finished fetching gree-c69d1552 data in 0.021 seconds (success: True)
2024-07-14 13:46:37.062 INFO (MainThread) [greeclimate.discovery] Scanning for Gree devices ...
2024-07-14 13:46:37.064 DEBUG (MainThread) [greeclimate.discovery] Listening for devices on 255.255.255.255
2024-07-14 13:46:37.068 DEBUG (MainThread) [greeclimate.network] Sending packet:
2024-07-14 13:46:37.108 DEBUG (MainThread) [greeclimate.network] Received packet from myIP.myIP.myIP.myIP:
{"t": "pack", "i": 1, "uid": 0, "cid": "502cc69d1552", "tcid": "", "pack": {"t": "dev", "cid": "502cc69d1552", "bc": "", "brand": "gree", "catalog": "gree", "mac": "502cc69d1552", "mid": "10001", "model": "gree", "name": "c69d1552", "series": "gree", "vender": "1", "ver": "V1.2.1", "lock": 0}}
2024-07-14 13:47:14.796 DEBUG (MainThread) [greeclimate.device] Updating device properties for (Device: c69d1552 @ myIP.myIP.myIP.myIP:7000 (mac: 502cc69d1552))
2024-07-14 13:47:14.798 DEBUG (MainThread) [greeclimate.network] Sending packet:
2024-07-14 13:47:14.819 DEBUG (MainThread) [greeclimate.network] Received packet:
2024-07-14 13:47:14.819 DEBUG (MainThread) [homeassistant.components.gree.bridge] Finished fetching gree-c69d1552 data in 0.023 seconds (success: True)
2024-07-14 13:48:14.796 DEBUG (MainThread) [greeclimate.device] Updating device properties for (Device: c69d1552 @ myIP.myIP.myIP.myIP:7000 (mac: 502cc69d1552))
2024-07-14 13:48:14.798 DEBUG (MainThread) [greeclimate.network] Sending packet:
2024-07-14 13:48:14.821 DEBUG (MainThread) [greeclimate.network] Received packet:
2024-07-14 13:48:14.822 DEBUG (MainThread) [homeassistant.components.gree.bridge] Finished fetching gree-c69d1552 data in 0.026 seconds (success: True)

And from my opinion something is wrong in sending the packages - please take a look:

  • on working unit the GreeClimate send the info the unit by IP and mac address: 2024-07-14 13:48:14.796 DEBUG (MainThread) [greeclimate.device] Updating device properties for (Device: c69d1552 @ myIP.myIP.myIP.myIP:7000 (mac: 502cc69d1552))
  • on updated there is only multicast question about the units: 2024-07-12 17:26:44.545 DEBUG (MainThread) [greeclimate.discovery] Listening for devices on 255.255.255.255

The question is how to force the GreeClimate to send the updating device properties? After update it looks like the GreeClimate loose the list of entities - but why? I am not able to search them in the network now. I did not know why.

I also restart the Gree+ app on my phone and register on the other account - and the issue is still the same.

@Balros
Copy link

Balros commented Jul 15, 2024

For my setup, i can see Gree devices when they are on the same VLAN. But when i change homeassistant device to other VLAN the logs says:

2024-07-15 12:39:03.559 INFO (MainThread) [greeclimate.discovery] Scanning for Gree devices ...
2024-07-15 12:39:03.560 DEBUG (MainThread) [greeclimate.discovery] Listening for devices on 255.255.255.255
2024-07-15 12:39:03.565 DEBUG (MainThread) [greeclimate.network] Sending packet:
{"t": "scan"}```

What version of Home Assistant Core has the issue?
core-2024.7.2

What type of installation are you running?
Home Assistant OS

@majker17
Copy link

majker17 commented Jul 15, 2024

Core --> 2024.7.2
Supervisor --> 2024.06.2
Operating System --> 12.4
Frontend --> 20240710.0

After update it crashed. I am in the same VLAN. Maybe the access points are the problem... But in general - before update everything works for some days without any issues.

@majker17
Copy link

Hello,

the AC is in VLAN - ping works:

image

Something is with the app.

@majker17
Copy link

Hello could Anyone take care for this topic?

@mstuczko
Copy link

It seems like my device (firmware 1.23) is returning JSON with something different than other device. Maybe this is a hint?
Logged there in other thread.

#122076 (comment)

@majker17
Copy link

majker17 commented Aug 1, 2024

Could you tell me which HACS did you use?

https://github.com/RobHofmann/HomeAssistant-GreeClimateComponent

You need to remove the previous integration beforehand. Then, the AC devices will show up as entities, but not in Integrations. That was not a problem for me. image

I used proposed HACS and works fine. I tried also to use GreeClimate but it not works. @cmorche - will you try to fix this?

@cmroche
Copy link
Contributor

cmroche commented Aug 11, 2024

Looks like a duplicate of #122076 (comment), and will close. If that is not the case please re-open with any additional details.

@cmroche
Copy link
Contributor

cmroche commented Aug 11, 2024

@homeassistant close

@cmroche
Copy link
Contributor

cmroche commented Aug 11, 2024

@home-assistant close

@mk-igor
Copy link

mk-igor commented Aug 13, 2024

@cmroche I'm having the same issue the original post here, but mine started after updating to the latest 2024.8.1 version. It initially showed that it wasn't providing entities, so I did a recovery from backup to previous version of HA and that didn't help, still got the same message about entities. I then deleted the entire Gree configuration, tried the one from HACS, which works, but has some issues with temperature in F, so I'd love to be able to come back to this one instead. After removing the one from HACS and running this from scratch I now get a message saying No devices found on network. Essentially, I'm completely stuck here. Not sure why latest update would brick it.

@mk-igor
Copy link

mk-igor commented Aug 26, 2024

@cmroche I have an update here. I was able to resolve this by installing another add-on on top of this one. https://github.com/rapi3/HA-OS-Gree
This add-on allows you to keep using standard Gree integration, but when it doesn't find devices (assuming you're just adding them as new), it will give you a pop up to enter your device ip. Note, I did have to remove from the Gree app and reset wifi on each of my Gree devices, add them back to the Gree app, then after a few minutes they were able to connect using the IP in HA.
Perhaps this could simply be integrated into standard functionality you have.

@majker17
Copy link

From my personal point of view this is other issue - not with the update like you told and I have not firmware 1.23 but in Europe you have 3.73 and higher. So the topic did not solve my issue.

@cmorche
Copy link

cmorche commented Aug 27, 2024 via email

@github-actions github-actions bot locked and limited conversation to collaborators Sep 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants