[OBSOLETE] Xiaomi Sensors and Button (beta)

It’s not a hardware issue. The Aqara button model WXKG11LM simply doesn’t provide any way in the hardware to implement a hold function. However, the Aqara model WXKG12LM does support it. If you look at the header information section of the Aqara Button device handler code, there is a detailed explanation of the capabilities of each model when used in SmartThings:

For more information, see my announcement post about v1.2 of the Aqara Button device handler here.


Which version of the bspranger DTH are you using?

Version 1.2, which I worked on and was extensively tested, does have button hold function, and improves on it. It was announced on the Original & Aqara Xiaomi Zigbee Sensors (contact, temp, motion, button, outlet, leak, etc…. thread four weeks ago: