How to Setup Randomized Vacation Lighting in Home Assistant @SlackerLabs
How to Setup Randomized Vacation Lighting in Home Assistant  @SlackerLabs
Uploaded July 2021 | Updated September 2026, 3 weeks ago
In this video, I wanted to show how you could use native Home Assistant to build randomized lightning automation that could be used when you are on vacation.

This is definitely an advanced topic because in order to pull this off we need some helpers, some looping scripts, and some templates leveraging jinja. But don't worry, I walk through all of it, and for those that want to skip to the good stuff, I posted all the YAML used to create this lighting effect on my blog so you can just copy and paste.

So, let's Automate some boring stuff.

Chapters:
00:00 - Build a Random Lighting Effect to Simulate Huma Presence - Intro
01:45 - Create a Group of Lights to Randomize in Home Assistant
02:16 - Create a Vacation Mode Switch in Home Assistant
02:55 - Create a Text Helpers to Store Data to use Later in Script
03:18 - Build Script to turn on Random Lights in Home Assistant
07:28 - Why a Script is sometimes better than an Automation in Home Assistant
08:37 - Automate your Random Lighting Script in Home Assistant
10:24 - Wrapping up Randomized Lighting Effect


Resources:
Detailed Walkthrough of YAML: slacker-labs.com/randomized-lighting-in-home-assistant

#homeassistant #smarthome #homeautomation

Who am I?

My Name is Jeff. I am an DIY-er and Automator of boring things. And, of course, a huge Home Assistant fan. Oh, I also live in a house that tweets.

Follow Me:
Github - github.com/thejeffreystone
Twitter - twitter.com/thejeffreystone / twitter.com/slackerlabs
On the Web - slacker-labs.com

And if you like this video you could always fuel my automation habit -

One Time Donation:
Paypal: paypal.com/paypalme/SlackerLabs
Cash App: $slackerlabs
Buy me a coffee: buymeacoffee.com/icE6DeBut
.
Or use my Amazon affiliate link which provides a small commission on things you buy without additional cost to you - amazon.com/s/ref=as_li_ss_tl?k=Home+Automation&ref=nb_sb_noss_2&linkCode=ll2&tag=thejeffreysto-20&linkId=18622d75c4923c69c2b7488cec58ad5e&language=en_US

Video Gear:

Canon m50: amzn.to/3ftldPH
Desk Mic: amzn.to/3wkum40
Camera Mic: amzn.to/3tXk1cp
Newer 660: amzn.to/3fwwejd
Dazzne D50: amzn.to/3oGBK5y
Audio Interface: amzn.to/3u07chK
Gimble: amzn.to/3ouKAoe

Music - Epidemic Sound: epidemicsound.com/referral/o05z6m
Video Assets - LenoFx: http://i.refs.cc/CJXU6Da9?smile_ref=eyJzbWlsZV9zb3VyY2UiOiJzbWlsZV91aSIsInNtaWxlX21lZGl1bSI6IiIsInNtaWxlX2NhbXBhaWduIjoicmVmZXJyYWxfcHJvZ3JhbSIsInNtaWxlX2N1c3RvbWVyX2lkIjo3NzE2MjM1MTd9
How to Setup Randomized Vacation Lighting in Home AssistantMoving Home Assistant ...Whats Next?5 ways Presence Detection makes Home Assistant SmarterReolink Duo2 - You can Automate with this Camera!Home Assistant Webhooks, Time pattern Automation Triggers, and some Timestamp MathReolink 510A and Home Assistant
SlackerLabs |

How to Setup Randomized Vacation Lighting in Home Assistant

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER