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

Expose amplifier as dimmable light #118

Open
wants to merge 2 commits into
base: beta
Choose a base branch
from

Conversation

ChrisBrandhorst
Copy link

This one is a bit off, but I'm very happy with how this works at my home.

This PR ensures that an amplifier is exposed as a dimmable lights, so you can turn it on and off and are able to set the volume.

I can understand if this is a bit too much to be mainstream, but maybe we can discuss other ways of achieving this level of control.

@robertklep
Copy link
Collaborator

It seems to me that using the HomeKit Speaker service would make more sense although, sadly, that service doesn't include an on/off characteristic.

I'm in the middle of a rewrite of the entire Homey-to-HomeKit mapping process, which should be much more flexible in terms of characteristics that can be assigned to a device.

The only issue is that the standard iOS Home app simply doesn't show custom characteristics, you need a more advanced app like Eve for that.

I'm reluctant to expose an amplifier as a dimmable light though, that just doesn't feel right :) But I will take it under consideration during my rewrite, because in the end, we want to support as much as possible.

@ChrisBrandhorst
Copy link
Author

I agree with your reluctancy. I've also come across the Speaker service, but there is some discussion whether it can actually work or not, since it is somehow connected to video doorbells and / or Airplay 2:

I've tried to implement it, but get the "Accessory not supported" message. I'll see if I can dive into this somewhat further.

Another idea, continuing on your rewrite: can we somehow enable users to write "plugins" / "extensions" for this app? That way they can create there one freaky links without it disrupting the mainstream app.

@robertklep
Copy link
Collaborator

I think it's better to show users how they can leverage virtual devices to control devices that might not be directly mappable to HomeKit.

For instance, you can create a virtual light with a "dim" capability, which will get exposed to HomeKit, and add flows on Homey to control the amplifier when that virtual light is being changed.

@ChrisBrandhorst
Copy link
Author

Yeah, that sounds cool.

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

Successfully merging this pull request may close these issues.

2 participants