Stay healthier and sleep better by syncing your lights with natural daylight to maintain your circadian rhythm!
Circadian Lighting slowly synchronizes your color changing lights with local perceived color temperature of the sky throughout the day. This gives your environment a more natural feel, with cooler whites during the midday and warmer tints near twilight and dawn.
In addition, Circadian Lighting can set your lights to a nice cool white at 1% in “Sleep” mode, which is far brighter than starlight but won’t reset your circadian rhythm or break down too much rhodopsin in your eyes.
Expand for articles explaining the benefits of maintaining a natural Circadian rhythm
- Circadian Rhythms - National Institute of General Medical Sciences
- Circadian Rhythms Linked to Aging and Well-Being | Psychology Today
- Maintaining a daily rhythm is important for mental health, study suggests - CNN
- How Nobel Winning Circadian Rhythm Research Benefits Pregnancy
- Body Clock & Sleep - National Sleep Foundation
How is Circadian Lighting different than the built-in Flux component, or the many other solutions posted on the forums?
Circadian Lighting has a number of unique features that differentiates it from other options available:
- Circadian Lighting has two main components, a sensor and switch(es). The sensor maintains the calculated color temperature to keep all lights in sync, while the switch(es) allow for specific options to be set for specific groups of lights.
- Circadian Lighting allows you to set an offset for sunrise/sunset. This allows your lights to stay in sync with the natural changes in day length, but maintains flexibility in timing. (Specifying fixed sunrise/sunset times is also an option)
- Circadian Lighting allows you to set the latitude/longitude used for calculating sunrise/sunset times. This is useful if you want to simulate days at a different location (useful for traveling.)
- Circadian Lighting lets you have set lights using color temperature, RGB, XY, or just brightness - all within the same switch. So you can have some lights that adjust color temperature and some that only adjust brightness in the same instance.
- Brightness is adjusted based on the position of the sun above/below the horizon. This mimics outside light levels rather than just setting a brightness based on color temperature. (Brightness adjustment is optional)
- Circadian Lighting has a “sleep” mode, which activates when a specified entity is in a specified state. In “sleep” mode a set color temperature and brightness are used - this makes a great nightlight.
- Circadian Lighting can automatically disable when a specified entity is in a specified state. This allows you to disable Circadian Lighting without having to manually toggle it off or create an Automation to do so.
- Circadian Lighting remembers its state after a reboot.
- Circadian Lighting tracks the state of all configured lights, so it reacts instantly to a light being turned on. When lights are turned on it the transition to the proper color temperature is very quick, rather than using the configured transition.
- Circadian Lighting creates a sensor, which makes the calculated color temperature available in the front-end and to all other components. This means that in automation you can program lights to turn on to exactly the right color temperature, eliminating the jump from the color the light was at when turned off to the proper color.
Files - ALL THREE REQUIRED!
# Example configuration.yaml entry circadian_lighting:
# Example configuration.yaml entry switch: - platform: circadian_lighting lights_ct: - light.desk - light.lamp
Switch configuration variables:
- name (Optional): The name to use when displaying this switch.
- lights_ct (Optional): array: List of light entities which should be set in mireds.
- lights_rgb (Optional): array: List of light entities which should be set in RGB.
- lights_xy (Optional): array: List of light entities which should be set in XY.
- lights_brightness (Optional): array: List of light entities which should only have brightness adjusted.