Koenkk / Koenkk/zigbee2mqtt

Unstable battery level reported from Aqara VOCKQJK11LM

Open
#33,141 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

problem
Dominant language
TypeScript
Stars
15.7k
Forks
2k
Avg merge
18h 55m
Merged PRs (30d)
35

Description

What happened?

Since quite a while, the battery level reported by this device is varying a lot.
As can be seen on the attached graph, it varies several times a day between 80% and 10%. This is quite annoying when you try to set an alarm to replace the batteries before it dies...

Since last week:
Image

Since a month:
Image

Since 2025 (older than 1 month is from long term stats):
Image

What did you expect to happen?

I expect a rather slow and steady decrease of the battery level. Going up should result from battery replacement only.

How to reproduce it (minimal and precise)

Pair it and leave it running, observe battery level graph.

Zigbee2MQTT version

2.14.1-1

Adapter firmware version

EmberZNet 0xe0798dfffe885726 Revision: 7.4.2 [GA]

Adapter

ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20221201102927

Setup

HomeAssistant add-on 2.14.1-1

Device database.db entry

{"id":6,"type":"EndDevice","ieeeAddr":"0x54ef4410001a1742","nwkAddr":25779,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.airmonitor.acn01","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,3,1280,1,1026,1029,12,64704],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"lumi.airmonitor.acn01","appVersion":29}},"msTemperatureMeasurement":{"attributes":{"measuredValue":2304}},"msRelativeHumidity":{"attributes":{"measuredValue":6644}},"genPowerCfg":{"attributes":{"batteryVoltage":28}},"manuSpecificLumi":{"attributes":{"247":{"type":"Buffer","data":[1,33,55,11,3,40,23,4,33,168,67,5,33,54,0,6,36,97,0,0,0,0,8,33,29,1,10,33,0,0,12,32,1,100,41,254,8,101,33,190,25,102,33,94,0,103,32,1]},"airQuality":1,"displayUnit":1}},"genAnalogInput":{"attributes":{"presentValue":78}}},"binds":[{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe885726","endpointID":1},{"cluster":12,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe885726","endpointID":1},{"cluster":1026,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe885726","endpointID":1},{"cluster":1029,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe885726","endpointID":1}],"configuredReportings":[{"cluster":1,"attrId":32,"minRepIntval":3600,"maxRepIntval":65000,"repChange":0},{"cluster":12,"attrId":85,"minRepIntval":10,"maxRepIntval":3600,"repChange":5},{"cluster":1026,"attrId":0,"minRepIntval":10,"maxRepIntval":3600,"repChange":100},{"cluster":1029,"attrId":0,"minRepIntval":10,"maxRepIntval":3600,"repChange":100}],"meta":{}}},"appVersion":29,"stackVersion":2,"hwVersion":1,"dateCode":"20220222","swBuildId":"2020\u0000www.","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":332242049,"outageCount":53},"lastSeen":1789563342232,"checkinInterval":3600}

Debug log

z2m_aqara_logs.zip

Notes

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached debug log and the device database entry, especially genAnalogInput.presentValue and genPowerCfg.batteryVoltage. Trace the Aqara VOCKQJK11LM/lumi.airmonitor.acn01 device handling and verify that battery reporting no longer fluctuates unexpectedly; done means the reported level follows the device's actual battery state.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.