Last night everything worked perfectly (sensor events are picked up by HA, and I could use it to activate triggers).
This morning, the mi sensor events stopped flowing to HA. I looked at the HA logs, it doesn’t pick up the events it used to pick up yesterday. For example, the following was from yesterday when motion was detected and picked up by HA:
2018-08-20 20:23:21 INFO (MainThread) [homeassistant.core] Bus:Handling <Event motion[L]: entity_id=binary_sensor.motion_sensor_158d0001d90a65>
2018-08-20 20:23:21 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state binary_sensor.motion_sensor_158d0001d90a65=off; friendly_name=Motion Sensor_158d0001d90a65, device_class=motion, No motion since=0 @
I tried the following this afternoon:
- Unpair the sensor and pair with the gateway again
- Unpair gateway with wifi, and paired again
- Updated the wifi key on gateway (via app), and updated its config in HA config, restarted HA
I’m seeing the sensor appearing in HA, but HA is not picking up the sensor events. I checked the Mi Home app … and it does show the events picked up by the gateway, showing in the app, just not in HA.
Where else should I be looking?