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

Bindings for speaker device type #142

Open
LukeSpad opened this issue Jan 24, 2022 · 0 comments
Open

Bindings for speaker device type #142

LukeSpad opened this issue Jan 24, 2022 · 0 comments

Comments

@LukeSpad
Copy link

I’m currently writing a plug-in to control B&O av devices, and I’m trying to ensure compatibility of my audio device representations with the HomeKit ‘speaker’ device. From the documentation I can see that I need to have mute and volume states present:

  1. Is it sufficient for my device to provide dev.states[‘mute’] as a Boolean type and dev.states[‘volume’] as an integer?
  2. Could I use a dimmer device type to provide mute state via the onState and volume via brightness?
  3. I see there are some state names associated with the airfoil plug-in included in the description and I was wondering if I need to provide those at all?

Sorry if these are stupid questions!

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

1 participant