homekit_python icon indicating copy to clipboard operation
homekit_python copied to clipboard

Basic threading functionality for 'get_events'

Open mumblepins opened this issue 6 years ago • 1 comments

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)

mumblepins avatar Feb 28 '19 21:02 mumblepins

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

jlusiardi avatar Mar 01 '19 05:03 jlusiardi