-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
homebridge is loosing the devices from homebridge-music #12
Comments
Accessories can only disappear when homebridge restarts. Typically this happens, when homebridge's server starts before the plugin has declared its accessories. In homebridge-music, this might happen when the AppleScript It could also be that the AppleScript works somewhat differently on Catalina, but I'm unable to test that. I haven't upgraded yet - I've burned myself in the past upgrading macOS too soon and now typically wait for the *.2 version. |
Thanks Erik for you reply. I'll have an eye on the behavior of the iMac Homebridge and the Plugin in the next days. Maybe I can figure out or find a pattern when and how this occurs. Anyway, thanks again and maybe we will find a solution together. I appreciate your time and interest. |
That depends on the plugin design. Older platform plugins, like homebridge-music, use the static accessory model, where accessories need to be advertised to homebridge, before the server starts. With the dynamic accessory model, plugins can add and remove accessories at runtime, and homebridge persists previously exposed accessories across restarts. I plan to refactor all my plugins to the dynamic accessory model, but this will take time. |
Hi there. Thanks for the time you are investing in this plugin and for your work.
I recently did a clean install of macOS Catalina. No Backup nothing.
I freshly installed homebridge on my I iMac just to run your homebridge-music plugin.
https://github.com/nfarina/homebridge/wiki/Install-Homebridge-on-macOS
So on my installation is only this plugin and config-ui-x.
Everything was working fine. Homebridge is running and the first installation of the plugin and using it with Catalina and the new Music App instead of iTunes worked as well. All my Speakers and of course the Music switch (naming it still iTunes) was visible.
Unfortunately and I have no Idea why, the 10 devices are disappearing from time to time.
The Bridge is still in HomeKit Home App but showing no devices anymore.
After unload and load Homebridge, the devices are back but of course back in the default room.
Any idea what this issue could be?
Thanks in advance for your help to investigate in this.
The text was updated successfully, but these errors were encountered: