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

Set Night Mode RGB value #31

Closed
1 of 2 tasks
sovanyio opened this issue Oct 29, 2020 · 7 comments
Closed
1 of 2 tasks

Set Night Mode RGB value #31

sovanyio opened this issue Oct 29, 2020 · 7 comments
Assignees
Projects
Milestone

Comments

@sovanyio
Copy link

sovanyio commented Oct 29, 2020

Currently upgrading from the circadian_lighting setup. With that one, I have a automation scene external to the integration at sun-down that sets all color lights to red and then hands off brightness control only to the circadian service.

Would love for something like that to be integrated here, seems that the base is already there to support it. I think these items would greatly extend use cases:

  • Sleep mode scheduling / sun event offset
  • Allow RGB pinning to a single color or an RGB target to transition to during the time period covered by the above
@RubenKelevra
Copy link
Collaborator

Hey @sovanyio,

can you create for your list of possible features individual tickets? I feel like they are worth tracking on their own. :)

@RubenKelevra RubenKelevra changed the title [Feature Request] Set Night Mode RGB value Set Night Mode RGB value Jul 31, 2021
@sovanyio
Copy link
Author

As I was going to do that, I re-reviewed the current state and it looks like the first item has already been taken care of. Still want me to create a second ticket for the remaining item of the manual sleep setting, I think we can track here?

I'd revise my list to this single item for this issue:

  • Allow for sleep color override, rgb/xy/temp

I see from #150 the note that the transition isn't straightforward if the color type isn't the same (temp vs rgb, for example). For my usages, I think it would be ok to abruptly change or otherwise rely on a bulb's built-in transitional capabilities.

Otherwise, I'm not sure how accurate it is, but there does seem to be an approximation for temperature <-> rgb: https://andi-siess.de/rgb-to-color-temperature/ Maybe a similar relationship is defined already for xy as well and can be used to get close-enough and then pop to the set color?

@RubenKelevra RubenKelevra added this to the v2.0 milestone Jan 8, 2022
@RubenKelevra RubenKelevra self-assigned this Jan 8, 2022
@RubenKelevra
Copy link
Collaborator

I'm currently in the process of doing version 2. This will be added/fixed.

Keep this ticket open until you can verify that it's properly working in the upcoming version 2.

@basnijholt
Copy link
Owner

Who's excited?!

image

See #329

@basnijholt
Copy link
Owner

basnijholt commented Sep 1, 2022

I have just released 1.1.0 where you can set the sleep color using RGB.

This issue can finally be closed! 🎉

@d-nx
Copy link

d-nx commented Dec 3, 2022

Who's excited?!

image

See #329

I'm running v1.2.1 but can't see this color picker option. I'd love to use this feature ! =)

@basnijholt
Copy link
Owner

There was this problem home-assistant/frontend#14314 (comment) that was supposed to be fixed.

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

No branches or pull requests

4 participants