Skip to content
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

added speaker get removed from scenes after time #22

Closed
Somberland opened this issue Jul 31, 2017 · 1 comment
Closed

added speaker get removed from scenes after time #22

Somberland opened this issue Jul 31, 2017 · 1 comment
Labels

Comments

@Somberland
Copy link

I'm quite not sure why this happens (maybe some id changes or so?) but my speakers get removed from time to time from my homekit-scenes (leave home, etc.)

Am I the only one with this behaviour?

@ebaauw
Copy link
Owner

ebaauw commented Jul 31, 2017

Typically this happens when homebridge restarts, and homebridge-zp doesn't find all your speakers. HomeKit then removes the missing speaker. You restart homebridge again, homebridge-zp finds the speaker this time, and HomeKit creates a new speaker, which looks the same, but has lost the room and scene assignments.

The structural solution is for homebridge-zp to remember the speakers it saw previously, and expose these these already to HomeKit on restart, before finding them. However that requires dynamic platform accessories (issue #1), which is a huge change for me.
Until then, you might want to be sure homebridge is started only when the network is up, and when all your Sonos speakers are visible. You might want to give homebridge-zp some more time to find the speaker, by setting searchTimeout in config.json, see Configuration in the Readme.

@ebaauw ebaauw added the question label Aug 2, 2017
@ebaauw ebaauw closed this as completed Aug 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants