zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

All Aqara WSDCGQ12LM showing 0% battery

Open HenkRenting opened this issue 7 months ago β€’ 10 comments

What happened?

All my Aqara WSDCGQ12LM devices show 0% battery. Tempersture humidity and pressure values are reported correctly. Also with new battery and after multiple days waiting. The 0% battery never changes. All my WSDCGQ11LM sensors (older model) work fine.

Image

What did you expect to happen?

Showing battery values with new batteries and after multiple hours/days.

How to reproduce it (minimal and precise)

Add WSDCGQ12LM and wait about 24 hours. Battery values should be shown then, but doesn’t unfortunately.

Zigbee2MQTT version

2.9.2

Adapter firmware version

20250321

Adapter

SMLight SLZB-06 ZStack3x0

Setup

Z2M on Synology NAS with Docker

Device database.db entry

{"id":55,"type":"EndDevice","ieeeAddr":"0x54ef4410009bee76","nwkAddr":13257,"manufId":4447,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_ht.agl02","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":770,"inClusterList":[0,3,1026,1029,1027,1],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"lumi.sensor_ht.agl02","manufacturerName":"LUMI","powerSource":3,"zclVersion":3,"appVersion":29,"stackVersion":2,"hwVersion":1,"dateCode":"20230109","swBuildId":"2019\u0000www."}},"genPowerCfg":{"attributes":{"batteryVoltage":26}},"manuSpecificLumi":{"attributes":{"223":{"type":"Buffer","data":[40,35,4,16,0,0,41,35,11,0,0,0,42,35,0,0,0,0,28,32,81,3,35,6,0,0,0,5,35,0,0,0,0,4,35,0,0,0,0]},"247":{"type":"Buffer","data":[1,33,65,10,3,40,18,4,33,168,67,5,33,16,0,6,36,6,0,0,0,0,8,33,29,1,10,33,118,158,12,32,1,100,41,102,7,101,41,122,15,102,41,238,3]}}},"msTemperatureMeasurement":{"attributes":{"measuredValue":1856}},"msRelativeHumidity":{"attributes":{"measuredValue":4406}},"msPressureMeasurement":{"attributes":{"measuredValue":1006,"scale":-1,"scaledValue":10061}}},"binds":[{"cluster":1026,"type":"endpoint","deviceIeeeAddress":"0x00124b0030dba123","endpointID":1},{"cluster":1029,"type":"endpoint","deviceIeeeAddress":"0x00124b0030dba123","endpointID":1},{"cluster":1027,"type":"endpoint","deviceIeeeAddress":"0x00124b0030dba123","endpointID":1}],"configuredReportings":[],"meta":{}}},"appVersion":29,"stackVersion":2,"hwVersion":1,"dateCode":"20230109","swBuildId":"2019\u0000www.","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":332242049},"lastSeen":1775892741578,"checkinInterval":3600}

Debug log

No response

Notes

No response

HenkRenting avatar Apr 11 '26 08:04 HenkRenting

Have you tries pressing the button on the device?

absent42 avatar Apr 11 '26 08:04 absent42

Of course... ;) Doesn't help unfortunately.

HenkRenting avatar Apr 11 '26 08:04 HenkRenting

Mine didn't show the battery levels until then, could also try the reconfigure option.

Image

absent42 avatar Apr 11 '26 08:04 absent42

This is not the same sensor. The WSDCGQ12LM senses temperature, humidity and pressure. Not vibration... I have updated my first post to clearify.

HenkRenting avatar Apr 11 '26 09:04 HenkRenting

Oh sorry, my mistake. Battery's still working on lumi.sensor_ht.agl02 for me though.

Image

absent42 avatar Apr 11 '26 09:04 absent42

Just want to chime in that battery level reporting is still working for me for the WSDCGQ12LM. On firmware 2019www / 20230109.

doubleukay avatar May 05 '26 11:05 doubleukay

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jul 05 '26 00:07 github-actions[bot]

I can not reopen this, but I have the same issue. Removing and re-adding it shows the battery as NULL sometimes, but I think that's just temporary, as often (when it actually reports the battery) it always reports as 0%.

daften avatar Jul 28 '26 15:07 daften

Just wanted to add a data point to this, since it's been running long enough now that I have some history to share.

Device: Aqara WSDCGQ12LM (Zigbee model lumi.sensor_ht.agl02, "Temperature and humidity sensor T1") IEEE: 0x54ef44100095be23 Battery type: CR2032, installed 2024-11-16

battery has read a flat 0% for as long as I have statistics for (3+ months), but voltage has stayed in a fairly normal, stable range the whole time:

  • ~3 months ago: voltage ~2753 mV mean β€” battery 0%
  • ~2 months ago: voltage ~2748–2777 mV mean β€” battery 0%
  • ~1 month ago: voltage ~2770–2777 mV mean β€” battery 0%
  • Last week: voltage ~2745 mV mean β€” battery 0% (with one brief blip up to 51% before settling back toΒ 0)

Temperature/humidity/pressure have kept reporting normally throughout, so the device itself seems fine β€” it just looks like the battery % conversion isn't working right for this model. Not urgent on my end since the sensor still works, but figured it might be useful confirmation if anyone revisits this. Happy to share raw payloads if that helps.

HrCalmar avatar Aug 09 '26 19:08 HrCalmar

I have the exact same issue with a WSDCGQ12LM sensor (lumi.sensor_ht.agl02) in Home Assistant via Zigbee2MQTT.

I bought the sensor just 3 weeks ago, and it immediately reports 0% battery, which triggers low battery alerts in Home Assistant. However, the actual battery voltage is perfectly fine at 3.01 V, and the environmental values (like humidity, temperature) report without any problems.

Here are my device details from Zigbee2MQTT: β€’ Definition: WSDCGQ12LM (v0.0.1) - Temperature and humidity sensor T1 β€’ Firmware-ID: 2019www. / 20230109 β€’ Firmware-Version: -1

To provide context with other Aqara devices in my setup: β€’ My older WSDCGQ11LM models do not have this problem at all and have been running reliably for 1.5 years. β€’ I also bought a water leak sensor (SJCGQ12LM) 3 weeks ago, which does not show this behavior and works perfectly.

It seems the battery percentage calculation is broken for this specific T1 hardware/firmware revision, as it falsely flags a healthy 3.01 V battery as 0% empty.

Image Image Image

Code-Fabs avatar Oct 11 '26 09:10 Code-Fabs