Xiaomi Motion Sensor - no motion_sensor on the list (illumination works fine)

Hi,

I’ve added Xiaomi Motion Sensor in Mi app and I can see it that it’s working. After a while a sensor.illumination_7c49eb1d1e26 showed up and is reporting the status properly. But I don’t see binary_sensor.motion_sensor on the devices list even though I see HA receiving the motion information for Aqara gateway.

2019-01-17 23:01:12 DEBUG (Thread-8) [xiaomi_gateway] MCAST (report) << {'cmd': 'report', 'model': 'sensor_motion.aq2', 'sid': '158d0002b8d13f', 'short_id': 54594, 'data': '{"no_motion":"600"}'}
2019-01-17 23:06:57 DEBUG (Thread-8) [xiaomi_gateway] MCAST (report) << {'cmd': 'report', 'model': 'sensor_motion.aq2', 'sid': '158d0002b8d13f', 'short_id': 54594, 'data': '{"lux":"25"}'}
2019-01-17 23:06:57 DEBUG (Thread-8) [xiaomi_gateway] MCAST (report) << {'cmd': 'report', 'model': 'sensor_motion.aq2', 'sid': '158d0002b8d13f', 'short_id': 54594, 'data': '{"status":"motion"}'}
2019-01-17 23:08:57 DEBUG (Thread-8) [xiaomi_gateway] MCAST (report) << {'cmd': 'report', 'model': 'sensor_motion.aq2', 'sid': '158d0002b8d13f', 'short_id': 54594, 'data': '{"no_motion":"120"}'}

Any ideas what to do so it would show up?

There is no binary_sensor.motion_7c49eb1d1e26? Which version of Home Assistant do you use? Could you provide a more complete log? If you start Home Assistant all registered entities will be reported.

After waiting for a day and restarting the HA for the X time the sensor appeared, but under a different id. Oh well, better late then never :slight_smile: