[OBSOLETE] Original & Aqara Xiaomi Zigbee Sensors (contact, temp, motion, button, outlet, leak, etc)

I had this problem as well with Xiaomi Relay module. I know it is a switch module but it also show the temperature (a small bonus…). I did not change anything in the DTH and after few days it repaired by it self and showed the correct temperature.
I had also a problem with Alexa saying that this device is not responding after turning on or off the light. This problem also disappear after few days and now she just says OK…

I need some help with a bunch of new window sensors I bought from china:


I already had 2 of them working with the aqara device handler from bspranger, but when I tried to pair the new sensors all I managed was to create “thing” devices , which would not even report if the switch was on or off
I manage to get them working by adding the standard xiaomi window device handler , again from bspranger, but currently battery levels are not detected
Has anybody have been able to check these new sensors and develop a new device handler for them?

Thanks

Actually, forget my last entry: it seems now I can see battery levels, on smartthings, so all it required was some time ( 1 hour or more) to get the data

1 Like

Hello, I bought 2 Xiaomi aqara buttons and one of them instead of reporting the event single-clicked / pushed reports the battery status.

model: lum.sensor_Switch.aq2 (WXKG11LM orig)
I have a v2 hub

The event triggered by pressing the button

I hope someone can help me. Thanks in advance.
Francois

So, one of the buttons works correctly, and the other doesn’t?

My guess is that there is a hardware problem with the one sending a battery status instead of button push message.

Your screenshot shows the correct message for battery status, so the device handler is working correctly.

Maybe the small reset button (used for pairing) is stuck?

Hi all.

Are there any know issues with a smartthings + Xiaomi device handler?

I can seem to search and add devices (temp and door sensors) they show online. But i get no temp reading or any other activity…

Using the latest bspranger/Xiaomi

Hub v2
f/w 000.025.00032

Thank Keith. I didn’t see any problem with the pairing button. I removed the battery and reinstalled/repaired and still have the issue. I seems that the button is rebooting or something. I think there is an hardware issue with it.

You might want to try a completely new battery.

As of May 16, all my Xiaomi motion sensors and aqara flood sensor went offline simultaneously, and I can’t get them back online. Has anyone experienced something similar? I’ve tested my sensors haven’t run out of batteries, and I have Hub v2 (US) w/ Firmware 25.00032 / Zigbee v2.8.3 / Z-wave v6.04. I have also tried “repair z-wave network” from iPhone app.

I’ve been using A4refillpad’s DH for more than a year without any issues until last month.

Any suggestion?

Yep, mine did
I just tried one contact sensor first

This worked for me…
Did not remove anything from smart things
I just reset the contact sensor by holding in the reset button with a pin until I got the three flashes and then just stuck the app into ‘add’ thing and clicked the button every 3 seconds and it showed up after a little while

I have had 2 moisture sensors go offline recently and the above method works but I have found that the 3 times I have done this (in a row) the sensors drop off 2 days later.
The old method of removing and re-adding, which is more painful with routines/WebCore, seems to be more effective for me.

There are a number of reasons why Xiaomi / Aqara devices might go offline, but the DH (device handler) is not one of them. For all of them to go offline simultaneously, it’s likely because of either the hub being down for some hours or some kind of interference to the hub’s Zigbee network.

Xiaomi / Aqara motion sensors are ZigBee devices. Z-Wave is a completely different standard, and SmartThings hubs have a separate Z-Wave and ZigBee radios that operate separate mesh networks. So repairing the Z-Wave network will do absolutely nothing to help with ZigBee device issues.

If you were originally able to pair the motion sensors using the “normal” Add a Thing method, then you should be able to manually re-join them to your hub’s ZigBee network. Just go through the pairing process without removing them from your hub’s device list. So start Add a Thing in the mobile app, long-press the reset button on the motion sensor until the LED blinks, wait for the LED to blink again, and if it flashes several times the motion sensor should be connected again. If the LED flashes only once, then short-press the reset button, wait for the LED to flash, again watching for it to flash several times, and if it flashes once, keep short-pressing the reset button until the response is several flashes.

If you originally used the so-called “catchall” method, then the motion sensors will need to be removed from your device list and paired again as “new” devices. If you’re not sure which method you used, I’d try manually re-joining them first (as explained in the above paragraph) and if that doesn’t work, then remove them from the device list and pair as new devices.



If any Xiaomi / Aqara device is dropping off the network some hours / days later, then they are probably connecting to the SmartThings Hub via an “incompatible” ZigBee repeater device.

ZigBee repeater devices are most AC-powered ZigBee devices, with the exception of some smart bulbs such as Singled bulbs. Repeaters are normally helpful, because the extend the range and reliability of a ZigBee network, but unfortunately Xiaomi / Aqara devices don’t follow the ZigBee standards 100% and in cases where their network connection is dropped, they don’t rejoin as requested by the repeater as all other ZigBee compliant devices do.

So, do you have any AC-powered ZigBee devices?



There are no known issues with the latest Xiaomi Temp-Humidity Sensor device handler like what you’re describing.

What messages are you seeing for the Temp-Humidity Sensor in the Live Logging window of the IDE?

1 Like

Yes I’m aware of the repeater issue when pairing and I move the devices next to the hub when I re-add them. I figured the RSSI would be high enough to drown out any repeaters. I do have the offending ZigBee light bulbs from SengLED and I think these repeat.

Anyone know if this works with v3 hub?

Hi There,
Completely new here so sorry for my potentially silly questions.
I’ve just ordered a Smarthings V2 hub which should arrive somewhere today, looking forward to start playing around with it!

That said I am also planning to replace my current (in wall) light switches with some Aqara ones, I was mainly looking at these: No Neutral Dual Wall Switch (QBKG03LM) to be able to control my current lights. But after stumbling upon this topic I’ve grown a bit concerned as to how well this will be working. I’m mainly reading about the wireless switches, and even that support seems to be iffy. But some of these posts also date back quite a bit so things might have changed as well.

All I’m wondering is if I will be able to connect these devices to the smart things hub and if I will be able to use both the left and right button with a custom DH?
Sorry if this has already been answered but it’s quite hard to find a straight, up to date, answer for a newbie like me. :slight_smile:

This is not guaranteed to work, because after moving the Xiaomi / Aqara devices into their final location, they may still try to switch over to a repeater with a stronger signal than the hub, and if the repeater isn’t “compatible”, then those Xiaomi / Aqara devices will either drop off the network or exhibit other strange behaviors, such as messages being dropped by the repeater.

The best practice is to simply only use repeaters known to work with Xiaomi / Aqara devices, and pair them in the location where they will “live”, rather than near the hub.

Sengled bulbs do not work as repeaters:

Our Element bulbs were designed to be used as Zigbee end devices only. Our engineers made this distinction as repeaters require constant power, but people still tend to power off their bulbs with wall switches when leaving a room. With no power to the repeater, other end devices may disconnect. The fact that our Element bulbs are not repeaters also ensures that your Zigbee Mesh Network doesn’t become overcrowded, which would delay any user controls.



Aqara / Xiaomi devices have been reported to work with the v3 hub, however the older SmartThings “Classic” mobile app must be used for full functionality and compatibility.



The device handlers for the mains-powered Aqara Zigbee wireless light switches are not available in the repository linked in the first post of this thread. However, other community users have built device handlers, and as I understand it, have had success with getting the no-neutral Aqara Wireless Wall Switch model QBKG03LM working. I suggest reading through this other thread for more information (especially looking at the most recent posts at the end):

Good luck!

Hello I have temperature sensor, door sensor and switch.

The problem is the sensors disconnect and connect again after a time (about 30 minutes) or when I push the switch, the disconnection is random, sometimes disconnects one and other times another. The door sensor disconnect an connect itself.

Some idea?

I have a hub v3.

I use this DH
Aqara Button - models WXKG11LM (original & new revision) / WXKG12LM

  • Device Handler for SmartThings - Firmware version 25.20 and newer ONLY
  • Version 1.4.2b

Xiaomi Aqara Door/Window Sensor

  • Version 1.1

  • Xiaomi Aqara Temperature Humidity Sensor

  • Version 1.3

Probably this:

If you were originally able to pair the motion sensors using the “normal” Add a Thing method, then you should be able to manually re-join them to your hub’s ZigBee network. Just go through the pairing process without removing them from your hub’s device list. So start Add a Thing in the mobile app, long-press the reset button on the motion sensor until the LED blinks, wait for the LED to blink again, and if it flashes several times the motion sensor should be connected again. If the LED flashes only once, then short-press the reset button, wait for the LED to flash, again watching for it to flash several times, and if it flashes once, keep short-pressing the reset button until the response is several flashes.

If you originally used the so-called “catchall” method, then the motion sensors will need to be removed from your device list and paired again as “new” devices. If you’re not sure which method you used, I’d try manually re-joining them first (as explained in the above paragraph) and if that doesn’t work, then remove them from the device list and pair as new devices.

I have added my sensors using the Catchall method more than a year ago.
I tried both reset / remove+add but no luck yet.
What’s funny is that I had a brand new xiaomi motion sensor, and I tried the catchall method on this device, but after struggling for 30 minutes, I’ve given up. I’m not seeing any catchall events.

I’ve updated my DH from the original a4refillpad’s version from 2 years ago to bspranger’s v1.1 from a year ago, and tried again, but still no luck.

I’ve also tried to enable Allow OTA and Allot OTA for lights under ZigBee Utilities, but still no luck.
My 3 sec reset is always followed by 3 blinking lights, and after release, I see 1 blinking light, 3-4 sec of pause, followed by another 1 blinking. Not sure what to do any more.

Hello,I have osram plug this. Osram Smart Enchufe 036239, 240 V, Blanco, Lote de 1 https://www.amazon.es/dp/B074PZLX2P/ref=cm_sw_r_cp_apa_i_Qf6-CbJF5V5RB

After read your post I have installed a bulb ikea, from yesterday all devices work well, on one week I tell you if this solution works.

Lot of thanks