Xiaomi & Aqara Devices - Pairing & Keeping them connected

Thanks @aaiyar.
As yet I don't think the Tradfri outlets are available in Australia from what I can tell.
I actually have some old LED strip light drivers (about 3 years old) from Ikea which now come in a Tradfri flavour... I'm toying with the idea of replacing the old with the new...but more money.
From what I understand the drivers are repeaters.
I though the Tradfri bulbs were basically repeaters as well?
Did I have that wrong and they are just an end point?

Thanks @njanda.
That's the next challenge. Building out the mesh.
Which I'll assume I'll end up re-pairing\re-joining the sensors as it is expanded.

I've had win though. Sensors connected and reporting back. And the drivers auto detected perfectly. So thank you again @veeceeoh.

HE - From extreme lows (12+ hours of zero success) to the highs (temp and humidity being reported back from multiple points - oh the simple things for all you experienced HA people..:wink: )

As a note - the batteries the sensors came with are certainly towards the end of their life. The 2 temp sensors which I haven't replaced the batteries for report a 30-40% range, and the one that i put a new battery is responding with 100%. They still paired though... after whatever change and the umpteenth reboot.

3 Likes

They may be. In general, bulbs that repeat can destabilize a zigbee network if power is (accidentally) cut off to them.

Just an FYI, The battery percentage is a user defined preference in the driver. I tend to put more stock in the voltage reports which can be found in the past logs. My Aqara Temp/Humidity sensors are usually good down to about 2.75-2.65 volts.

I have the Trådfri version of the LED driver. I do not think it's a compatible Xiaomi repeater, but I'll fire up my Xbee later tonight and let you know for sure. The Outlet and dedicated repeater which are both Zigbee 3.0, but I doubt the Trådfri LED driver is. Will confirm for you.

There's a low cost Zigbee inline switch that @Cobra mentioned to another Australian user, but I cannot find the thread right now. If you're OK with wiring up power to it (doesn't actually need to have anything connected to the output), then he said they do repeat Xiaomi devices.

Andy, could you post a link to those please? I think the price was something like $18 AUD each

This was the thread I think.

Andy

Hey guys. I have an odd problem, where one of my xiaomi contact sensors doesn't seem to report correctly to hubitat. It connects fine, but I can't see the status of the contact. I can see in the logs that it's checking in, as well as the status/voltage of the battery though (which is 3.015V).

Hubitat has no problems recognizing which driver to use on pairing (i.e. the xiaomi contact sensor).

My other 3 contact sensors are working just fine, and do actually report the contact status. All sensors are supported with Ikea tradfri repeaters, so signal should be strong back to the hub.

I've tried rebooting, and re-pairing. Is there an obvious problem that I'm missing here?

Aqara's official stance on "low battery power" for all their sensors / buttons:

Under normal circumstances, less than 2800mv is considered to be low battery power.



I assume you have turned on both info and debug log message output and tried testing it by separating the magnet from the radio sensor half and then pressing them together again to see if any messages are received?

If yes and nothing happened with that kind of testing, then unfortunately given everything else you've explained I would have to guess it's probably a faulty unit with a non-working magnetic reed sensor. :frowning:

2 Likes

My aqara door / window sensors seem to work fine (had them in use over the past 48 hours) however my original button keeps disconnecting unfortunately.

Have you read at least the first post in this thread? You likely have "incompatible" repeaters that don't play well with Xiaomi devices, but there are a few things you need to pay attention to when using these. That post is a good summary.

4 Likes

Thanks for the reply. I managed to make it work. I currently don't have any repeaters at all. The sensor and button are connected directly to the HE.

Question: Should I be worried about the following line in my logs for a motion sensor:

Did you check all the rules that that motion sensor is associated with? Possibly something missing that was removed either intentionally or by mistake.

Nope. I just finished pairing it.
No rules at all (yet).

By the way, I have personally found that, in general, these Xiaomi devices, must be paired, in place, i.e. in the place where they are going to be.
I have found that if you move them around, (i.e. using a different Zigbee pathway), they tend to lose connection, and must be re-paired (or whatever is the correct term). Just a general observation.

Maybe a bad pairing then. Try redoing it. The Xiaomi are stable, once you get them stable if you get my drift :wink:

Indeed, I can confirm that once you get them stable, they are absolutely fine.
I have been very impressed with the Tradfri Zigbee repeaters - they seem to be much better than:
-SmartThings Zigbee outlet
-Iris 3210 outlet
Just my personal observation - I can't really say why.
(And to boot, they are very inexpensive!)

Just installed a Xiaomi motion sensor myself yesterday that was acting really flaky. I have an a Aqara hub so I paired it with that and it was fine. But on Hubitat it was misbehaving. All my other Xiaomi motion sensors paired with HE have not been a problem. I ended up doing the five second reset hack on that one, and had to set it to a 4 second refresh in the HE driver, otherwise it flipped constantly from active to inactive all by itself. All good now :grimacing:

I decided based on the attached picture, to put it outside(even though it's not the same make/model).
I will let everyone know, how it stands up to the elements, in our cold Canadian winter:

1 Like

I can tell you the batteries will let you down, but converting it to powered isn't difficult.

Just an update to this post. I used the Suction Cup Buddy disk to mount my Xiaomi Natural Gas Leak Detector to the side of my fridge, and it's been perfect for the job. It was already the correct size too. The sheets you can trim down however, are a slightly stiffer material and do not work as well. If I use these again, it will only be the disks, unless I can find a different supplier of the same material.