ebaauw / homebridge-zp

Homebridge plugin for Sonos ZonePlayer
Apache License 2.0
241 stars 20 forks source link

Use homebridge v2.0 dynamic platform accessories #1

Open ebaauw opened 8 years ago

ebaauw commented 8 years ago

Currently, homebridge-zp uses static platform accessories. Using dynamic accessories would enable homebirdge-zp to act on ZoneGroupTopology events (e.g. creating or breaking a stereo pair) without having to restart homebridge.

ebaauw commented 5 years ago

homebridge-zp@1.0.0 uses dynamic platform accessories. New zone player should be exposed automatically, but missing zone players will propably stick around. When leds is set in config.json, slave and satellite zone players are exposed as separate accessories, with only a LightBulb service. Enabling the physical controls is now also support (as Child Lock in Eve, in the accessory screen).

Changes to alarms are detected run time, moving the service to a different accessory, when a different zone (room) has been selected.

ebaauw commented 5 years ago

Still to do: