To contribute to this page, edit the following file

Device

Model WSDCGQ01LM
Vendor Xiaomi
Description MiJia temperature & humidity sensor
Supports temperature and humidity
Picture ../images/devices/WSDCGQ01LM.jpg

Notes

Pairing

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

IMPORTANT: Release and start pressing the reset button every second. This keeps the device awake, otherwise pairing will fail!.

NOTE: When you fail to pair a device, try replacing the battery, this could solve the problem.

Device type specific configuration

How to use device type specific configuration

Manual Home Assistant configuration

Although Home Assistant integration through MQTT discovery is preferred, manual integration is possbile with the following configuration:

WSDCGQ01LM

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    unit_of_measurement: "°C"
    device_class: "temperature"
    value_template: "{{ value_json.temperature }}"

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    unit_of_measurement: "%"
    device_class: "humidity"
    value_template: "{{ value_json.humidity }}"

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    unit_of_measurement: "%"
    device_class: "battery"
    value_template: "{{ value_json.battery }}"

sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    unit_of_measurement: "-"
    value_template: "{{ value_json.linkquality }}"