Transform your home's ambiance with MagicLight, the intelligent lighting system that automatically adjusts your lights throughout the day to match natural sunlight patterns.
- Smart Switch Integration - Provided blueprint sets up Hue Dimmer Switch functionality in minutes
- Visual Light Designer - Interactive web interface to perfect your lighting curves
- Magic Mode - Automatically updates lights every minute to follow curve
⚠️ IMPORTANT: MagicLight requires BOTH components to be installed for full functionality:
- The Add-on - Provides the adaptive lighting engine and Light Designer interface
- The Integration - Enables MagicLight services for automations and blueprints
Installing only one component will result in limited or non-functional features.
- Click the button above to add the MagicLight repository to your Home Assistant
- Navigate to Settings → Add-ons → Add-on Store
- Find "MagicLight" and click Install
- Start the add-on and check the logs
- Ensure HACS is installed
- Click the button above or search for "MagicLight" in HACS
- Click Install and restart Home Assistant
- Add MagicLight through Settings → Devices & Services
- Click the button above to import the MagicLight Smart Switch Control blueprint
- Or manually import from: Settings → Automations & Scenes → Blueprints → Import Blueprint
- Use URL:
https://github.com/dtconceptsnc/magiclight/blob/main/custom_components/magiclight/blueprints/hue_dimmer_switch.yaml
- Create an automation from the blueprint:
- Select your switch device(s) (supports ZHA and Hue Bridge)
- Choose target area(s) to control
- Save and activate the automation
The blueprint provides smart button mappings:
- ON button: Smart toggle (turns lights on with MagicLight or off)
- OFF button: Reset to current time and enable MagicLight
- UP/DOWN buttons: Step brightness along the adaptive curve
- Install ALL components following the installation steps above
- Create an automation from the blueprint for your switch devices
- Press your configured switch - lights in that area will automatically adjust
- Open Light Designer from the Home Assistant sidebar to customize your preferences
- Enjoy perfect lighting throughout the day!
Access the Light Designer through your Home Assistant sidebar when the add-on is running. This intuitive interface lets you:
- Preview your lighting curves in real-time
- Adjust brightness and color temperature ranges
- Fine-tune morning and evening transitions
- Save configurations instantly
MagicLight works with:
- Smart Switches: ZHA-compatible switches (Hue, IKEA, Aqara, etc.)
- Smart Lights: ZigBee, Z-Wave, WiFi (Tuya, LIFX, etc.), Matter
- Home Assistant: 2023.1 or newer
MagicLight works out of the box with sensible defaults. For advanced users, customize through:
- Add-on Configuration: Adjust color modes and temperature ranges
- Light Designer: Visual interface for curve customization
- YAML: Advanced automation possibilities
MagicLight is released under the GNU General Public License v3.0. See LICENSE for details.
Need Help? Open an issue or check our documentation.
Love MagicLight? Give us a ⭐ on GitHub!