GithubHelp home page GithubHelp logo

Comments (6)

Djelibeybi avatar Djelibeybi commented on May 31, 2024 3

Different smart bulbs (even from the same manufacturer) have different min/max kelvin values, which may be a somewhat compelling reason for adding this functionality.

For example, the LIFX colour bulbs generally have a range from 2500K to 9000K while the Day/Dusk (i.e. temperature change only) can do 1500K to 4000K.

Having this option would mean you're not restricted to the lowest common denominator temperature range of the least capable bulb. :)

from hass-circadian_lighting.

claytonjn avatar claytonjn commented on May 31, 2024

This has been requested a few times (most recently in January, starting here), but I'm very hesitant to implement it. The whole point of Circadian Lighting is to help your body maintain a constant and natural circadian rhythm. Having lights at different temperatures in different rooms of the house would completely eliminate any benefit of adjusting the color temperature based on the sun's position.

I'm not going to close the issue because I have no problem making the change if someone can provide a compelling reason to do so.

from hass-circadian_lighting.

Joshfindit avatar Joshfindit commented on May 31, 2024

Would it be possible to change the lights with a homeassistant automation or a custom sensor that does the math you’re looking for?

That way the circadian addon would not have to be modified to do what you want.

from hass-circadian_lighting.

avdz avatar avdz commented on May 31, 2024

Different smart bulbs (even from the same manufacturer) have different min/max kelvin values, which may be a somewhat compelling reason for adding this functionality.

For example, the LIFX colour bulbs generally have a range from 2500K to 9000K while the Day/Dusk (i.e. temperature change only) can do 1500K to 4000K.

Having this option would mean you're not restricted to the lowest common denominator temperature range of the least capable bulb. :)

+1 for this reason.
Personally I have the same issue with the brightness. My LED strip in my sleeping room is not as powerful as in the living. This means that the brightness in my sleeping room is usually just too low.

from hass-circadian_lighting.

mouth4war avatar mouth4war commented on May 31, 2024

@claytonjn for the love of logic, if you have min/max brightness per switch then why not color temp? Both are used for delivering circadian lighting and either both should be tweakable per switch or neither :)

Edit: We already have sleep_colortemp per switch as well, why not min and max too?

How about we retain the min and max colortemp on main component level for calculations (and min can be set to the lowest possible color temp across all lights). Then, each switch can have its own range. When adjusting, if the desired color temp falls out of the switch's range, just bind to the switch's min and max values.

So, the lights that can go low (say 1700K) will go that low and the rest will stop at 2700K or 3000K.

from hass-circadian_lighting.

mouth4war avatar mouth4war commented on May 31, 2024

https://github.com/claytonjn/hass-circadian_lighting/blob/5f9cb61ed0844fb8725957036514821ad747c4fb/custom_components/circadian_lighting/switch.py needs testing @julianrinaldi @Djelibeybi @avdz

min_colortemp and max_colortemp are available per switch (and initial_transition as well).

from hass-circadian_lighting.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.