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

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