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

Re-connecting to network #16

Open
vladsrynty opened this issue Mar 16, 2019 · 15 comments
Open

Re-connecting to network #16

vladsrynty opened this issue Mar 16, 2019 · 15 comments

Comments

@vladsrynty
Copy link

Hi all!

I have this Gree AC (actually Nordcel in my country) in a country house for keeping 8 degrees in the house during the winter time.
I did set up Pi3 with temperature sensors (DHT22) to see if the device is actually working (and it seems from the temperature, that it does) and I also have access over the internet to my Wifi router.

The problem is that after some period Gree AC disconnects itself from Wifi network.

Does anyone of you have an idea how could I reconnect Gree back to the network? Daily automatic restarts somehow? Some sort of timer function? How does the remote control work?

Of course EWPE Smart nor Wifi Smart can see the device.

Hopefully I can jump in and help develop some sort of managing software (web based?) for Gree devices in summer, when I have physical access to the device.

Thank you everybody for your work and help!

@jllcunha
Copy link

jllcunha commented Mar 16, 2019 via email

@vladsrynty
Copy link
Author

I don't know if it reconnects after replugging the power. I have not been near the device for 4 months now. It could also be that the router restarted and connection was lost then.

No, I cannot access it using Mobile App.

I'm thinking if I could somehow make Pi3 act as a remote control?

@vladsrynty
Copy link
Author

No, disconnecting from power and reconnecting did not help.
Full Wifi reset was needed to reconnect it back to the network.

@vladsrynty
Copy link
Author

But how EWPE Smart installed on my phone is able to configure it?

@tomikaa87
Copy link
Owner

tomikaa87 commented Jun 29, 2019

Occasionally my units does the same and only power cycling them helps. You may try updating the firmware in the units from the official mobile app, or if you can, try with another router, or try change WiFi settings (just listing a few, not all of them available on cheaper devices):

  • use 802.11b/g instead of 802.11n
  • change the channel to a less occupied frequency
  • adjust the TX power of the WiFi radio
  • enable hardware frame protection (RTS/CTS)
  • enable long preamble

@judders
Copy link

judders commented Jun 29, 2019

My Gree constantly disconnects from my Wifi. Turns out its when I use Alexa to control the heatpump though a Broadlink RM 3. Anyhow...
What I did is got my raspberry Pi to connect to the Heatpump AP and wrote my own code to run the command giving in the example to reconnect the heat pump to my Wifi.

@IgnatievArkadiy
Copy link

The same, i have cooper hunter AC (it has cree wifi module). If i control my AC from broadlink rm pro(with gree profile) my wifi always go off(i think profile inside broadlink alvays set off fifi module). But if i enable AC from his remout(with wifi indicator on screen ) wifi turn on and work.

@grunci
Copy link

grunci commented Jun 12, 2020

Hi,
My Fisher ACs (this lib works fine with it) forgets WIFI settings, when there is a power outage. This is the reason I am looking for a solution (or will help in implementing it) to set the wifi settings.

@DevChannel-de
Copy link

Hi, fond this thread as well searching for a solution why Gree AC is sporadically disconnecting from the WiFi access point. Sometimes the connection is stable for days, sometimes only for some minutes... :-/
BTW, I don't switch off the AC to get it reconnected again. I'm waiting... After several minutes the AC is connecting again and stays for some time stable...
Anyhow, I would be glad if someone would have a hint how to fix it reliable. Thanks.

@santasgt
Copy link

Hi, fond this thread as well searching for a solution why Gree AC is sporadically disconnecting from the WiFi access point. Sometimes the connection is stable for days, sometimes only for some minutes... :-/ BTW, I don't switch off the AC to get it reconnected again. I'm waiting... After several minutes the AC is connecting again and stays for some time stable... Anyhow, I would be glad if someone would have a hint how to fix it reliable. Thanks.

I've had a very similar issue with Sinclair AC (with Gree HW) but most of the time I did not see the AC reconnect by itself. What I found out that each has 2 MAC addresses and I suspect that whenever it loses WiFi connection it reconnects with the other MAC address, and sometimes did not get IP properly. Today I've banned 1 of the MAC addresses for each from the network, so far it looks OK.

