๐ŸŒŸ Motion-Controlled Lighting 4.8 โ€“ The Next-Level Light Maestro

:star2: Motion-Controlled Lighting 4.8 โ€“ The Next-Level Light Maestro :star2:

:sparkles: Welcome to the Smartest, Most Flexible Home Yet

Imagine this: You enter a room, and your lights already know what you want. Morning light awakens gently, evenings wrap you in cozy tones, and motion, lux, sun, and schedule all work in perfect harmony.

Motion-Controlled Lighting 4.8 isnโ€™t just an upgrade โ€“ itโ€™s a full rewrite of your favorite automation, now smarter, safer, and more reliable:

:walking_man: Motion โ€“ Trigger lights with one or multiple sensors
:radio_button: Optional Switches โ€“ Manual override at your fingertips
:bulb: Lux Awareness โ€“ Only turn on when itโ€™s truly dark
:sunrise: Sunrise/Sunset with offsets โ€“ Perfect timing, every day
:art: Day & Night Scenes โ€“ Set your moods with scenes or individual lights
:alarm_clock: Dual Fixed Off-Times โ€“ Lights always turn off on schedule
:date: Workday Awareness โ€“ Weekday/weekend differences built-in
:shield: Failsafe Protection โ€“ Maximum runtime control for peace of mind
:camera_flash: Snapshots โ€“ Preserve your preferred light states before activating
:memo: Logging โ€“ Keep track of every action

โ€ฆand every feature is fully optional. You set the rhythm. You set the mood.

:sunrise: Example Flows

:sunrise_over_mountains: Morning Glow โ€“ Rise and Shine

Weekday, 07:00. Motion triggers your gentle day scene.
If the sun is already up, natural light takes over โ€“ no wasted energy.

:sun_with_face: Daytime Smartness

Sunrise/sunset offsets ensure your lights match the season and daylight. Dual fixed off-times guarantee lights never stay on too long. Want a late evening on weekends? No problem.

:crescent_moon: Evening Cozy Mode

Motion or a switch sets night mode: soft, relaxing light. Lights fade off after your chosen auto-off durations โ€“ calm, not abrupt.

:alarm_clock: Workday vs Weekend Magic

Workday sensor integration makes your lighting routine-aware: Longer evening scenes on weekends, early shutoff on workdays.

:shield: Failsafe Protection

Forgot the lights? Donโ€™t worry. Failsafe ensures lights automatically turn off after the maximum runtime โ€“ now more robust and reliable than ever.


:wrench: Features in Detail

Feature How it Works
:walking_man: Motion Sensor (optional) Trigger lights automatically
:radio_button: Manual Switch (optional) Override lights manually
:sun_with_face: Day & Night Scenes Different moods depending on time
:bulb: Lux Sensor Blocks triggers if itโ€™s already bright
:sunrise: Sunrise/Sunset Customizable offsets for smarter timing
:stopwatch: Two Fixed Off-Times Guaranteed light shutdown at set times
:date: Workday Control Different rules for weekdays/weekends
:shield: Failsafe Auto-off after max runtime (activation switch included)
:hourglass_flowing_sand: On-Time (Day/Night) Adjustable fade-out after inactivity
:memo: Scene Logging Keeps track of last state

:rainbow: Pro Tips

  • :sunrise: Combine sunrise offsets, workday rules, and fixed off-times for seamless automation
  • :art: Use separate day/night scenes for dynamic moods and energy efficiency
  • :gear: Keep inputs blank for a simple setup โ€“ or customize every detail
  • :shield: Enable failsafe for ultimate peace of mind

With Motion-Controlled Lighting 4.0, your home isnโ€™t just smart โ€“ itโ€™s alive. :sparkles:


:inbox_tray: Installation

  1. Link to Blueprints: start import โ€“ My Home Assistant
  2. Create an automation based on it
  3. Choose your lights, motion sensors, and optional extras
  4. Enjoy perfectly tuned, fully automated smart lighting :tada:

:hammer_and_wrench: Support

Questions? Ideas? Suggestions?
:point_right: Open an issue on GitHub repo


:man_technologist: Author

Created with :heart: by Rasmus Sjรถberg @razzietheman
2025


:bulb: Thank you for using and sharing!

If you enjoy this blueprint, consider giving it a :star: on GitHub.

9 Likes

Thank you for sharing! Seems to work fine so far. There are two things that i noticed.

  • I already use a input_boolean helper as a automation blocker. it would be nice if i could put it in as a โ€œswitchโ€
  • There is a sun addon that gives entitiies for dawn and sunset. Maybe you want to look into that? Lux sensor integration is good enough for me personally.
1 Like

Oh I see , I will take my time and see if there is a possibility too fix something like that! talk about the sun addon I already have this

Use Sunrise/Sunset
Whether the automation should use sun times instead of fixed times.

if itโ€™s this you mean?

meantime take a look at the new 5.2 release that I released online today!

Hey,
I m very new at HomeAssistant, so maybe its just a newbie fault and not a missed future
Am i the only one, who like to switch on light for seconds?
Im using the most of Moving sensors for lights at stairs, corridor - so sometimes i dont need to keep it longer than 20 seconds
Is it possible here?

Thanks in advance
Andreas

if i only use Scenes how do i set up an โ€œoffโ€ Scenes

Unfortunately, it looks like this blueprint is not working at all. At least not in the latest HA version (2026.07)

1 Like