[Deprecated] Xiaomi / Aqara ZigBee device drivers (possibly may no longer be maintained)

Use this and it works perfectly.

I'm liking these devices! Thank you OP for putting all device drivers together!!

I have the Temp/Rh sensor, a few contact sensors (and more on the way!), and a motion sensor on also on the way. I'm replacing iris devices which were always loosing comm

First off, great drivers!

I have purchased the Xiaomi door Window Sensor Intelligent Mini Door Sensor Pocket Size and they work great with the Door/Window driver published on this thread.
image

I’m using these inside my crank style windows. They are really small! Small enough to fit in the casing which is great!

I installed the first of many before installing the driver. Had to press the button 2-3 times for it to register, but it worked. They were recognized after the first press, and the registration completed after the 2 or 3rd press. I noticed that it didn’t seem to complete (allow me to enter the device name) unless I pressed the button more than once.

Once completed, it registered as a device, but after installing the driver, the switch to the new driver was seamless and worked great!

The other devices were installed using the same process, but since the driver was now present, it picked-it up automatically.

After some time however, they disconnect from the network. I suspect it is because they get relayed through my Zigbee thermostats... I have multiple Zigbee sensors and also some Sinopé thermostats, all on Channel 20. I read in this thread that there could be an issue when the signal got routed through other devices. I’m able to reconnect them, but they all disconnect again, so I will look for another solution...

I have a second hub and will try linking them to that hub instead - it has no other Zigbee devices on it. Just hoping the sensors are not too far! (The hub is in a central location, so fingers crossed!)

I’ll provide an update once I have made progress. Also, input is always appreciated!

Have you tried if my driver keep them on the mesh better?

1 Like

I’ll have to look into that! Do you have a link to it? (I’ll start looking for it as soon as I’m done writing this!)

For some reason it doesn't show easily when searching for Xiaomi / Aqara, but here it is:

3 Likes

Will try it now and let you know how it goes in that thread. Thanks!

Just saw this in my logs. Might it be an unsupported temp/humidity version? :

Unhandled Event PLEASE REPORT TO DEV - description:catchall: 0104 0402 01 01 0040 00 BE77 00 00 0000 01 01 | msgMap:[raw:catchall: 0104 0402 01 01 0040 00 BE77 00 00 0000 01 01 , profileId:0104, clusterId:0402, clusterInt:1026, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:BE77, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[]]

This is just a broadcast message that can be ignored, it has been added to the next release. Thank you for reporting, which model is this?

It's a Xiaomi temp/humidity, round with a push button (not recessed).

Ok, I've never seen them send this before. Next release this will be filtered.

2 Likes

I recently moved my 3 buttons from the Mi Home gateway, just to try things out, and all 3 dropped off the zigbee network within 12 hours. They are spread round the house so I'm pretty sure that mesh is not the problem.
Model number is WXKG01LM.
I haven't done any investigations yet but was just wondering if anyone else has seen issues with these devices.
Thanks.

EDIT.
Found this in the past logs for one of the devices.

image

If you’re still experiencing issues, @gavin_robinson, I would bet my cat (I don’t have one) that it’s the wired Aqara wall switches giving you trouble. On my network things would randomly drop and stop responding. I took @markus advice to try without the wall switches in the network and everything is now working perfectly, including all of my Xiaomi battery devices alongside AlertMe and Tradfri kit.

I’m going to wait for his driver and keep them off this network for now. To stop them trying to reattach, because I can’t turn them off, I had to change Zigbee channel.

The setup is so reliable now I’m tempted to replace some physical switches with Xiaomi Aqara wireless wall switches and wire the ceiling lights on permanently with Tradfri lamps.

What other devices do you have on your Hubitat mesh? I have the WXKG03LM and WXKG11LM, so I don't have a direct comparison, but my recent experience just above has been that other, seemingly compatible, devices have caused issues.

My motion sensors, contact sensors and humidity/temp sensors, Xiaomi and Aqara, are rock solid. It's just these darn buttons. All devices are spread throughout the house which leads me away from the mesh.
This is why I asked specifically about the buttons.
I'll crack it. :+1:
EDIT. One of the buttons is now holding up ok. It's been 18hrs and all is good.
Getting closer. :wink:

EDIT 2. I even have a temp sensor in a freezer in my detached garage that is working brilliantly. I didn't realise they worked at -16.8 C!

While I was running these drivers I did have some issues with the gyro enabled button, it was the only thing that dropped regularly (couple of times a week, sometimes) while the motion and contact sensors were solid. I've since switched to @markus's driver release, it seems to have solved my issues as the button has been fine for nearly a month. In short, these drivers were excellent for everything except the button but I couldn't tell you why.

Just an update on my button issue.

Paired one up yesterday afternoon. Been working fine since.
Paired second one up this morning. Been working fine since.
Paired third one up this lunchtime. Been working fine since.
Maybe it was something to do with pairing them all up together. Who knows. They work and that is all that matters. (Tempting fate I know)!!!!!!!!!! :+1:

Thanks for the great drivers @markus.
I will continue to add more devices but at a slower rate. I love the presence capability.
image

2 Likes

I just thought I would post an update on here about this humidity/temp sensor.

image

@markus has released a series of drivers that include a "present/not present" capability.
These drivers will also try to get the device back on line should it drop off of your zigbee network.
As I wanted to try and use this capability on this device, Markus advised me to try his "Zigbee - Sonoff Temperature & Humidity Sensor".
I had a few issues initially but that was probably due to me playing with different drivers trying to get the presence to work.
When I changed to this driver, then did a re-pair of the device it worked and has been working faultlessly for the last 24 hrs.
I just thought I would post this info in case anyone else wants to try Markus's driver and get the facilities that his drivers provide.
Thanks.

EDIT: I was using the "Konke temp" driver mentioned in this post and this too was working faultlessly with no issues. Me being just wanted that little bit more.

2 Likes

I also have 2 of the Blitzwolf devices and I am also running @markus drivers and they have been working well so far, have had them connected for about 2 weeks now.

2 Likes

Has anyone had any luck including the Aqara WS-USC02?