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

But please make sure use DH by bspranger

That’s great news - thanks for reporting it!



Just to be clear, you are talking about the “virtual button” in the SmartThings Classic App user interface for your buttons, right? If yes, I have fixed that in a new beta release (see below).

However, because you have the original revision of the 1-button model WXKG03LM Aqara Wireless Remote Switch which reports the ZigBee product ID lumi.sensor_86sw1, it does not support double-click or hold in the hardware. Only the new revision that reports the ZigBee product ID lumi.remote.b186acn01 supports single/double-click and hold.



Information about new revisions of Aqara Wireless Remote Switches

As identified in my chart of Xiaomi’s ZigBee devices a few posts above, there are new 2018 revisions of the Aqara Wireless Remote Switches. After some research, I have found out the following information:

The new revisions of the Aqara Wireless Remote Switches (1-button model WXKG03LM and 2- button model WXKG02LM) are known as the “international version” and are designed to work with Xiaomi’s Aqara’s new Apple HomeKit bridge-capable hub.

The boxes of the new revision ZigBee button devices will have CE and RoHS logos, and the EAN-13 code for the new model WXKG02LM is 6 970504 210516 (while the previous revision’s code was 6 970504 210049.) However, once removed from their boxes, the only way to identify whether you are using the old 2016 or new 2018 revision is by looking at the ZigBee product ID, which is listed as “model” in the device details page of a successfully paired device in your SmartThings IDE, like this:

ee88093a4299dc05d820279868b8df410c6e01c2

The new revision of the 1-button model is identified with lumi.remote.b186acn01 and the new 2-button model as lumi.remote.b286acn01. Both of them now support single-click, double-click, and hold in hardware; however, the 2-button model is still only recognized as one button due to the limitation in SmartThings of not recognizing ZigBee messages from different endpoints.

One of my sources of information on these new revisions of the Aqara Wireless Remote Switches claims that they can be purchased from this seller on AliExpress - however, there is no guarantee you won’t receive one of the older revision models.



[BETA] Xiaomi Aqara Button SmartThings DTH v1.3.5b

This release adds untested support for the new revision of the 2-button Aqara Wireless Smart Wall Switch model WXKG02LM, which has single/double-click and hold support. It also fixes the issue reported by @AnubizDK with the “virtual button” that can be used in the SmartThings “Classic” mobile app UI for the button.

The updated DTH code can be copied directly from here.

Changes:

  • pressing the virtual app button now correctly creates a button 1 - pressed event
  • added a check for unknown button model in init() which result in numberOfButtons being set to 3 to accommodate all possible button types.
  • edited compatibility notes in header section of DTH for clarity
  • added fingerprints for new revisions of models WXKG03LM (ZigBee model lumi.remote.b186acn01) and WXKG02LM (ZigBee product ID lumi.remote.b286acn01)
  • added UNTESTED support for new revision of 2-button Aqara Wireless Remote Switch WXKG03LM (product ID lumi.remote.b286acn01) with single-press, double-press, and hold functions, although both buttons are only recognized as one button due to a limitation in SmartThings
  • edited code comments for clarity on functions of different models

Isn’t it technically’s Lumi’s AQara Homekit bridge? The Xiaomi Mi platform doesn’t have a Homekit compatible hub AFAIK.

I have always been of the understanding that Aqara is just one of many of Xiaomi’s sub-brands.

Either way, it is an Aqara-branded hub that acts as a HomeKit bridge, though apparently it can be added in the Xiaomi Mi Home app, and some older Xiaomi Mi (and older Aqara) devices can be added to it. Some more useful information can be found here:

Here’s what Lumi/AQara told me earlier this month

1 Like

So, who can we blame for Xiaomi/Aqara devices dropping their connection?! :joy:

haha, Lumi!

@veeceeoh Keith you’re amazing! We all thank you!

1 Like

@veeceeoh
Thanks for the great work you are doing . !
I’m new member and still didn’t buy ST.

I will probably going to buy V3 as this is the only option I have in my country .
Is it possible to fix the drop connection issue on the St v3 ?

Hi there after serveral sites and reading on here and following instructions, I finally got the WXKG03LM working with my Hub 3.0. Only thing I’m trying to figure out is how do I get the switch to operate on/off lights, I used the app to create just a on mode but want it to do off with the next press.

Please help, this is my test switch before my other wired version come in

You have to create the rules you can have options on off from light section on the pick what you want on or off

1 Like

I had one of my Xiaomi Aqara motion sensors drop off the network and this method worked great to re-pair it! It’s been a while since I’ve had to pair one of these and I must say that the process has become much easier! I have some zigbee repeaters around the house, so I wonder if those are to blame. If so, I’ll have to move my Xiaomi sensors closer to the hub and use the Samsung branded ones far away.

1 Like

Ok got the switch working as I spoke earlier. Thanks Wasim

Ok paired up my temperature sensors all working perfectly fine, after a one at a time pairing.

One question is does the readings show up on the new ST app or it’s only on the old one. Find the old one cumbersome but for some reason has more uses.

xiaomi temperature sensors working ok, but xiaomi/aqara motion sensor working not ok(drop connection after a few hours)

I cannot confirm that the SmartThings v3 hub has the dropped connection issue with Xiaomi devices because I only have a v2 hub.

However, I see the in the next post after yours from @Kidd reporting success of an Aqara Wireless Wall Switch working with a v3 hub.

But to answer your connection, I cannot help fix the dropped connection issue on any SmartThings device. It is not related to the device handlers (DTHs), but rather related to Xiaomi devices not following ZigBee HA (Home Automation) 1.2 standards.



Custom device handlers (DTHs) are still not officially supported in the new SmartThings mobile app.



Are you asking for help? If yes, then what hub are you using? And do you have any ZigBee repeater devices?

Hi,
I’m using Samsung connect home. I don’t use any zigbee repeater

I have been using the hub 3.0 no problems with connection. Temp sensors updated as soon as I logged on ST classic, even the switch is still connected. Only thing I find with the switch is the lag time or have to double press button to get it to work.
Overall it’s working great. I’m just waiting on my single wired switches coming from China then my house be all up and working.

1 Like

My set up is

Philip’s Hue hub > 8 bulbs
ST hub > 1 wireless Xiaomi Switch & 4 temperature Sensors

Working apps Hue, Google home, Smartthings Classic & new one

I just realized you have posted earlier this year asking about Xiaomi/Aqara devices not working with your SamSung Connect Home:

What @mieomeo said in April 2018 is still true:

The disconnect problem is because Xiaomi/Aqara devices do not follow all Zigbee standards. It is not the fault of any SmartThings hub. However, the current firmware on the v2 hub, v3 hub and also the newest firmware for the Samsung Connect Home Pro (firmware v22.52 according to one user) allows Xiaomi Devices to remain connected.

Only a firmware update for the Samsung Connect Home could help, because there is no way to fix the problem on the Xiaomi/Aqara devices, and also no way to fix the problem in the device handlers (DTHs).



That’s great news! I’m not sure why you’re experiencing the lag time, but it may be related to “cloud” execution of the DTH code.

Hi,
Hardware Version: Samsung Connect Home, US_CA
Firmware Version : 000.022.00052
“Xiaomi Temperature Humidity Sensor” is ok.
but with Xiaomi or Aqara Motion Sensor are not ok.