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

Think about using the Homebridge Speaker/SmartSpeaker instead of light source characteristics #7

Open
dotWee opened this issue Nov 30, 2020 · 3 comments

Comments

@dotWee
Copy link

dotWee commented Nov 30, 2020

I think defining the accessory as a Speaker or even a SmartSpeaker and applying its characteristics would be more intuitive instead of declaring it as a light source.

It requires a functioning mute action and optional volume settings.

Related documentation:

@scholtzan
Copy link
Owner

One problem with Speaker or SmartSpeaker is that the type is not supported by HomeKit. When I set the type to Speaker, HomeKit says "This accessory is not certified and may not work reliably with HomeKit" and the accessory becomes unresponsive.

I could, however, add an accessoryType option to the config that determines whether accessories are registered as light accessories or speaker accessories.

@dotWee
Copy link
Author

dotWee commented Jan 10, 2021

Would you mind sharing your modifications as a branch? I'd love to debug & dig into it!

@scholtzan
Copy link
Owner

Sure, I added a service_type option to the config that determines whether the Lightbulb or Speaker service is used for Spotify accessories. You can find the changes in this PR: #12

I also found some issues related to HomeKit not supporting Speaker and SmartSpeaker services in the Homebridge repository:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants