π Adaptive Lighting: Enhance Your Home's Atmosphere with Smart, Sun-Synchronized Lighting π
Adaptive Lighting is an innovative custom component designed for Home Assistant. It smartly adjusts the brightness and color of your lights based on the sun's position, while still allowing you to control them manually. By installing this through the HACS, users can enjoy an automated lighting system that promotes natural circadian rhythms, potentially improving sleep and mood.
π‘ Features
Adaptive Lighting automatically changes the brightness and color of your lights depending on the time of day. For example, during mid-day, it sets the lights to cool colors, then transitions to warmer hues in the mornings and evenings.
The system employs multiple switch options, such as:
- Adaptive Lighting: Turns the Adaptive Lighting function on or off, allowing you to view current settings.
- Sleep Mode: Activates a minimal brightness and warm color setup, creating a relaxing atmosphere for winding down at night.
- Adapt Brightness and Color: Allows users to enable or disable the brightness and color adaptation features for specific lights.
ποΈ Regain Manual Control
Adaptive Lighting is designed to detect any manual changes you make to your lights. If you, or any automation processes, alter the light settings, the system marks the light as "manually controlled," preventing it from making further adjustments until reset.
When the take_over_control
feature is activated, Adaptive Lighting can recognize all state changes, even those outside Home Assistant, and adjust accordingly. However, in some cases, such as with lights that incorrectly show an 'on' state, users might need to disable the detect_non_ha_changes
option.
βοΈ Configuration
Users can configure Adaptive Lighting through YAML files or directly via the Home Assistant frontend. Both methods have identical options. Here's a basic example of a configuration setup in YAML:
adaptive_lighting:
lights:
- light.living_room_lights
π οΈ Services
Adaptive Lighting offers various services for detailed control:
- Apply Settings: Users can apply current Adaptive Lighting settings to their lights on demand.
- Set Manual Control: Lights can be marked "manually controlled" to prevent automatic changes.
- Change Switch Settings: Temporarily adjust configuration options through service calls, reset upon Home Assistant restart.
π€ Automation Examples
Some useful automation examples include:
- Automatically reset the manual control status of a light after one hour.
- Toggle multiple Adaptive Lighting switches into "sleep mode" using a binary input.
Overall, Adaptive Lighting transforms your home environment through intelligent, sun-aligned lighting adjustments. It strikes a balance between automation and manual control, contributing to your home's ambiance and potentially enhancing your well-being.