Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TVOC battery status #32

Open
thales-man opened this issue Mar 13, 2024 · 4 comments
Open

TVOC battery status #32

thales-man opened this issue Mar 13, 2024 · 4 comments

Comments

@thales-man
Copy link

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. :)

@kkossev
Copy link
Owner

kkossev commented Mar 13, 2024

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 ?

@thales-man
Copy link
Author

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

@kkossev
Copy link
Owner

kkossev commented Mar 13, 2024

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.

@kkossev
Copy link
Owner

kkossev commented Mar 13, 2024

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... : (

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants