Xiaomi WXKG17LM

ModelWXKG17LM
VendorXiaomi
DescriptionAqara E1 double key wireless switch
Exposesbattery, voltage, action, click_mode, linkquality
PictureXiaomi WXKG17LM

Notes

Adapter firmware

In order for this device to work (fully), at least the following firmware is required on your adapter:

Note that if you have already paired the device you will need to repair it after upgrading your adapter firmware.

Options

How to use device type specific configuration

  • temperature_precision: Number of digits after decimal point for temperature, takes into effect on next report of device. The value must be a number with a minimum value of 0 and with a with a maximum value of 3

  • temperature_calibration: Calibrates the temperature value (absolute offset), takes into effect on next report of device. The value must be a number.

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 %.

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.

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_left, single_right, single_both, double_left, double_right, hold_left, hold_right.

Click_mode (enum)

Click mode, fast: only supports single click which will be send immediately after clicking, multi: supports more events like double and hold. Value will not be published in the state. 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 {"click_mode": NEW_VALUE}. The possible values are: fast, multi.

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.