[OBSOLETE] Xioami Zigbee Door/Window Sensor, Motion Sensor, & Smart Button Device Type

I see many reports of Xiaomi motion sensor working, I have v2 hub with latest firmware but after a couple of hours it stopped working. No more motion events. I copied the device handler from the first post in the thread. Did I miss anything?

Thanks for any help.

Use my latest DH.
Take your time pairing. Give it time to respond. 6 sec.
Don’t pair via catch all.
Turn off all other zigbee routing devices.
Make sure your Wi-Fi and zigbee are not at the same frequency.


Wow…great hints. Thanks a lot @ArstenA

I know what my wifi channel is, how do I know what is the zigbee one?

What is the best method to pair, if I go to manual add, is there a way to select the DH?

Sorry, where can I find your DH?

Thank you…

Your zigbee channel can be found in the web ide under your hub properties. Then Google the zigbee channels vs frequencies.

1 Like

There must be 20 different tips on pairing these things, so it won’t hurt to throw in one more. :slight_smile: I’ve observed this during pairing on multiple occasions but have never seen it mentioned here:

In the ST “searching for new devices” screen, after furious button pushes, no new device is recognized. It gives all assistance of failure. But if I back out of the screen, the new device appears notwithstanding the aforementioned searching screen.

1 Like

A good point, for the new comers to ST this issue is not just related to these sensors, it can happen with any sensor. It is more of a issue with the app.

As Charles quite rightly points out though, it does happen so it is worth checking the list once you ‘give up’ pressing that button :slight_smile:

I’ve bought a couple of Xiaomi motion and door sensors. Out of the box, they seemed to be ideal. They paired really easily and appeared to work well - thanks to the people involved in writing the device handlers!

After a few days, a couple dropped off. Re pairing was a little more difficult, however they started working again. It seemed that they’d fall off the network if another ZigBee network was present when pairing. I switched off all my hue devices and re paired, and left the sensors by the smartthings hub for 24 hours. Also, I switched off device health.

The issue I now have is range. They don’t seem to use the network created by my hue and smartthings plugs. The range seems to be determined by proximity to the smartthings hub.

Is there any solution?

Power off your ST hub for 30 minutes then power it back up, this will cause Zigbee devices to panic and search for a new route which will rebuild the mesh. Give the system some time to rebuild

It’s a good idea to do this whenever adding Zigbee devices.

Hi Mark,

Which DH are you using? I tried both Brain’s and a4Refill DH and can’t find a setting to enter the timeout? In the settings of the motion sensor I see the section for timeout but no text entry field.

Hi Mark.
Which DH are you using.
No matter what I have the timer setting at, mine have a blind time of 1 minute.

Ta, I’ll try that.

Daft question, do I need to remove the AA batteries or just remove mains power? Also, should I power down the Hue Hub also?

Remove all power, batteries too. Hue hub shouldn’t matter.

I just switched to your DH. Thanks for putting it out and maintaining it.

I have two Xiaomi aqara sensor that work fine. I have one Xiaomi sensors the round one that eats through batteries in two weeks. I not sure if anyone has had this issue

No idea if this is relevant - but I came across a some documentation (a translation of the Chinese manual) which I don’t have at hand - sorry!!! But it seems that certain button presses put it into “test mode” - during which time it has instant response - I’ve always seen this when first pairing. The manual stated that after two hours it would go back to regular response (1 minute). This has always been my experience. Curious - does it keep at instant response for you now, after you did this initial test?


Out of the three Original Xiaomi Smart Human Body Sensor devices I had recently activated, I’m not thrilled with the performance.

I’m not sure whether it’s related to the Device Handler or the device itself but I’ve noticed that the status in the Things view in my app doesn’t always change from “no motion” to “motion” when I am testing it out. However, it seems like the device is actually registering motion if I go into the device’s detail view and look at the last motion date/time.

I’ve placed two of the three outdoors (connected to webCoRE to send SMS to track movement in a restricted area) and it seems like one was going off literally any time the wind blows, at times happening once per minute. I have no idea if it’s seeing shadows (which wouldn’t make sense) or if there’s ants or something crawling in front of or on it, but it was driving me inside. The other one seems to go off appropriately. However, overall, I do wonder how often they are registering true motion as when I’ve passed by both then back again 30-45 seconds later to test, an SMS hadn’t always sent to me for each pass by. Both devices are set to 3 seconds via the Device Handler.

In any case, while I’m glad I got them for $9.99, I wouldn’t rely too heavily on trusting these sensors.

1 Like

I have started an all inclusive thread for the Xiaomi Zigbee sensors. Please refer to this thread.

For futher discussion please refer to the thread above.

1 Like

I think the reason they wouldn’t send you the SMS on both passes, if they were 30-45 seconds apart, is because they take 60 seconds to reset. Even if you configure it to show inactive in a shorter period of time, it won’t report a new instance of motion until 60 seconds after inactivity begins. At least that’s my understanding. If you drive by with a 65 second gap, you’ll get your SMS on both passes.

Yep. You’re absolutely right. When I was testing it out, I read the description on the Thing’s setting page within the ST app and realized it needed 60 seconds between passes for it to register.

Hello I wonder if you could help if this is possible ?Have you any plans to intergrate xiaomi gateway with smartthings to possibly use the light and siren as this would open up a lot of aplications for everyone using your device handlers many thanks

1 Like