adaptive-lighting icon indicating copy to clipboard operation
adaptive-lighting copied to clipboard

rgb/xy color for min and max colour + sleep color.

Open 10bn opened this issue 4 years ago • 6 comments

Thx for the great work!

It would be awesome if you could add rgb/xy color support for choosing the min & max color value and for setting the sleep color value.

10bn avatar Jul 19 '21 09:07 10bn

Hey, we have already a ticket for setting an RGB value for the sleep mode: https://github.com/basnijholt/adaptive-lighting/issues/31

Can you explain your use case, why you want to choose the RGB colors for min and max?

I guess that would be a major change, since stuff like min: 0000FF, max: 00FF00 would be possible, and since those wouldn't be on the curve for light temperatures. I'm not sure how we should determine a proper curve between such settings. :)

RubenKelevra avatar Jul 31 '21 15:07 RubenKelevra

RGB Min Max

Use case:

[RGB] -> wakening up -> [RGB] -> still waking up (being in the bathroom e.g...) -> [Color Temp] -> Its DAY -> [RGB] -> wind down -> [Red Hour] -> bed time -> [seep mode] -> sleeping

I would like to gain more control over the light transitions during the day, allowing me to set individual transition pattern and still having all the advantages adaptive lightning provides such as, manual controlled light thresholds, automatically adjust lights after they've been turned off and on again.

Ideally one could define his own timeframes over the day and decide for each timeframe what kind of mode he wants to use e.g rgb/xy or light temperatures.

This repo has already some of these features and I'm using it partly... https://github.com/haberda/update_lights

10bn avatar Aug 03 '21 06:08 10bn

Hey @jaddel,

I think my roadmap should cover your ideas:

  • Create dynamic "movie"-like scenes with different frames of color, brightness, temperature to simulate sunset / sunrise events (and similar)
  • Limit the maximum transition speed for brightness, temperature, and color changes (except for on/off actions)
  • Allow for scenes with grouping of lights to allow for general purpose lights, area lights and accent / ambient lights and seamless switching between them
  • Dynamically switch between RGB/XY and White-Temperature mode to allow very cold and very warm tones outside the range of the White-Mode of lights
  • Incorporate ambient brightness sensors per room as feedback method to adjust for uncontrolled light sources and natural light
  • Switch from a brightness-percentage-goal to a target-brightness-in-lux-goal
  • Make it possible to override and adjust the automation without turning it off

Make sure to vote on the right ones.

I'll close this ticket, if something is missing, LMK.

RubenKelevra avatar Jun 14 '22 19:06 RubenKelevra

I don't quite know the etiquette to github, so my apologies if this is considered a necro. I'd just like to add that I am looking forward to this feature the most, at the moment. My use-case is simple; during the night(user defined hours), I want incredibly low brightness, red light everywhere that my lights will turn on. This is to stop my eyes from adjusting to high light levels, and keep my head from messing with my circadian rhythm by introducing bright and/or blue light during night time. For example, when I need to go downstairs for the bathroom or a glass of water.

Bucketsmith avatar Jul 25 '22 16:07 Bucketsmith

I don't quite know the etiquette to github, so my apologies if this is considered a necro. I'd just like to add that I am looking forward to this feature the most, at the moment. My use-case is simple; during the night(user defined hours), I want incredibly low brightness, red light everywhere that my lights will turn on. This is to stop my eyes from adjusting to high light levels, and keep my head from messing with my circadian rhythm by introducing bright and/or blue light during night time. For example, when I need to go downstairs for the bathroom or a glass of water.

This exactly what I'm looking forward to aswell. For now I created an autoamtion that turns AL off and sets a scene for the night and then turns it back on in the morning. Have you tried something like this before?

10bn avatar Jul 26 '22 15:07 10bn

@jaddel @Bucketsmith I believe you can do this now with sleep_rgb_or_color_temp and or adaptive_lighting.change_switch_settings in your automations. Please reach out if you need help

th3w1zard1 avatar Apr 10 '23 12:04 th3w1zard1