- 
                Notifications
    You must be signed in to change notification settings 
- Fork 526
Xiaomi WXKG11LM 2016
        Manuel Pietschmann edited this page Nov 3, 2018 
        ·
        1 revision
      
    Xiaomi Aqara single key wireless battery powered switch.
Model: WXKG11LM (Rev.1, 2016)
- Start sensor search in Phoscon App
- Press and hold the small button on the side for more than 5 seconds until LED blinks
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
    }
}| Event | Button | Action | 
|---|---|---|
| 1002 | One | single short press | 
| 1004 | One | double short press | 
| 1005 | One | triple short press | 
| 1006 | One | quad short press | 
Home Remember : Not all devices listed here are supported by deconz.