Light Schedule Planner
Build a day of bright, cool light and a warmer, dimmer evening. Free, with no sign-up. Your entries stay in this browser.
Your day curve
Focus or hover a dot to see its settings.
The lines preview a gradual curve. App steps set values at each listed time; support for transitions varies. Changing an input rebuilds the example curve. If two steps share a time, move one apart before using the automations.
Steps for your app
In Smart Life (Tuya), use “Automation” → schedule → device → brightness and colour temperature for each step.
In Apple Home, create an automation per time of day and set the lights' brightness and colour temperature. Apple's built-in Adaptive Lighting works only on Apple-approved bulbs; this list is for any bulb whose app can set colour temperature.
In Google Home, create one household automation per step with time as the starter. Available light settings depend on the bulb.
Exact time automations
For Home Assistant, replace light.your_lights with your light entity and paste the list into automations.yaml. Times run in Home Assistant's time zone; match it to the zone shown above. The transition is 60 seconds; some bulbs do not support it. At 0% brightness, Home Assistant turns the light off.
Sun-following configuration
The Adaptive Lighting HACS integration by basnijholt (Apache-2.0) follows the sun, so this is the nearest fit to your edited curve. It uses your wake point as virtual sunrise and your sunset point (or wind-down in polar conditions) as virtual sunset. Intermediate points do not transfer exactly. Enable its sleep-mode switch at your night point and disable it at wake with separate automations. It adjusts lights that are on; this configuration alone does not schedule lights to turn on.
Place and solar data
ZIP-prefix centroids are built from the US Census ZCTA Gazetteer (public domain). Cities and their time zones come from GeoNames cities15000, filtered to population 100,000+, under CC BY 4.0. Names use the source's ASCII form; coordinates are rounded to 0.001°. Sun times use NOAA's solar equations and are estimates.
How to use this tool
Set your wake time, bedtime, place and bulb range. Press Show schedule, then drag a temperature or brightness dot to change its time and value. Arrow keys move a focused dot: left/right by 5 minutes, up/down by 100 K or 1%. Copy the steps into your bulb app or use either YAML export.
Frequently asked questions
Why use warm light at night?
This plan uses warmer, dimmer light in the evening. Lower kelvin numbers mean warmer light; choose the brightness and colour you find comfortable.
What if my bulb only goes to 2700 K?
Set Warmest to 2700 K. Many cheap bulbs stop there. The chart, step list and both exports stay within your bulb's entered range.
Does this work with Apple Adaptive Lighting?
Apple's built-in Adaptive Lighting works only on Apple-approved bulbs. This step list is for any bulb whose app can schedule brightness and colour temperature. The separate Adaptive Lighting YAML is for the Home Assistant HACS integration.
Do I need a hub?
The planner needs no hub. Running the schedule depends on your bulbs: some use Wi-Fi and an app, while others need their compatible hub or a Home Assistant setup.
Does it send my location or entries anywhere?
The page looks up places and calculates the sun times in your browser. No typed entries or coordinates are sent by the page. Use my location asks the browser for permission; your browser's location provider may use its own services. One anonymous plan event is sent after your first edit; it contains only kind: plan.
How accurate are the sun times?
Sunrise and sunset use NOAA's solar equations for today. ZIP lookup uses a 3-digit-prefix centroid, so it is approximate. City lookup includes places with at least 100,000 people. Near the poles, a day without sunrise or sunset uses only your wake and bed times.
