Xiaomi WXKG02LM 2018 - dresden-elektronik/deconz-rest-plugin GitHub Wiki
Xiaomi Aqara double key wireless battery powered rocker switch.
Model: WXKG02LM (Rev.2, 2018)
Joining
- 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
Device Reset
Pressing any button for more than 10 seconds does reset the switch to factory new state.
Troubleshooting
If the switch loses connection press the left button 5 times quickly. If that doesn't work repeat Joining procedure.
REST-API
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
}
}
Button events
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 |