Adaptive Lighting custom component for Home Assistant https://adaptive-lighting.nijho.lt
  • Python 99%
  • Shell 0.6%
  • Dockerfile 0.4%
Find a file
Clayton Nummer be01be243d Define "initial transition" and use it when CL switch is turned on
A 1 sec transition was used when a light is turned on or when sleep state changes. The short transition should also be used when the CL switch is turned on. Also, because this is used in multiple spots, better to define it in one spot (this will also make it easier to make it configurable, if desired)
2019-08-04 14:16:59 -04:00
custom_components/circadian_lighting Define "initial transition" and use it when CL switch is turned on 2019-08-04 14:16:59 -04:00
custom_updater.json Remove configuration options from entity attributes 2019-06-14 16:27:28 -04:00
info.md Attempt to fix info.md for HACS 2019-06-29 21:19:05 -04:00
LICENSE Initial commit 2019-04-03 14:29:22 -04:00
README.md Repo is now included in default repositories 2019-06-29 21:18:50 -04:00

Circadian Lighting [Home Assistant Component]

Stay healthier and sleep better by syncing your lights with natural daylight to maintain your circadian rhythm!

Circadian Light Rhythm|690x287

Circadian Lighting slowly synchronizes your color changing lights with the regular naturally occuring color temperature of the sky throughout the day. This gives your environment a more natural feel, with cooler hues 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 wont 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

Visit the Wiki for more information.


Basic Installation/Configuration Instructions:

Installation:

Install custom_component files automatically using HACS or Custom Updater, or install Manually.

hacs_badge

Component Configuration:

# Example configuration.yaml entry
circadian_lighting:

Advanced Configuration

Switch Configuration:

# 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.

Advanced Configuration


Graphs!

These graphs were generated using the values calculated by the Circadian Lighting sensor/switch(es).

Sun Position:

cl_percent|690x131

Color Temperature:

cl_colortemp|690x129

Brightness:

cl_brightness|690x130