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

Basic threading functionality for 'get_events' #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mumblepins
Copy link

Added an optional semaphore that tells get_events to stop. Also, added a stop_events to cleanly tell the accessory to stop sending events to us.

Combined some of the functionality of get_events into put_characteristics, so put_characteristics is now more flexible (can be called with both the field that should be updated, as well as a default value to set multiple characteristics at once)

Added an optional semaphore that tells get_events to stop. Also, added a stop_events to cleanly tell the accessory to stop sending events to us.

Combined some of the functionality of get_events into put_characteristics, so put_characteristics is now more flexible (can be called with both the field that should be updated, as well as a default value to set multiple characteristics at once)
@jlusiardi
Copy link
Owner

Looks cool! if acceptable, please contribute to the tests. Is it possible to integrate the new feature somehow into /homekit/get_events.py?

@Jc2k Jc2k mentioned this pull request Jul 23, 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.

2 participants