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

Xiaomi Aqara single key wireless battery powered rocker switch.

Model: WXKG03LM Rev. 2

Joining

  1. Start sensor search in Phoscon App
  2. Press and hold both button for more than 5 seconds until LED blinks

REST-API

GET /sensors/<id>
{
    "manufacturername": "LUMI",
    "modelid": "lumi.remote.b186acn01",
    "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
    }
}

Button events

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