TVOC battery status
Closed this issue · 4 comments
it's an issue, but it's not (if you see what I mean)…
battery status is down as 'to do', just wondering if it's being done.
if it's not being done, any pointers as to where code would change to implement it?
I'm using the driver and it seems to be sound to be honest. I'd like the device to report a bit more frequently but there doesn't seem to be any chivying that will induce a zigbee device into reliable interval reporting. I think they just ignore such requests.
in the meantime, thanks for a great driver. :)
Turn the Debug logging on.
Every 56 minutes Aqara TVOC will broadcast a package that has a lot of parameters inside, should be visible in the live logs (or the logs history).
Do you see a debug log showing Voltage ?
I'm seeing this:
reportingEnabled : true
lastTx : {cmdTime=1710107413881}
lastRx : {tempTime=1710344032346, batteryTime=1710285466640, humiTime=1710109536592, tVocTime=1710222020468, checkInTime=1710104429055}
stats : {battCtr=13, rxCtr=433, tVocCtr=123, txCtr=66, humiCtr=12, tempCtr=59}
driverVersion : 2.1.5 2023/09/02 9:24 PM (lumi.airmonitor.acn01 LUMI) (C-8 Pro 2.3.8.125)
lastBattery : 1710097134
health : {checkCtr3=0, nwkCtr=1, parentNWK=3347}
tempOffset : 0
sensorTemp : 21.08
zigbeeGroups : {}
states : {}
but in the battery column of the device view it's showing nothing
These are the State Variables, I meant to look at the Logs .
BTW, in the states parentNWK=3347 is the Zigbee router (repeater) that your Aqara TVOC is using for communication to the HE hub. You can find the device name by searching for '3347' in Settings -> Zigbee details.
My Aqara TVOC is currently paired to Aqara E1 bridge that I use for testing the Matter Bridge driver. Hopefully after one week I will have the time to come back to the Zigbee drivers, and yes - decoding the Battery voltage and converting it to battery percentage remaining will be a good improvement.
I'd like the device to report a bit more frequently but there doesn't seem to be any chivying that will induce a zigbee device into reliable interval reporting.
When paired to Aqara hubs, the reporting period is not too frequent also... : (