Skip to content

Add Xiaomi Aqara Door Lock#5387

Merged
syssi merged 3 commits into
home-assistant:nextfrom
syssi:feature/xiaomi-aqara-lock
May 22, 2018
Merged

Add Xiaomi Aqara Door Lock#5387
syssi merged 3 commits into
home-assistant:nextfrom
syssi:feature/xiaomi-aqara-lock

Conversation

@syssi
Copy link
Copy Markdown
Member

@syssi syssi commented May 17, 2018

Pull request in home-assistant (if applicable): home-assistant/core#14419

Copy link
Copy Markdown

@SchumyHao SchumyHao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Xiaomi Aqara Lock CANNOT unlock from Homeassistant, but we can use it's attribute to trigger automation.

changed_by: Show an unique ID number represent to last unlock method.
verified_wrong_times: If someone tried to unlock this lock but failed more than 3 times, this attribute will record attempt times. This attribute will clear if unlock successfully.

@syssi
Copy link
Copy Markdown
Member Author

syssi commented May 18, 2018

Thanks for your input. I will add it to the PR as soon as possible.

footer: true
logo: xiaomi.png
ha_category: Lock
ha_release: "0.70"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.71

The `xiaomi aqara` lock platform allows you to get data (`changed_by` property, `verified_wrong_times` attribute) from your [Xiaomi](http://www.mi.com/en/) Aqara locks.
A Aqara lock cannot be controlled by Home Assistant. The property `changed_by` provides the user/key ID of the last successful unlock.

If someone tried to unlock the device but failed more than 3 times the `verified_wrong_times` attribute will be incremented. The counter resets on a successful unlock.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If someone tries to unlock the device but fails more than 3 times...


If someone tried to unlock the device but failed more than 3 times the `verified_wrong_times` attribute will be incremented. The counter resets on a successful unlock.

The requirement is that you have setup [Xiaomi aqara](/components/xiaomi_aqara/).
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The requirement to use this platform is that you have set up the Xiaomi Aqara component.

@syssi syssi merged commit 2037daa into home-assistant:next May 22, 2018
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