I’m having a similar issue as the others on HA 0.82.0b3. I’m having such errors:
Cannot connect to Gateway
No data in response from hub None
This started to happen since 0.82 version. Token is correct - double checked. Additionally, some more Xiaomi devices started to disconnect like power strips or Air purifier 2. It works again when it’s powered off and on.
Find out what channel your 2.4g wifi is using.
Then find the zigbee channel your gateway is using
Then look here to see if they are over lapping
try and move your 2.4g wifi channel as far away as possible from the zigbee channel as described in the above article… i did this and rarely get unavailable sensors etc
I had this issue and tried everything! The thing that solved it was a replacement router.
I found this after bringing my hass pi3, Xiaomi Gateway and a motion sensor to work, set them up in the morning on the work WiFi and seeing no dropouts after the whole day.
I was using an ISP supplied ZTE ZXHN H298N, which it turns out was either ignoring or filtering out the multicast heartbeat messages coming from the Xiaomi Gateway.
Got a TP-Link AC1750 Archer C7 and it all started working out of the box. No dropouts since (been 4 weeks now).
So, try taking a bare bones setup to another network to see how it performs. Worth a try!
That’s very weird, I have never seen that happening before then I moved it to a new network (wlan0-1 on OpenWRT) and I was having issues with invalid key which I got fixed by having a multicast proxy installed .I though that was the reason I was getting it to show Unavailable but woke up this morning to see the gateway in that state and the multicast packets are still getting received by HA so not sure what’s going on.
Do you see this with Aqara devices connected to a Aqara gateway or devices connected to a zigbee USB stick?
I have the theory that this has got to do how aqara sensors work. Maybe they want some keep alive handshake every hour or so. They want to save battery so they have got a mechanism to fall asleep.
I’m having this problem with Apple Airport devices on the latest firmware… No idea what to do as I don’t have these options. My hass server is already connected by ethernet.
Hi, I have Gateway 3 (round) and it gets unavailable randomly, for few seconds only and just in HA. Including subdevices. Any idea how to work with it? Get new hub? It seems to be as a problem described here