Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete refactor to homebridge-zp, based on homebridge-lib to use the dynamic platform accessory model. See #1. Should also fix #81. Still work in progress. Todo: - Handle topology changes (e.g. create/split stereo pair); - Handle changed alarms (e.g. move to different zone); - Hanlde changed config.json (e.g. no longer expose LEDs). - Handle heartbeat 0 for LEDs to disable polling and use getter. Need improvements to homebridge-lib: - Startup sequence seems stable, but feels wrong. Probably should do synchronous creation of delegates vs asynchronous initialisation. - Remove accessory, service, characteristic when no longer needed. - Still issue with name change - simply remove/re-create? - Double-check tr/catch for every async call.
- Loading branch information