-
Notifications
You must be signed in to change notification settings - Fork 505
Xiaomi Aqara QBKG12LM
Manuel Pietschmann edited this page Nov 26, 2020
·
4 revisions
Xiaomi Aqara wired double rocker switch.
Model: QBKG12LM
- Start sensor search in Phoscon App
- Press and hold both buttons for more than 10 seconds until LED blinks
GET /sensors/<id>
{
"manufacturername": "LUMI",
"modelid": "lumi.ctrl_ln2.aq1",
"type": "ZHASwitch",
"uniqueid": "00:15:8d:00:02:a1:e9:52-05-0012",
"state":
{
"buttonevent": 3002,
"lastupdated": "2018-11-04T19:14:12"
},
"config":
{
"battery": 100,
"on": true,
"reachable": true,
"temperature": 2300
}
}
The switch further provides two on/off lights which are controlled by the physical buttons or via REST-API.
GET /lights/<id>
{
"manufacturername": "LUMI",
"modelid": "lumi.ctrl_ln2.aq1",
"name": "Light 55",
"state": {
"alert": "none",
"on": true,
"reachable": true
},
"swversion": null,
"type": "Smart plug",
"uniqueid": "00:15:8d:00:02:a1:e9:52-01"
}
...
{
"manufacturername": "LUMI",
"modelid": "lumi.ctrl_ln2.aq1",
"name": "Light 56",
"state": {
"alert": "none",
"on": true,
"reachable": true
},
"swversion": null,
"type": "Smart plug",
"uniqueid": "00:15:8d:00:02:a1:e9:52-02"
}
Event | Button | Action |
---|---|---|
1001 | Left | long press |
1002 | Left | single press |
1004 | Left | double press |
2001 | Right | long press |
2002 | Right | single press |
2004 | Right | double press |
3002 | Both | single press |
Home Remember : Not all devices listed here are supported by deconz.