Xiaomi GZCGQ01LM
| Model | GZCGQ01LM |
| Vendor | Xiaomi |
| Description | Mi light sensor |
| Exposes | battery, voltage, illuminance |
| Picture | ![]() |
| White-label | Xiaomi YTC4043GL |
Notes
Adapter firmware
This device likely does not work with coordinator firmware older than 2021.
Pairing
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 this doesn't work, try with a single short button press.

Battery
This device uses a CR2450 battery.
Options
How to use device type specific configuration
illuminance_calibration: Calibrates the illuminance value (percentual offset), takes into effect on next report of device. The value must be a number.illuminance_raw: Expose the raw illuminance value. The value must betrueorfalse
Exposes
Battery (numeric)
Remaining battery in %, can take up to 24 hours before reported. 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.
Illuminance (numeric)
Measured illuminance. 0 = too low to be measured. Value can be found in the published state on the illuminance property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"illuminance": ""}. It's not possible to write (/set) this value. The unit of this value is lx.

