-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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 integration - devices become unavailable but not on the native app #69351
Comments
gree documentation |
Hey there @cmroche, mind taking a look at this issue as it has been labeled with an integration ( |
Same problem. 6 gree air conditioners, they was installed one year ago, randomly 1/2/3 unavailable... All of them are okay on the mobile phone Gree app. Quick solution, but for 1-2-3... days: Restart the integration |
Yup same here, initially I thought that something was wrong with the wifi connection. In my case restarting the integration works for couple of minutes and the device becomes unavailable again. |
It is possible that the devices’ ip addresses are changing when it become unavailable? Also could you enable debug logging for |
Thanks for response! Assumed it might be related, so I assigned static IP to my AC. I had to leave the house for a while but when returned I re-checked it and it seems to be working fine again at least for now ;). But it seemed as if this happened randomly and not when the AC was reassigned new IP |
Hi, my IP are all static (or better, they are reserved on the DHCP server as I couldn't find a way to set static addresses on the Gree app). rebooting HA to enable the logs, now i have 5 units out of 7 unavailable: here the logs. please note that the two devices which are available are the only ones in the file where a Key is exchanged! |
2 MAC adresses on gree climate devices??? I have a TPLINK deco mesh system on the pension. All devices are renamed (ex: tasmota room 01, ot climate room 01...), and all with own IP from the start. I discovered some ESP devices on the network. For example ESP_9E302D After a google search: tomikaa87/gree-remote#16 For now: blakclisted (3 from 6). And waiting. Can You check your network??? |
Hi! Joining in, same problem, one Gree AC (Cooper & Hunter Supreme) unavailable. Has static IP (DHCP reservation as this is the only go to choice), working on the EWPE app. Checked for device firmware update using the EWPE app and got an update from v3.71 to v3.72. Network is Ubiquiti, nearest AP is U6-Lite. The AC is locket to that AP. Signal strenght is stable 100%. I tried to fix the availability via integration deletion, but now can't add it back because: |
Is it possible to add support for adding gree devices by entering manual IP instead of discovery? |
Same. The custom one works flawlessy with manual IP. |
But I had the “unavailable” issue even whe le I used the custom component. |
The unavailable is a different issue, |
Ah ok so it doesn’t have anything to do with the topic of this thread then. As I have static IPs but they are often unavailable, that is not a solution for me. |
It's something I would like to do sooner then later, support manually adding devices with this integration, however it's just a matter of when I will have time time to tackle this. |
This has been happening to me for over a year but I was still figuring out Home assistant at the time. At first it used to happen randomly on all my Gree devices I used to go into the Gree app click on each one and then they would start appearing on Home assistant. Eventually I fixed the IP address of the devices and the system was very stable. However, I have noticed that devices become unavailable if: I reboot my server, power is lost or I restart my home assistant. The strange thing is that out of 5 gree devices 4 usually connect immediately but one particular device which is the closest to my main router/modem does not connect no matter how many times I reload the integration, go into the gree app or restart home assistant. The device still works on the gree app however which is strange. The only "solution" which I found is to restart my router/modem and reload the integration once everything has booted. |
@meldarionqeusse Someone else mentioned the possibility of using two mac addresses, possible in your case? |
I looked a bit into I don't think it is using a different MAC address but I am not convinced cause I noticed that in my router it shows that it is connected via ethernet when it works and when it becomes unavailable it changes to wireless |
My Tplink Deco mesh system: DHCP settings: Gree, Room 13 MAC: F4-91-1E-75-XX-XX IP is reserved to 192.168.XX.113. On the devices list for this device, for this MAC is assigned the 192.168.XX.121. a total of 30 devices are configured this way, 6 of which are GREE, but I only discovered this bug in this one. i changed the dhcp reservation settings but there are only differences for this device |
In the meantime for anyone who the auto discovery doesn't work and wants a workaround, I hope manual ip support will get added soon as it may fix a lot of issues for a lot of people. |
@Idan37S where do i find the discovery.py file? |
Mine is at: ./usr/local/lib/python3.9/site-packages/greeclimate/discovery.py |
How to add device if integration does not recognise it even it’s connected to wifi and native app? |
I also have the same problem, which has plagued me for more than a year. Before, I solved the problem through various restarts. Now I have a device that has become completely unavailable. Now I need to look at the log to solve this problem. |
Hi! It's the part of log. Maybe help for you solve the problem. 2022-05-25 08:04:11 INFO (MainThread) [custom_components.xiaomi_miot.sensor] Get xiaomi message for 6485819471 failed: {'code': 0, 'message': 'ok', 'result': {'messages': None}} |
same problem, every time ha restart |
I am having the same problem with my Gree ACs. I have 3 units, all of them with static IP, no duplicate MAC address or anything. They are available via official app all the time, and reachable on the network during the time when HA reports they are unavailable. |
@galandilias mock server should resolve this |
I have been having issues, until certain point when one of ACs failed to connect at all (it was always unavailable, while OK in app). I switched to alternative integration https://github.com/RobHofmann/HomeAssistant-GreeClimateComponent which works OK for me |
It is amazing how devices with the same MID have different Firmware versions. I am wondering how do they decide which firmware to use if not based on MID? It could be based on model number which it is not shown in APP, but only written on device. |
I have this issue too. We set up three more Gree ACs yesterday to make a total of 4 ACs and only the one set up a while ago works fine. The 3 new ACs connect but don't show temperature. Changing the mode from Home Assistant doesn't do anything on the AC itself. |
Same happening for me @User8395 i have one AC with firmware version v1.21 which is not recognized properly and 3 ACs with v1.16 which work just fine |
I guess with v1.21 Gree changed encryption. In https://github.com/RobHofmann/HomeAssistant-GreeClimateComponent README config part there is an attribute for that
|
I don't think this integration is being actively worked on any more. |
Is your Home Assistant connected via Wi-Fi? |
I finally solved it. I reset the WiFi connection for both my (Cooper & Hunter) airco’s. Then tried to connect to the Gree+ app which is more actively maintained. This only succeeded when I connected them to my (visitor) 2,4 GHz network. Then both were seen by Gree+ and also connection to Home Assistant is rock solid now. |
How did you reset the connection? |
Well reset depends on your airco & remote control, but in my case it involved setting airco to “off” and pressing “mode” and “wifi” buttons together until a “beep” is heard. Then wait approx. 2 minutes until the airco access point appears on WiFi (name is derived from MAC address). Then remove airco defintion from Gree+ app (if it was there) and add it anew. Follow the instructions in the Gree+ app. |
Sadly that didn't work for me, the AC still responds with unavailable |
|
I think my network is both |
My estimate is that you need a 2,4GHz only network (most routers can create a “guest” network on 2,4 GHz). |
I'll try creating a hidden network that's 2.4 GHz |
@JongsmaSimon unfortunately even after turning of 5 GHz the issue still persists. It's weird because I have an AC connected that works perfectly fine.. |
Hello all, In my opinion trying this is waste of time. I confirm that I have 2 ACs connected to the same 2.4/5G router and one of them it is working, the other not, depending on the version, as I described in a previous post. Could be that in some scenarios/workarounds to get them working, but this should not be taken as a general solution because most probably it will not work for the others. We need a solution to rely on it, and this could be archived only by correcting the integration. I am wondering if it is possible to contact the Gree team to get support. Regards, Adrian |
I often find myself in a similar situation.
This integration is along the most installed climate integrations.Many people are still having connection problems.Can we please finally add IP based connection? |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Dear bot, this issue is definitely not stale. I just had problem like this ~2 weeks ago. |
I am pleased to say that on HA 2024.10.4, all my other Gree ACs are operational via HA |
Hold you horses, nothing really has changed in the gree integration since August 6th: So HA core release probably doesn't matter here? |
I think the problem was I connected my new ACs to our other network. We have a direct connection to our ISP for smart devices like cameras, and a TP-Link Deco for faster WiFi. I think I accidentally connected the ACs to the Deco, so after I connected the HA to the Deco, they now work fine with HA. As of writing this, I noticed a firmware update for the AC's WiFi module, with the changelog "We have fixed some known issues". @everyone please try to update your ACs now. |
Anyone knows if the units update themselves automatically when connected to the internet or do I have to update manually through the app? I deleted the app as soon as I configured WiFi on my units and cut them off from internet access. Mine are currently working fine, by the way. I suspect that there could have been a problem with network discovery in HA at some point, which might be fixed now. |
Mine didn't, I had to update each one manually. |
The problem
Gree devices often become unavailable and unreachable, however the same devices appear fine on the native Gree app.
It happens randomly and on different devices.
For some reasons it seems the app has the capability to still find them while the integration doesn't.
Note: both HA and devices are on the same VLAN
What version of Home Assistant Core has the issue?
2022.3.8
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Gree
Link to integration documentation on our website
https://www.home-assistant.io/integrations/gree/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: