I have modified the DTH from a4refillpad to make a DTH that is compatible with the Aqara buttons.
This DTH is available at
This DTH only.supports the button push function, the button held function is not supported by this device.
The button supported by this DTH looks like the following:
- Ver 1.0 - 7-19-2017
*Converted to support button presses with the square chassis “Xiaomi Zigbee Aqara Button Aq2” WXKG11LM
- Ver 1.1 - 7-19-2017
*Changed the Fingerprint for the “Xiaomi Zigbee Button Aq2” so it will be detected and get this DTH during pairing
*Added button and app press logging
- Ver 1.2 - 7-28-2017
*Removed the Holdable Button attribute and configuration settings until I have time to find a way to make the Aqara button holdable
*Removed the configuration tile
*Removed the battery tile, and Battery attribute and set the battery to report 100% since the Aqara button didn’t appear to report battery level
- Ver 1.3 - 9-8-2017
*Thanks to ozjames of the ST community the battery functions seem to be working