I seem to be getting this error message quite often lately.
However, I can still control gateway light via HASS which means gateway is working?
Is this a known problem?
2017-08-22 18:49:05 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.motion_sensor_158d000155df00 is taking over 10 seconds 2017-08-22 18:49:05 ERROR (Thread-11) [PyXiaomiGateway] Cannot connect to Gateway 2017-08-22 18:49:05 ERROR (Thread-11) [PyXiaomiGateway] No data in response from hub None 2017-08-22 18:52:24 ERROR (Thread-5) [homeassistant.components.light.yeelight] Unable to update bulb status: A socket error occurred when sending the command. 2017-08-22 19:05:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.motion_sensor_158d000155df00 is taking over 10 seconds 2017-08-22 19:05:06 ERROR (Thread-5) [PyXiaomiGateway] Cannot connect to Gateway 2017-08-22 19:05:06 ERROR (Thread-5) [PyXiaomiGateway] No data in response from hub None 2017-08-22 19:14:54 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.motion_sensor_158d000155df00 is taking over 10 seconds 2017-08-22 19:14:54 ERROR (Thread-8) [PyXiaomiGateway] Cannot connect to Gateway 2017-08-22 19:14:54 ERROR (Thread-8) [PyXiaomiGateway] No data in response from hub None 2017-08-22 19:21:23 ERROR (Thread-2) [homeassistant.components.light.yeelight] Unable to update bulb status: Bulb closed the connection. 2017-08-22 19:22:07 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.motion_sensor_158d000155df00 is taking over 10 seconds 2017-08-22 19:22:07 ERROR (Thread-7) [PyXiaomiGateway] Cannot connect to Gateway 2017-08-22 19:22:07 ERROR (Thread-7) [PyXiaomiGateway] No data in response from hub None 2017-08-22 19:23:53 ERROR (Thread-6) [homeassistant.components.light.yeelight] Unable to update bulb status: A socket error occurred when sending the command. 2017-08-22 19:25:13 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.motion_sensor_158d000155df00 is taking over 10 seconds 2017-08-22 19:25:13 ERROR (Thread-11) [PyXiaomiGateway] Cannot connect to Gateway 2017-08-22 19:25:13 ERROR (Thread-11) [PyXiaomiGateway] No data in response from hub None 2017-08-22 19:26:15 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.motion_sensor_158d000155df00 is taking over 10 seconds 2017-08-22 19:26:15 ERROR (Thread-7) [PyXiaomiGateway] Cannot connect to Gateway 2017-08-22 19:26:15 ERROR (Thread-7) [PyXiaomiGateway] No data in response from hub None 2017-08-22 19:30:54 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.motion_sensor_158d000155df00 is taking over 10 seconds 2017-08-22 19:30:54 ERROR (Thread-3) [PyXiaomiGateway] Cannot connect to Gateway 2017-08-22 19:30:54 ERROR (Thread-3) [PyXiaomiGateway] No data in response from hub None 2017-08-22 19:32:27 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.motion_sensor_158d000155df00 is taking over 10 seconds 2017-08-22 19:32:27 ERROR (Thread-3) [PyXiaomiGateway] Cannot connect to Gateway 2017-08-22 19:32:27 ERROR (Thread-3) [PyXiaomiGateway] No data in response from hub None 2017-08-22 19:47:57 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.motion_sensor_158d000155df00 is taking over 10 seconds 2017-08-22 19:47:57 ERROR (Thread-3) [PyXiaomiGateway] Cannot connect to Gateway 2017-08-22 19:47:57 ERROR (Thread-3) [PyXiaomiGateway] No data in response from hub None 2017-08-22 19:54:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.motion_sensor_158d000155df00 is taking over 10 seconds 2017-08-22 19:54:40 ERROR (Thread-11) [PyXiaomiGateway] Cannot connect to Gateway 2017-08-22 19:54:40 ERROR (Thread-11) [PyXiaomiGateway] No data in response from hub None 2017-08-22 20:46:08 WARNING (MainThread) [homeassistant.helpers.entity] Update for light.lr_standing_lamp is already in progress 2017-08-22 20:50:55 WARNING (MainThread) [homeassistant.helpers.entity] Update of binary_sensor.motion_sensor_158d000155df00 is taking over 10 seconds 2017-08-22 20:50:55 ERROR (Thread-2) [PyXiaomiGateway] Cannot connect to Gateway 2017-08-22 20:50:55 ERROR (Thread-2) [PyXiaomiGateway] No data in response from hub None
Hi @sjee@syssi
Thanks but in my HASS instance, i cant find that folder custom_component.
Sorry if this is in the wrong thread/topic, I’ll ask on the other thread
Cheers
Close/lock the thread since the xiaomi component is now in core HA. We’ll need to start new threads about specific aspects of Xiaomi zigbee device operation etc. This thread will remain as a searchable resource.
Leave the thread open and continue the chat this place is fun!
OK 2nd gateway arrived and lucky I was working at home today
So got it working in HA and removed the 2 switched (1 single and 1 double) from the old gateway and added them to the new gateway! WOO HOO we have working switches again. It keeps saying please update the firmware, but I don’t need to use the app now
Thankfully I only need switches upstairs where the 2nd gateway is… Just thought I would pass this info on.
1 really annoying issue with the older firmware. You cannot add the newer body motion/luminance sensors to a gateway with it. That has bugged me now. Spent ages trying to add several that I had working on the other gateway with new firmware… just wouldn’t add. tried back on the old gateway, straight in. Tried and older just motion sensor adds to both old and new firmware… ok I am annoyed!
Good question. I also have the same problem (with random PIR’s). The only way I can revert the state is deleting the database file (*.db in the homeassistant folder). Since the historic is not important i prefer losing that information and having the correct sensor working.
It’s a feature. HASS saves all states on shutdown and reconstructs the complete state on boot up. The result is a conserved state. If the gateway provides new data the new data is applied afterwards. If the gateway provides a wrong state for the PIR the wrong state remains.