Xiaomi & Aqara Devices - Pairing & Keeping them connected

Is anyone using Xiaomi motion sensors outdoors under cover. I am considering installing these under the eaves to activate outdoor lights etc. They won't get any direct sunlight or rain but I am not sure if they will last.

I had one outside for about a year with no problems. Probably similar conditions to yours: under a soffit, protected from rain and snow and at least midday sun. No problems for me! I figured they were cheap enough even if I did.

Note that if you use it during the day, you're likely to get a lot of "false positives" from the sun. I only used mine to activate lights at night, so no problems for me there, either.

That sounds promising. I will be putting it under the soffits as well.

I am going to have the same setup, it will only activate the lights after sunset so shouldn't have a problem.


Have one ready to put up on my covered porch, just have been waiting for the warmer weather. This is one that I converted with the 5 second hardware reset and I've added wires for external power.


That's interesting. I wasn't aware of either the hardware hack or the external power. I have read about the hardware hack and will give it a go. Can you share some information about external power hack as well. This will save me headache of replacing the batteries when they run out.

Sure. Order some of these. Choose 3v output with pins or w/o, your choice of course. Use the 5v output from any phone charger and you'll get 3v output for the motion sensor.

What you use is really up to what wire you have around to do the job, but here's what I'm using.

  1. I cut a charger cable in half that came with a phone charger battery pack. I like these because they're intended just for charging, and since it's less expensive to use only two wires, they're already marked for you. You have a red positive and a bare negative wire.

  2. Using the micro USB side of the cable, I soldered a short length of that cable (cut the micro USB plug off) to two small wires. I use 30 gage wrapping wire which I've had forever. Used a piece for the 5 second hack. Small insulated wire like this comes in real handy. I have this exact same spool in white. That's a good price too. The dispenser is great. You pull some wire out and press a button to trim off a piece. It has a little stripper built in too. Just lay the wire in it and pull, and it nicely strips off a bit of the very thin and flexible insulation.

  3. I next slid a short piece of 1/32 shrink tubing over one of the soldered connections so they can't short, then another longer piece of 1/16 shrink tubing to join the small wires together, and shrink that. Then a piece of larger shrink tubing, overlapping the 1/16 tubing and completing the junction between the charger cable and small wires. Shrink that with the heat gun.

  4. Drill a 1/16 hole at the back of the motion sensor housing, right in the center, and feed the wires through. Solder the small wires to the small board at the back of the sensor where the positive and negative battery contacts are soldered on. I left around 4 inches of wire so I could avoid accidentally burning the housing with the iron. Re-assemble the motion sensor, and the short length of charger cable gets soldered to whatever length of cable you have. CAT 3 would work fine. I'm using CAT 5e that's already in place for my Wyze cam and my doorbell button. I'm also using black for everything because I already have black wire up. Obviously you would use white for everything, including the shrink tubing, if that's what looks right on your house.

  5. On the other end, inside your home, attach the USB A end of the cable to the step down buck and the buck to the cable the leads back to your sensor.


Little unrelated, but how are people sticking Xiaomi sensors to the ceiling/wall. I have a few for the new house but not brave enough to use the double sided tape it came with. My concern is it won't come off clean if I need to remove/replace them in future. Any ideas?

1 Like

You are correct in being hesitant. I made the mistake and had to re-paint a bathroom. I use the 3M Command strips now. Its an added expense but between the money saved buying Xiaomi and not having to sand and re-paint, its worth it.

1 Like

I use the 3m tape as well.
Very good for light strip as well

1 Like

As wimpy as the double sided tape on these devices are, I would be surprised if you couldn't heat it up with a blow dryer or heat gun and get it off cleanly.

But that being said 3M command strips are also a good option, I've had very good luck with those not taking paint off when being removed. Although on some cheap chalky paint I have seen them leave a mark or discoloration.

1 Like

I have been using hot glue in some applications and it works great.

3M Command strips. Buy in bulk on Amazon for best prices.

Pro-tip: get the smallest size, and then cut them in half vertically to double the number of strip pairs that can be used:


Also: trim the "pull tab" for a near appearance if needed, all that is needed is enough to grab and gently pull down for removal from wall.


I bought some of this stuff to trim down. I haven't tried it yet, but it seems very similar to the stuff that Flic buttons use. Very sticky and washable so you can use it again and again.

I've used that Suction Cup Buddy product on actual suction cups that wouldn't stay attached to tile, and it's amazing. Has never once come off the tile since installing it.

Hmm, I thought this thread was about the radio connection, not the physical connection to the house :grinning:

True, but connected just the same. Besides, when I saw the OP divert the topic, that to me was the signal that it was OK to join in. :grinning:

Well, looking at how off-the-rails the Xiaomi / Aqara driver thread has gone recently, I've pretty much given up on staying on topic! :rofl:

But sure, I can change the thread title to "Xiaomi devices - are they pairing / saying connected / mounted on the wall for you?" :stuck_out_tongue_winking_eye:


The amount of enjoyement I'm getting out of hubitat & this community is worth way more than a lousy 100 bucks. This has got to absolutely be the best 100 I even spent


i am new with hubitat and setting up things. I have few aqara contact sensors which are working excellent. 1 temp sensor also working very well. 1 aqara motion sensor ( placed near temp sensor ) does not report activity ( reported last activity about 12 hours ago). I can still see this in devices.
Please help

your sensor has lost connection you will likely need a compatible repeater device such as an ikea repeater or an Xbee3
read the first post in this thread for compatible devices
If you have incompatible devices they may route through them and cause the aqara sensor to lose connection.

i have aqara temp sensor very next to motion sensor and that is sending normal. Is there any difference between signal reception of sensors

Download the Hubitat app