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

fix(xiaomi_lock_report): improve conversion of key error messages #138

Merged
merged 1 commit into from
Dec 7, 2018

Conversation

aesedepece
Copy link
Contributor

This PR improves conversion of key error messages so that they are properly returned.

It also makes a distinction between unknown keys (not registered) and disabled keys (explicitly disabled through Mi Home).

Seeing that @kirovilya originally added support for this lock, I suppose he should be able to review this PR and check if it works for him.

Fix #135

@aesedepece
Copy link
Contributor Author

@Koenkk I have rebased my PR just to make sure this can be merged cleanly 😉

Btw, an off-topic: do you know of any tools for researching commands accepted by a device? The Vima lock is known to be configurable over ZigBee yet I'm clueless on how to discover what to put in toZigbee.js.

@Koenkk
Copy link
Owner

Koenkk commented Dec 7, 2018

Thanks!

@aesedepece you should sniff the zigbee packets that the xiaomi gateways sends to the lock (http://www.inzoolee.com/capture-zigbee-packets/)

@Koenkk Koenkk merged commit e89e1d8 into Koenkk:master Dec 7, 2018
@aesedepece
Copy link
Contributor Author

Hey @qm3ster, by any chance, do you know what the 7 action actually means? I wasn't able to trigger the 7 action on my lock. Mine only produces 1 or 3. Here are my discoveries.

Could there be multiple Vima Lock models sending slightly different action codes?

@qm3ster
Copy link
Contributor

qm3ster commented Dec 12, 2018

I've never had one of these devices, just noticed this commit.

@aesedepece aesedepece mentioned this pull request Jan 20, 2019
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

Successfully merging this pull request may close these issues.

3 participants