Xiaomi WXKG11LM 2018 - dresden-elektronik/deconz-rest-plugin GitHub Wiki

Xiaomi Aqara single key wireless battery powered switch.

Model: WXKG11LM (Rev.2, 2018)

Joining

  1. Start sensor search in Phoscon App
  2. 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.remote.b1acn01",
    "type": "ZHASwitch",
    "uniqueid": "00:15:8d:00:01:6c:48:86-01-0006",
    "state":
    {
        "buttonevent": 1003,
        "lastupdated": "2018-11-02T23:29:12"
    },
    "config":
    {
        "battery": 100,
        "on": true,
        "reachable": true,
        "temperature": 2100
    }
}

Button events

Event Button Action
1002 One single press
1004 One double press
1001 One hold
1003 One hold release