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

Implement RGB support for groups #228

Open
JustJoostNL opened this issue Feb 16, 2023 · 1 comment
Open

Implement RGB support for groups #228

JustJoostNL opened this issue Feb 16, 2023 · 1 comment

Comments

@JustJoostNL
Copy link

I have already saw multiple questions about this, but it never got implemented, so, would it be possible to add RGB support for the setGroupState? Using scene's is not an option in my situation.

Thanks in advance!

@peter-murray
Copy link
Owner

It is just not practical to implement RGB in a group, as the members of a group can be different lights with different profiles.

The RGB conversion needs to be done on a light by light basis using the attributes of the lights to convert the RGB in to the color space of the light and then target those values within the light's ability to display the color.

With groups it would be very many API calls and conversions and utilmateiy result in the individual lights of the group being called one by one to set a color which is not what you want in practice, as it would not do it all simultaneously.

I am yet to go over the complete new APIs but there might be some other options in the future once the new API stabilizes, but there is nothing practical there today using to older REST API on the hub.

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