WXKG01LM In Lab
Converter ID:
121
Vendor:
Xiaomi
Description:
MiJia wireless switch
States:
battery voltage action Duration Power_outage_memory linkquality
Zigbee models:
LUMI / lumi.sensor_switch
Pairing notes:

Press and hold the reset button on the device for +- 5 seconds (until the blue light starts blinking). After this the device will automatically join.

If that doesn't work press the link button for a few seconds and the LED will flash. After this first phase, you have to make quick clicks on the button (normal clicks on the device, not on the link button) until the LED flashes again. After this second flashing phase the device will be paired.

Notes:

Exposes

Battery (numeric)

Remaining battery in %. Value can be found in the published state on the battery property. It's not possible to read (/get) or write (/set) this value. The minimal value is 0 and the maximum value is 100. The unit of this value is %.

Action (enum)

Triggered action (e.g. a button click). Value can be found in the published state on the action property. It's not possible to read (/get) or write (/set) this value. The possible values are: single, double, triple, quadruple, hold, release, many.

Voltage (numeric)

Voltage of the battery in millivolts. Value can be found in the published state on the voltage property. It's not possible to read (/get) or write (/set) this value. The unit of this value is mV.

Duration (numeric)

Value can be found in the published state on the duration property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"duration": NEW_VALUE}. The minimal value is 0 and the maximum value is 1800. The unit of this value is second.

Power_outage_count (numeric)

Number of power outages. Value can be found in the published state on the power_outage_count property. It's not possible to read (/get) or write (/set) this value.

Linkquality (numeric)

Link quality (signal strength). Value can be found in the published state on the linkquality property. It's not possible to read (/get) or write (/set) this value. The minimal value is 0 and the maximum value is 255. The unit of this value is lqi.