@frmorais
Copy link

Hi, fond this thread as well searching for a solution why Gree AC is sporadically disconnecting from the WiFi access point. Sometimes the connection is stable for days, sometimes only for some minutes... :-/ BTW, I don't switch off the AC to get it reconnected again. I'm waiting... After several minutes the AC is connecting again and stays for some time stable... Anyhow, I would be glad if someone would have a hint how to fix it reliable. Thanks.

I've had a very similar issue with Sinclair AC (with Gree HW) but most of the time I did not see the AC reconnect by itself. What I found out that each has 2 MAC addresses and I suspect that whenever it loses WiFi connection it reconnects with the other MAC address, and sometimes did not get IP properly. Today I've banned 1 of the MAC addresses for each from the network, so far it looks OK.

How did you found the 2nd MAC addresse of the device?

@santasgt
Copy link

Hi, fond this thread as well searching for a solution why Gree AC is sporadically disconnecting from the WiFi access point. Sometimes the connection is stable for days, sometimes only for some minutes... :-/ BTW, I don't switch off the AC to get it reconnected again. I'm waiting... After several minutes the AC is connecting again and stays for some time stable... Anyhow, I would be glad if someone would have a hint how to fix it reliable. Thanks.

I've had a very similar issue with Sinclair AC (with Gree HW) but most of the time I did not see the AC reconnect by itself. What I found out that each has 2 MAC addresses and I suspect that whenever it loses WiFi connection it reconnects with the other MAC address, and sometimes did not get IP properly. Today I've banned 1 of the MAC addresses for each from the network, so far it looks OK.

How did you found the 2nd MAC addresse of the device?

I've blocked the first MAC address which connected to the WiFi from the network. Then the AC usually re-joined with the other MAC address (the last 6 digits of the MAC addresses are the same).

@frmorais
Copy link

Hi, fond this thread as well searching for a solution why Gree AC is sporadically disconnecting from the WiFi access point. Sometimes the connection is stable for days, sometimes only for some minutes... :-/ BTW, I don't switch off the AC to get it reconnected again. I'm waiting... After several minutes the AC is connecting again and stays for some time stable... Anyhow, I would be glad if someone would have a hint how to fix it reliable. Thanks.

I've had a very similar issue with Sinclair AC (with Gree HW) but most of the time I did not see the AC reconnect by itself. What I found out that each has 2 MAC addresses and I suspect that whenever it loses WiFi connection it reconnects with the other MAC address, and sometimes did not get IP properly. Today I've banned 1 of the MAC addresses for each from the network, so far it looks OK.

How did you found the 2nd MAC addresse of the device?

I've blocked the first MAC address which connected to the WiFi from the network. Then the AC usually re-joined with the other MAC address (the last 6 digits of the MAC addresses are the same).

Thanks for replying. Well, in my case it seems that there is only 1 MAC available per AC.

What I have found is that my router, besides ipv4 dhcp server was also assigning an ipv6 addresse , and for some reason this causes some type of conflit making ACs to loose connection to my router very frequently. Disabling ipv6 dhcp server solved my issue, so far so good.

@ic-dev21
Copy link

ic-dev21 commented Apr 2, 2024

Occasionally my units does the same and only power cycling them helps. You may try updating the firmware in the units from the official mobile app, or if you can, try with another router, or try change WiFi settings (just listing a few, not all of them available on cheaper devices):

  • use 802.11b/g instead of 802.11n
  • change the channel to a less occupied frequency
  • adjust the TX power of the WiFi radio
  • enable hardware frame protection (RTS/CTS)
  • enable long preamble

I have all those settings and still get constant dropouts, the wifi module stops acknowledging auth responses. Any other ideas?

@SmailG
Copy link

SmailG commented Jul 24, 2024

Possible fix to disable ICMP filtering according to...

https://community.home-assistant.io/t/gree-integration-devices-disconnecting-quirk/491728

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests