Xiaomi WXKG11LM 2016 - dresden-elektronik/deconz-rest-plugin GitHub Wiki
Xiaomi Aqara single key wireless battery powered switch.
Model: WXKG11LM (Rev.1, 2016)
Joining
- Start sensor search in Phoscon App
- Press and hold the small button on the side for more than 5 seconds until LED blinks
REST-API
GET /sensors/<id>
{
"manufacturername": "LUMI",
"modelid": "lumi.sensor_switch.aq2",
"type": "ZHASwitch",
"uniqueid": "00:15:8d:00:01:6c:48:86-01-0006",
"state":
{
"buttonevent": 1005,
"lastupdated": "2018-11-02T23:29:12"
},
"config":
{
"battery": 100,
"on": true,
"reachable": true,
"temperature": 2100
}
}
Button events
Event | Button | Action |
---|---|---|
1002 | One | single short press |
1004 | One | double short press |
1005 | One | triple short press |
1006 | One | quad short press |