Xiaomi & Aqara Devices - Pairing & Keeping them connected

Just changed the batteries. When I went to re-pair the device it came up as 'Previously Discovered Device' so good sign so far. Didn't do that the last time.

Lets see how long it lasts.

EDIT. just to say that it has been 10 days and this device is still working. It may have been the batteries after all.

1 Like

Dear clever community!

So - I went ahead and bought the Aqara gateway (ZHWG11LM) which at the same time is a speaker and a 'color bulb'.

I want to use the speaker part as a siren to HSM.

I've tried to initiate pairing a couple of times - but it seems 'only' to want the Aqara native app. on my phone/Ipad - is there any way of connecting it to HE?

https://www.gearbest.com/access-control/pp_009984932110.html

If you are very lucky, it will work with @fison67's MiConnector app (you'll need an RPi or equivalent to get this to work):

Otherwise, if you have a Homekit setup, it may be possible to use homebridge and virtual devices to use it in Hubitat. I just started using Homekit/Homebridge, so I have no idea how to get this to work, but @SmartHomePrimer will know what to do (or if it is possible).

2 Likes

Aqara sirens in HomeKit can only be triggered by an Aqara device like a contact sensor or a motion sensor. I have a Xiaomi relay (Paired to HE) triggering a regular relay, and that closes contacts that then trigger a Xiaomi contact sensor. :crazy_face: Crazy, but it works.

3 Likes

I’ll go ahead and try the MiConnector app.

I also have a couple of Aqara window sensors and ‘buttons’ (the Zigbee ones) - these are all connected to HE. In fact I wanted one of the buttons to function as ‘doorbell’ when someone hits the button - and as a siren together triggered by HSM.

I’ll see when diving into the MiConnector ... will update thread

Thanks @aaiyar and @SmartHomePrimer...

1 Like

Those interested in building an Xbee3 as an Aqara-compatible repeater will find this post by @rsjaffe very helpful:

Here's an oddity, or at least it is to me as a newbie here.

Mesh is looking pretty good, so decided to pair a couple of Xiaomi devices; one WXKG11LM button and one WXKG03LM wireless wall switch. They pair very easily and work perfectly... until they don't. Usually after an hour or three they stop appearing in the Zigbee Log when pressed and the LEDs on the bottom of the wall switch give me a couple of flashes.

However, looking in the Device Information I see this:

The 'Last Activity At' is absolutely right - when I press the button or wall switch this updates, every time, for both devices, even when left for long periods. But nothing in the Zigbee Logs. In the Live Log I repeatedly get this though:

dev:48 2020-06-26 18:45:55.085 debugsendZigbeeCommands(cmd=[he raw 0x01DB 1 0x01 0x0000 {10 00 00 04 00}, delay 2000])
dev:48 2020-06-26 18:45:55.075 debugreconnectEvent()

I'm using @markus's " Zigbee - Xiaomi/Aqara/Opple Button/Switch/Remote" driver for these and have tried others, but with no greater success.

So, what gives? How can they apparently be on the network, but not working? Weird.

Due to how my drivers work Last Activity At does no coincide with actual device activity. The only thing that matters is the Presence attribute. This is how my drivers work, and not a general thing.

What I see in the log there is that the driver has entered recovery mode and is trying to get the device back online. This doesn't always work and depends on why it fell off.
The issue is not with the driver, it is with how these devices don't work well with many repeating devices. To be able to say more a list of all your repeating devices would be needed and how many non-repeating devices you have in your mesh.

1 Like

Thanks for the speedy response! Right now there is only one type of repeating device in my network; the UK version of the Iris V1 Outlet. These boys:

They're connected with the normal Iris V1 Outlet driver and generally behave really well. There are 16 of them forming the mesh right now, in a town house, so none are particularly distant. Here's a snapshot of the Zigbee Log right now:

Loft Lights2020-06-26 19:14:05.372 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Servers2020-06-26 19:14:04.562 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Study Workbench2020-06-26 19:14:04.444 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Strobe2020-06-26 19:14:04.336 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-76
Living Room Lamp2020-06-26 19:14:04.327 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-83
Garage Twinklies2020-06-26 19:14:03.216 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Chargers2020-06-26 19:14:02.907 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Study Workbench2020-06-26 19:14:02.899 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Study Computer2020-06-26 19:14:02.693 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Living Room Lamp2020-06-26 19:14:02.589 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-83
Kitchenframe2020-06-26 19:14:02.583 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-71
Festoon Lights2020-06-26 19:14:01.873 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Test Plug2020-06-26 19:14:01.058 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Dining Room AV2020-06-26 19:14:01.040 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Study Desk2020-06-26 19:13:59.522 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Study Desk2020-06-26 19:13:59.216 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-72
Study Computer2020-06-26 19:13:57.698 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Test Plug2020-06-26 19:13:57.088 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Loft Lights2020-06-26 19:13:57.074 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Festoon Lights2020-06-26 19:13:56.764 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Living Room AV2020-06-26 19:13:56.253 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-76
Wall Twinklies2020-06-26 19:13:55.944 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Dining Room AV2020-06-26 19:13:55.735 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Loft Lights2020-06-26 19:13:55.426 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Servers2020-06-26 19:13:54.617 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Servers2020-06-26 19:13:54.301 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Strobe2020-06-26 19:13:54.294 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-76
Strobe2020-06-26 19:13:53.884 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-76
Garage Twinklies2020-06-26 19:13:53.272 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Study Workbench2020-06-26 19:13:52.963 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Chargers2020-06-26 19:13:52.943 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Living Room AV2020-06-26 19:13:52.834 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-76
Garage Twinklies2020-06-26 19:13:52.825 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Chargers2020-06-26 19:13:52.717 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Living Room Lamp2020-06-26 19:13:52.609 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-83
Kitchenframe2020-06-26 19:13:52.601 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-71
Festoon Lights2020-06-26 19:13:51.988 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Study Computer2020-06-26 19:13:51.780 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Dining Room AV2020-06-26 19:13:51.068 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Study Desk2020-06-26 19:13:49.651 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Living Room AV2020-06-26 19:13:47.834 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-76
Study Computer2020-06-26 19:13:47.726 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:237, lastHopRssi:-84
Test Plug2020-06-26 19:13:47.117 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Living Room AV2020-06-26 19:13:46.204 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-76
Wall Twinklies2020-06-26 19:13:45.895 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Loft Lights2020-06-26 19:13:45.387 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-76
Servers2020-06-26 19:13:44.572 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-83
Strobe2020-06-26 19:13:44.265 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-76
Garage Twinklies2020-06-26 19:13:43.251 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Chargers2020-06-26 19:13:42.944 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:249, lastHopRssi:-84
Study Workbench2020-06-26 19:13:42.839 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-70
Strobe2020-06-26 19:13:42.823 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-76
Kitchenframe2020-06-26 19:13:42.817 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-71
Living Room Lamp2020-06-26 19:13:42.609 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:249, lastHopRssi:-82
Kitchenframe2020-06-26 19:13:42.502 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-71
Festoon Lights2020-06-26 19:13:41.894 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Dining Room AV2020-06-26 19:13:40.980 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-76
Servers2020-06-26 19:13:40.271 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-83
Study Desk2020-06-26 19:13:39.557 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-84
Study Computer2020-06-26 19:13:37.739 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-84
Test Plug2020-06-26 19:13:37.128 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Wall Twinklies2020-06-26 19:13:37.021 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Living Room AV2020-06-26 19:13:36.207 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-76
Wall Twinklies2020-06-26 19:13:35.992 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73
Loft Lights2020-06-26 19:13:35.383 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-76
Servers2020-06-26 19:13:34.573 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:254, lastHopRssi:-83
Study Workbench2020-06-26 19:13:34.354 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-70
Living Room Lamp2020-06-26 19:13:34.249 profileId:0xc216, clusterId:0xf0, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:247, lastHopRssi:-82
Strobe2020-06-26 19:13:34.245 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-76
Garage Twinklies2020-06-26 19:13:33.232 profileId:0xc216, clusterId:0xef, sourceEndpoint:2, destinationEndpoint:2 , groupId:0, lastHopLqi:255, lastHopRssi:-73

There are currently no other non-repeating devices in the mesh, as I've only had the hub up and running a couple of days. Thought I'd dip my toe into the end point water seeing how well the plugs were behaving.

Just in case it's useful:

Parent child parameters
EzspGetParentChildParametersResponse [childCount=0, parentEui64=0000000000000000, parentNodeId=65535]

Child Data

Neighbor Table Entry
[Living Room Lamp, 0664], LQI:253, age:4, inCost:3, outCost:3
[Loft Lights, 27EF], LQI:156, age:4, inCost:7, outCost:5
[Living Room AV, 37BB], LQI:172, age:7, inCost:7, outCost:0
[Study Computer, 63D3], LQI:175, age:4, inCost:7, outCost:7
[Strobe, 666F], LQI:254, age:4, inCost:1, outCost:5
[Dining Room AV, 69EC], LQI:212, age:4, inCost:5, outCost:3
[Test Plug, 8A70], LQI:254, age:4, inCost:1, outCost:3
[Servers, 8C3E], LQI:254, age:4, inCost:1, outCost:3
[OpenFrame, B56B], LQI:67, age:5, inCost:7, outCost:5
[Kitchenframe, BBE0], LQI:250, age:4, inCost:3, outCost:1
[Study Workbench, C475], LQI:254, age:4, inCost:1, outCost:3
[Chargers, DF0E], LQI:252, age:4, inCost:3, outCost:5
[Study Desk, FCFA], LQI:66, age:7, inCost:7, outCost:0

Route Table Entry
status:In Discovery, age:0, routeRecordState:2, concentratorType:High Ram, [null, 0000] via [Living Room Lamp, 0664]
status:In Discovery, age:0, routeRecordState:0, concentratorType:None, [Study Button, CFFE] via [Living Room Lamp, 0664]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Test Plug, 8A70] via [OpenFrame, B56B]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Strobe, 666F] via [Strobe, 666F]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Kitchenframe, BBE0] via [Kitchenframe, BBE0]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Chargers, DF0E] via [Living Room Lamp, 0664]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Servers, 8C3E] via [OpenFrame, B56B]
status:Unused
status:Active, age:64, routeRecordState:0, concentratorType:None, [Living Room AV, 37BB] via [Strobe, 666F]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Study Computer, 63D3] via [Study Workbench, C475]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Wall Twinklies, 86AA] via [Study Workbench, C475]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Festoon Lights, 4F40] via [Study Workbench, C475]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Loft Lights, 27EF] via [Study Workbench, C475]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Study Desk, FCFA] via [Study Desk, FCFA]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Garage Twinklies, 0FDD] via [Study Workbench, C475]
status:Active, age:64, routeRecordState:0, concentratorType:None, [Dining Room AV, 69EC] via [Dining Room AV, 69EC]

Apologies, they're not the most readable logs in the world there.

I'm sure someone in the UK can tell you how well these work with Xiaomi/Aqara? @Royski?

I'm going to bed, but I do want to say that an RSSI below -75 is often problematic. This is directly to the hub, so doesn't really tell you how it is in the rest of your mesh. For example, most of mine are -67 and above, but some are worse, but I know they run through other repeaters anyway. We can try to find a reason as to the why, in theory your mesh should be ok. We'll also have to see what your fellow Brits say about those plugs with Xiaomi/Aqara. Do you have any repeaters close to your hub? Like 50-60 centimeters away, or at the very least in the same room? If not, I'd get a known good repeater and put it there, like an IKEA Repeater (better than the IKEA Outlets).

2 Likes

Thanks again; I've been using these plugs (well, fewer of them, they've multiplied over time) since 2009 in this house, so I should be able to get them behaving again! Interesting that they all look a bit low compared to what you'd expect though.

Yes, there's one in the same room no more than a metre from the hub. Next nearest is about four or five metres away, but I could get another very close if needs be.

So, the IKEA repeaters are okay? I tried the IKEA outlets when using the Systronics RF system and they were awful. Absolutely hopeless, in fact - they all went back. I've also got a pile of Salus SP600 plugs sat behind me. They were fantastic for signal, but gave me no end of trouble with the Xiaomi QBKG03LM and QBKG04LM. They might be worth another roll of the dice with Hubitat, though. I never tried the WXKG03LM because there were no drivers for it on SRF.

For short answer, Xiaomi Devices does not play nice with older Zigbee Router. The xiaomi will pair just fine. Then, it will drop out of mesh after a few hours.

If these are your first Xiaomi devices on the network, it is probably due to the common problem that member are experiencing here. Your described symptom also sound very familiar to those that had issue with Xiaomi devices dropping out of Mesh. If you are seeing this drop off consistently, I suggest that you refer to the first post. There are information such as compatible repeater that you can add to help with the Xiaomi devices.

2 Likes

Thanks, so if the problem does turn out to be an issue with these SPG100 outlets as repeaters it's possible to keep them in the network and supplement with known-Xiaomi-friendly ones?

On the Systronics RF platform there was a way to specify the routing for any given device. Is that possible with Hubitat?

