ebaauw / homebridge-music

Homebridge plugin for iTunes with AirPlay speakers
Apache License 2.0
91 stars 7 forks source link

Dynamic platform accessories #18

Open ebaauw opened 4 years ago

ebaauw commented 4 years ago

Refactor plugin to use dynamic platform accessories, based on homebridge-lib.

Add homebridge-zp features like Volume Change.

krstromb commented 4 years ago

@ebaauw Thank you so much for your work on this tool, I have enjoyed and used at home for many years. Do you have any estimated timeline or plans to use dynamic platforms? When I have to restart my computer with my homebridge server I have to re-add music accessories to their rooms and recreate all automations in Homekit and they are removed from them.

ebaauw commented 4 years ago

It's the next (and penultimate) plugin I plan to convert. No ETA though.

Until then, you might want to set timeout in config.json, to give Homebridge Music more time to start iTunes (or Music or whatever player you're using) and rediscover the AirPlay speakers. This will delay the startup of Homebridge, preventing (hopefully) that Homebridge starts without exposing the Homebridge Music accessories. See https://github.com/ebaauw/homebridge-music/releases/tag/v0.2.16 and https://github.com/ebaauw/homebridge-music/issues/12.

CGDaveMac commented 2 years ago

Hi! Great plugin to workaround some of the limitations with Airplay and Shortcuts. Until Shortcuts fully supports Airplay automations and iTunes control (and/or I get a new Mac that supports Airplay with iTunes), I will be using this. Any updates on when the dynamic accessories might be implemented?