Setup:
Gateway v2, 1 Door sensor, 1 motion sensor, 2 Yeelights.
HassOS-HassIO on Pi3B+ v0.75.3
All was working well, untill the log started filling up with these errors related to the gateway;
2018-08-10 08:54:01 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-08-10 08:55:46 WARNING (SyncWorker_13) [netdisco.ssdp] Found malformed XML at http://192.168.2.40:9080: status=ok
2018-08-10 09:03:52 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-08-10 09:14:12 ERROR (SyncWorker_2) [xiaomi_gateway] Non matching response. Expecting write_ack, but got read_ack
2018-08-10 09:14:12 ERROR (SyncWorker_9) [xiaomi_gateway] Non matching response. Expecting read_ack, but got write_ack
2018-08-10 09:14:12 ERROR (SyncWorker_2) [xiaomi_gateway] No data in response from hub None
2018-08-10 09:14:12 ERROR (SyncWorker_9) [xiaomi_gateway] No data in response from hub None
2018-08-10 09:14:44 ERROR (SyncWorker_11) [homeassistant.components.light.yeelight] Unable to update bulb status: A socket error occurred when sending the command.
2018-08-10 09:20:03 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.door_window_sensor_158d00023700c1 is taking over 10 seconds
2018-08-10 09:20:03 ERROR (SyncWorker_12) [xiaomi_gateway] Cannot connect to Gateway
2018-08-10 09:20:03 ERROR (SyncWorker_12) [xiaomi_gateway] No data in response from hub None
2018-08-10 09:34:21 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-08-10 10:01:54 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.door_window_sensor_158d00023700c1 is taking over 10 seconds
2018-08-10 10:01:54 ERROR (SyncWorker_6) [xiaomi_gateway] Cannot connect to Gateway
2018-08-10 10:01:54 ERROR (SyncWorker_6) [xiaomi_gateway] No data in response from hub None
2018-08-10 10:06:01 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.door_window_sensor_158d00023700c1 is taking over 10 seconds
2018-08-10 10:06:01 ERROR (SyncWorker_4) [xiaomi_gateway] Cannot connect to Gateway
2018-08-10 10:06:01 ERROR (SyncWorker_4) [xiaomi_gateway] No data in response from hub None
Strange thing is that all sensors and switches still work.
I can control the gateway light and so forth.
Initially, had some issues with generating the key on ios.
That didnāt work.
Used the emulator Bluestack to get the key.
Going to repeat the process for a new key.
Btw, can i do this at a distance?
As iām at work
Btw, I recently migrated to Lovelace.
Can of course load both UI frontpages.
But could this have something to do with the errors?
I have ādeletedā the āui-lovelace.yamlā restarted HA, to see if the errors still occur.
Update: still getting the errors; seems that it doesnāt involve the lovelace migration.
But could the key be the cause of (all) these gateway errorsā¦
Edit: generated a new key through Bluestacks.
Itās not often but still getting the ābulbā errors.
I now have simplified the Yeelight configuration:
Will watch it closely, but so far havenāt got any;
[homeassistant.components.light.yeelight] Unable to update bulb status: A socket error occurred when sending the command.
[xiaomi_gateway] No data in response from hub None
errors.
Having similar issues, however I consider this to be an issue with the gateways rather than HA.
My gateways keeps losing connection and rebooting. This can happens few times a minute, but also can be ok for hoursā¦
Clueless to what this could be
Hi all, yes I have the same problem periodically I found in the logs āCannot connect to Gatewayā and āNo data in response from hub Noneā. The sensors work but are not completely reliable, sometime some events are not captured by HA (e.g. door opened), while are correctly managed by Mi Home app.
Same issue for me over here. I have a total of 16 Xioami sensors and switches connected to the hub, which are quite unrealiable in Home Assistant - while they work perfectly fine in the MiHome app. I get the same āCannot connect to Gatewayā and āNo data in response from hub Noneā errors in the log from time to time, sometimes every few hours. Havenāt found a solution to this problem for now, already tried changing the wifi channel and moving the gateway to another room. Hope someone has a fix for this, otherways I have to go the Zigbee2Mqtt route and ditch the gateway.