I'm tempted by the XBee option, I'm sure I have some around here. I also have four unemployed Digi XSticks I would be very happy to repurpose, if they're any good as repeaters.

Also, is there any way map the network, as I'd like to see whether that one nearest the hub is actually talking directly to the hub, not to some random other repeater! The SRF system had this:

That's a screenshot of my old system as I was building it.

In Zigbee, one probably cannot specify a specific route. In any mesh network, there is a design that would let devices to look for new route when the route become unavailable. In reality, a Zigbee sleepy end devices (the xiaomi's) will likely to stick with a parent as long as it can reach the parent.

During the pairing process, you can try to move the xiaomi device closer to the compatible parent. If you manage to have the xiaomi device associate to the compatible parent, yes, the xiaomi device will likely stick to this compatible parent. But the pairing process is not explicit. It is not like you can say please associate to this or that repeater. In my experience, it is not hard. But, again fundamentally it is a semi random process of picking up a parent.

If you add compatible repeater, it will help because you increase the chance of your xiaomi devices to associate to the right parent. This is not full proof when you have a mix of compatible and incompatible repeater. The same issue may happen again when you have power outage. A perfect route may be altered when the power goes back up. You can minimize the issue when you have battery backed up repeater.

There are plenty of member use Xbee to solve this issue. Xbee has a lot of variant. Just make sure that you pay attention on which Xbee you have. Xbee can map your Zigbee network as well.

2 Likes

I'm surprised to hear that. I thought the controller just handed the packet to the end device or first router, but didn't specify the path beyond the first router ....

Makes sense, cheers - I'll investigate the repeater options and gauge it against whether it's worth keeping the Xiaomi devices around. They're an attractive piece of kit, well priced and the right size for UK light switch back boxes. But if I have to replace all of my outlets or buy an additional hub, it may not be worth it.

I saw @mike.maxwell on the most recent Hubitat Live saying that official Aurora AOne support may be on its way for some of their products, including their outlets and dimmers. However, their prices are much higher and for some reason they only have dimmers - no on/off light switches (!) - and I know of no other company offering a UK-compatible product right now.

Yeah, just been digging for a screenshot but it's eluding me and the system is powered off now. There was a section which allowed you to configure 'Static' or 'Network' routing.

It would take some time to kick in; I'd set a static route and come back the next day and it would usually have taken hold. There were a bunch of visualisation tools built in to show how the mesh was constructed, which was very handy.

You could only specify one hop, but of course you could construct a full path from hub to end point by statically assigning each device in the chain.

1 Like

Hi andydvsn

I have about 10 Xiaomi devices from motion sensors to a few buttons and a window/door sensor. I also followed the advice here and bought the Ikea Tradfri repeaters and they are working very well. I was using the Sonoff basic zigbee version and as soon as I connected up the Xiaomi devices the zigbee mesh would constantly keep changing. I also read that the LQI in your Neighbor Table entry should be as close to 255 as possible, someone said that if they below 200 you will have a problem? Not sure if this is true or not?

2 Likes

The XSticks work well as repeaters.

If you put an XStick into your computer you will be able to run Digi's XCTU (it's free) and map out your ZigBee network. Can be very interesting !!!!

2 Likes

I'd heard similar, though I'm not sure what to do with it when the same model of outlet positioned 30cms apart report LQIs of 66 and 254! And they both work! :slight_smile:

Looking at them on the Zigbee Logs, my two worst and best in close proximity to one another actually both show lastHopLqi as 255 and lastHopRssi as -70ish, which is okay, I believe?

Cool, do you have any info on the settings to use in XCTU? I've downloaded the 'legacy' firmware to get my XStick into router mode, but have become unstuck at this marvellous sight.

I'm changing tack a little too; I've been trying these battery devices, but I used to have the mains powered devices working pretty reliably. So, I've re-paired my ground floor QBKG03LM and QBKG04LM switches - they're all checking in every minute or so right now using @guyeeba's driver. Let's see if they're still there in the morning.

If they are, then I can live without the battery devices so long as I can find a way to do two-way control on stair lights and hallways with no neutral. My plan was to hook up one end of the two-way circuit to a QBKG04LM as the control and at the other end terminate the wires and use a battery WXKG11LM to control the QBKG04LM. Maybe there's a way to achieve this, I'm just not sure how. I assume no-neutral devices essentially use circuit leakage current through the lamp to stay powered.