Waking up to a blaring alarm in a pitch-black room is a terrible way to start the day. I wanted a commercial-grade wake-up light experience right inside Hubitat—something that doesn't just turn the lights on, but actually simulates a natural sunrise, manages my morning audio, and respects my schedule.
I'm excited to share the Advanced Sunrise Wake Lighting app. It handles gradual lighting and volume transitions, integrates with your daily schedules, and even features a physical snooze button.
Key Features
- Multi-Room Support: Configure up to 3 distinct bedrooms/zones. Give each room a custom name and its own independent wake schedule.
- Gradual Light & Audio Fading: Smoothly ramps up dimmer levels, color temperatures, and speaker volume over your chosen duration (e.g., 30 minutes).
- Dynamic Color Temperature: Sync the waking color temperature to a Hub Variable (like external solar temp), or set a static maximum Kelvin ceiling for the fade.
- Physical Snooze Tracking: Tie a physical push-button to your room. Pushing it instantly drops the lights and audio to 1%, pauses the sunrise simulation, and resumes fading automatically after your configured snooze duration (e.g., 9 minutes).
- Manual Override Protection: If someone manually adjusts the dimmer level at the wall switch by more than 10% during the sunrise fade, the app assumes you are awake (or annoyed) and automatically aborts the simulation so it stops fighting you.
- Smart Conditionals: Prevent the sunrise from triggering on weekends or holidays. The app can check "Work/School Day" virtual switches, require the house to be in specific modes, and requires a "Good Night" switch to be active to run.
- Routine Handoffs: When the sunrise simulation hits 100%, it can send a custom push notification and flip a virtual switch to trigger the rest of your morning routines (like turning on the coffee maker or reading the weather).
The UI & Dashboard
As your automation setup grows, giant scrolling pages of settings become tedious. This app features a clean, modernized UI:
- Collapsible Menus: Every room's configuration is tucked away in a neat, hidden-by-default dropdown menu to keep your screen uncluttered.
- Live System Dashboard: A real-time HTML table at the top of the app shows exactly what your system is doing. It displays your custom room names, the status of your condition switches, and the live status of the fade (e.g.,
WAITING,FADING (45% at 4000K), orSNOOZING). - Action History Log: A rolling, on-screen log of the last 20 events so you can see exactly when a room started fading, snoozed, or was skipped due to a mode restriction.
How to Use the Snooze Feature:
Just assign any button controller (like a Pico remote on your nightstand) to the "Physical Snooze Button" input in your room's settings. When the sunrise starts and the lights begin to wake you up, hitting that button will immediately drop the room back to near-darkness and silence for your set snooze duration before picking up right where it left off.
Open Source & Free to Use
This project is completely free, open-source code. I know every smart home is unique, so please feel free to use it, tear it apart, edit the math, or adapt any part of the logic to perfectly fit your own setup. If you find a way to improve it, let me know!