- 
                Notifications
    You must be signed in to change notification settings 
- Fork 526
Xiaomi WXKG02LM 2018
        mylesewen edited this page Feb 13, 2019 
        ·
        6 revisions
      
    Xiaomi Aqara double key wireless battery powered rocker switch.
Model: WXKG02LM (Rev.2, 2018)
- Start sensor search in Phoscon App
- Press and hold left button for more than 10 seconds until LED blinks
- Press left button 5 times quickly
Pressing any button for more than 10 seconds does reset the switch to factory new state.
If the switch loses connection press the left button 5 times quickly. If that doesn't work repeat Joining procedure.
GET /sensors/<id>
{
    "manufacturername": "LUMI",
    "modelid": "lumi.remote.b286acn01",
    "type": "ZHASwitch",
    "uniqueid": "00:15:8d:00:01:2a:34:44-01-0012",
    "state":
    {
        "buttonevent": 1002,
        "lastupdated": "2018-11-04T19:14:12"
    },
    "config":
    {
        "battery": 100,
        "on": true,
        "reachable": true,
        "temperature": 2300
    }
}| Event | Button | Action | 
|---|---|---|
| 1001 | One | hold | 
| 1002 | One | single press | 
| 1004 | One | double press | 
| 2001 | Two | hold | 
| 2002 | Two | single press | 
| 2004 | Two | double press | 
| 3001 | Both | hold | 
| 3002 | Both | single press | 
| 3004 | Both | double press | 
Home Remember : Not all devices listed here are supported by deconz.