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

Sonoff TRVZB exposes battery_low but never updates it #7582

Closed
blacknell opened this issue May 31, 2024 · 2 comments
Closed

Sonoff TRVZB exposes battery_low but never updates it #7582

blacknell opened this issue May 31, 2024 · 2 comments

Comments

@blacknell
Copy link
Contributor

blacknell commented May 31, 2024

The battery entity does display correctly as a percentage. But the battery_low binary warning entity is never updated and is thus sent on mqtt as null

I haven't been able to sniff the zigbee packets but it seems that either a) the value is not published by the device itself b) something is awry with the converter (I couldn't see anything obvious in the code).

a) seems unlikely as there is a battery warning indicator on the device itself so I'd be very surprised if they decided not to expose it.

I would say that the binary indicator (rather than reacting to the battery percentage level) is an important distinction since one would hope and expect that Sonoff are setting this at an optimal level.

I've noticed that when a device goes offline due to battery usage, it happens very quickly after 20%. So there is a steady battery level decline over time and then a much more sudden drop once it gets to 20%.

@blacknell
Copy link
Contributor Author

@Koenkk do you agree this is worth pursuing? and that the binary_low indicator is important. i'm happy to try and do some more work on it but i've never yet tried a debug instance and/or capturing/logging data at the level

@Koenkk
Copy link
Owner

Koenkk commented Jun 10, 2024

Doesn't seem to be supported (also checked with mine), removed it.

Changes will be available in the dev branch in a few hours from now.

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