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

Yale YRD210 wrong battery reading #1102

Closed
presslab-us opened this issue Mar 28, 2020 · 2 comments
Closed

Yale YRD210 wrong battery reading #1102

presslab-us opened this issue Mar 28, 2020 · 2 comments

Comments

@presslab-us
Copy link
Contributor

My Yale YRD210 locks (I have four) are correctly detected and the functionality is fine. But the battery reading is incorrect, it reads half what it should. I tested with new batteries and it reports exactly 50%.

fromZigbee: [fz.lock, fz.lock_operation_event, fz.battery],

Changing that line to the same as YRD220 like so:
fromZigbee: [fz.lock, fz.lock_operation_event, fz.legacy_battery],

works and fixes the battery problem.

I'm not sure who wrote that original code, and GitHub blame isn't working (I get a Unicorn). Is it safe to assume that my four locks are correct and the original implementation is not? I'm not sure...

@Koenkk
Copy link
Owner

Koenkk commented Mar 28, 2020

The implementation is correct, but the locks are not complying to the Zigbee specification (e.g. report of 200 = 100%, report of 100 = 50%).

image

Anyway, pushed the fix to the repo, thanks!

@Koenkk Koenkk closed this as completed Mar 28, 2020
@presslab-us
Copy link
Contributor Author

Yep! I agree the devices are not meeting Zigbee spec. When I said implementation I meant the specific definition in devices.js to match the YRD210. Thanks!

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