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

Add state API command and improve API documentation #126

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ncovercash
Copy link
Contributor

No description provided.

This returns values consistent with the Home Accessory Protocol 9.30 Current Door State characteristic.
Forgot about that Python "uniqueness" 🙃
@ncovercash
Copy link
Contributor Author

Ok – now it actually works!

This was referenced Jun 23, 2020
@ncovercash
Copy link
Contributor Author

This fixes #86 and resolves #28 .

There should be a better way to do this since it seems like the web interface and API have separate instances of Door objects, therefore, opening/closing were not synced between them.  This is a bandaid fix but should work for most usage (as API users will mostly use API and web users mostly web, etc...)
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.

1 participant