Skip to content

[FR] Cool! Now do colors! :) #136

@jamesshannon

Description

@jamesshannon

I just found lightener and it solves a problem I have keeping separate lights "in sync". Ie, I want the lights to feel consistent, and some lights are much brighter than others. For example, I like the ability to "cap" the max brightness (e.g., 100:80).

But the lights can still be out of sync when it comes to color. I'm mostly referring to white color temperature, but I guess that this would be true for RGB as well. 2200k on one light doesn't always look like 2200k on another light. (In fact, some lights might support 2200k but others only go to 3000k, so even if we ignore differences between manufacturers and quality, those lights will never be consistent at the lower color temperatures.

So I propose a similar optional functionality for colors. E.g., being able to set 2200:2700. Or even tweak it along the spectrum. For example, if one light tends to appear colder than the other lights, you could set 5000:4500. The use of setpoints and linear interpolation would work the same as it does for brightness.

One complication is that there are different ways to set color. At the least, there is color temp and RGB. I've also seen mireds in various entity attributes. Interpolating color temp is easy. Interpolating RGB can be bit harder (though a naive approach would be to interpolate each color separately), and there might be other complications with the different color spaces. E.g., would the user be expected to configure setpoints in all 3 spaces? Would Lightener try to convert back-and-forth (e.g., if it has color temp setpoints, convert from RGB->colortemp then interpolate then temp->RGB)? One solution would be to launch only colortemp support and then figure out the use cases from there?

What are your thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions