basnijholt/adaptive-lighting

Adaptive Lighting custom component for Home Assistant

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 1 hour ago
Type:Plugin / ExtensionCategory(s):Home Automation & Smart HomeSelf-Hosted & Home
Added to GitGenius on June 23rd, 2026
Created on August 25th, 2020
Open Issues & Pull Requests: 151 (+0)
GitHub issues: Enabled
Number of forks: 224
Total Stargazers: 3,478 (+0)
Total Subscribers: 16 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 9.5 days
Mean response time: 114.9 days
90th percentile: 428.1 days
Tracked items: 179

How this project is maintained

About 17% of issues opened in the past year have never received a reply. 99% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "kind/docs_issue" is answered fastest, typically in about 2 days, while "kind/enhancement" waits about 13 days. 62% of issues opened in the past year have been closed, leaving a working backlog. Three people close 79% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 90
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 590 days
Stale 30+ days: 73
Stale 90+ days: 67

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 2
Events in 7 days: 4

Top labels

  • need/triage (174)
  • kind/feature (141)
  • kind/bug (97)
  • kind/enhancement (32)
  • kind/docs_issue (11)
  • actionable (8)
  • need/author-input (6)
  • need/team-analysis (6)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Adaptive Lighting is a custom component for Home Assistant that automatically adjusts the brightness and color temperature of smart lights based on the sun's position throughout the day. The component is designed to support the user's natural circadian rhythm by providing cooler color temperatures during midday hours and gradually transitioning to warmer tones at sunrise and sunset. The project is written in Python and distributed through HACS, the Home Assistant Community Store, making installation straightforward for Home Assistant users.

The core functionality intercepts light turn-on service calls and applies adaptive settings based on solar position, then continues to adjust lighting at regular intervals throughout the day. The component provides four primary switches for control: a main switch to enable or disable Adaptive Lighting, a sleep mode switch for nighttime settings, a brightness adaptation toggle, and a color adaptation toggle. Sleep mode sets lights to minimal brightness with very warm color temperatures, designed specifically for winding down before bed. The component also includes a web-based simulator tool that allows users to visualize how their lighting settings will behave throughout the day.

Manual control detection is a key feature of Adaptive Lighting. When users or external automations manually change light settings, the component detects this and marks the light as manually controlled, preventing further automatic adjustments until the light is turned off and back on or explicitly reset. An optional detection mode can identify changes made outside of Home Assistant by comparing current light state to previously used settings. The component fires a manual control event that can trigger additional automations, enabling sophisticated home automation workflows.

The project maintains active development with significant community engagement.

The component supports extensive configuration through both YAML and the Home Assistant frontend user interface, with identical option names across both methods. Configuration options control brightness modes, color temperature ranges, transition timing, and various behavioral parameters. The component includes comprehensive documentation covering configuration, available services, automation examples, troubleshooting guides, and light-specific issues. Additional resources include graphs showing sun position, color temperature curves, and brightness ramps, helping users understand and optimize their lighting setup.

Adaptive Lighting is classified across multiple smart home domains including lighting control, adaptive brightness, circadian rhythm support, dynamic lighting, energy efficiency, and environmental sensing. The component supports various light types and protocols including Hue, Zigbee, and Z-Wave devices, making it compatible with most modern smart home lighting systems.