Home Alone: How to Make Your Smart Home Look Occupied

Home Alone: How to Make Your Smart Home Look Occupied

There is something quite satisfying about going on holiday. The bags are packed, the car is ready, the heating is turned down, and you are finally heading off for a few days of well-deserved relaxation.

Advertisements

Then, somewhere down the road, you start wondering:

Did I lock the front door? Did I turn off the lights? And does the house look completely empty?

If you have watched Home Alone, you already know that an empty house can attract unwanted attention. Kevin McCallister had a rather unusual way of dealing with that problem. Fortunately, we have Home Assistant.

Instead of hiring a small army of cardboard cut-outs and dancing mannequins, we can make our house look occupied using a few smart lights, presence detection and a clever community blueprint.

Let’s build a little holiday misdirection.

The idea: Make the house look lived in

A house where every light stays off from Friday afternoon until Monday morning is a pretty good indication that nobody is home.

A more convincing setup should imitate everyday activity:

  • Lights come on at slightly different times.
  • Different rooms are illuminated during the evening.
  • Lights turn off at varying times.
  • The house does not follow exactly the same schedule every day.
  • A few lights may come on briefly later in the evening.

The goal is not to turn every light on and leave it running. That would be less Home Alone and more Home Alone with a very expensive electricity bill.

We want something that looks natural.

Step 1: Create an Away Mode helper

First, create a simple helper that tells Home Assistant when the house should behave as if nobody is home.

Go to Settings → Devices & services → Helpers, select Create helper, and choose Toggle.

Give it a name such as:

  • Name: Away Mode
  • Entity ID: input_boolean.away_mode

This helper will act as the master switch for our holiday lighting.

You can turn it on manually before leaving, or let your existing presence automations handle it automatically.

Advertisements

Step 2: Connect Away Mode to presence detection

If you already have automations that detect when everyone leaves home, there is no reason to reinvent the wheel.

Simply add an action to turn on input_boolean.away_mode when the last person leaves, and turn it off when someone returns.

If you want to create a basic example, you can use a Person Group helper called group.household. A group of people is useful here because it remains home while at least one member is home.

Activate Away Mode when everyone leaves:

alias: Home - Activate Away Mode
description: Activate Away Mode when everyone has left
triggers:
  - trigger: state
    entity_id: group.household
    from: home
    to: not_home
    for:
      minutes: 5
actions:
  - action: input_boolean.turn_on
    target:
      entity_id: input_boolean.away_mode
mode: single

Deactivate Away Mode when someone returns:

alias: Home - Deactivate Away Mode
description: Deactivate Away Mode when someone returns
triggers:
  - trigger: state
    entity_id: group.household
    from: not_home
    to: home
    for:
      minutes: 2
actions:
  - action: input_boolean.turn_off
    target:
      entity_id: input_boolean.away_mode
mode: single

Replace group.household with your own person group entity.

If you already have reliable arrival and departure automations, just add the helper actions to those instead. The important thing is that Away Mode only activates when the house is actually empty.

Step 3: Install the Holiday & Away Lighting blueprint

Here is where things get interesting.

Rather than writing our own collection of random delays, light sequences and timers, we can use a community blueprint by Blackshome:

Holiday & Away Lighting – Version 1.4

Open the Holiday & Away Lighting blueprint on GitHub Gist

The blueprint offers a surprisingly flexible set of options:

  • Activate the automation using an input_boolean.
  • Trigger lighting based on time, sun elevation or ambient light.
  • Turn lights on in sequence, reverse order or random order.
  • Add random delays between lights.
  • Set brightness, colour temperature, colour and transition time.
  • Turn lights off after a random duration or within a defined time range.
  • Run multiple random lighting cycles during a defined activity window.

In other words, it handles most of the fiddly work that would otherwise require several custom automations.

Import the blueprint

In Home Assistant:

  1. Open Settings → Automations & Scenes → Blueprints.
  2. Select Import Blueprint.
  3. Paste the GitHub Gist URL. (https://gist.github.com/Blackshome/0a34870755762bcb9fab159d5b94fd25)
  4. Import the blueprint.
  5. Create a new automation from Holiday & Away Lighting.

Once imported, the blueprint becomes available when creating automations.

Step 4: Configure your holiday lighting

The blueprint has quite a few settings, so let’s keep the first configuration relatively simple.

The following is a practical starting point for a normal Scandinavian home during winter.

Automation Control

Choose:

  • Automation Control: Entity State
  • Entity State: input_boolean.away_mode

This means the lighting automation is active while Away Mode is on.

Trigger Settings

For the main evening lighting, I would choose:

  • Trigger Type: Sun Elevation
  • Sun Elevation Falling: approximately -1.5

This starts the lighting around dusk, rather than relying on a fixed clock time.

You could also use an ambient light sensor if you have one available.

Lights ON Behaviour

Select a few lights that would normally be used during an evening at home.

For example:

  • Living room lamp
  • Dining room lamp
  • Hallway light
  • Kitchen lighting

My suggested settings:

SettingSuggested value
Lights ON OrderShuffled
Random ON Delay60–120 seconds
Brightness40–70%
Transition2–5 seconds

The idea is to avoid having all the lights switch on at precisely the same moment.

A little variation makes the house feel less like it is following a military timetable.

Lights ON Duration

For the first setup, choose Earliest and Latest Time Range.

For example:

  • Earliest OFF Time: 22:00
  • Latest OFF Time: 23:15

This gives the lighting a natural evening window instead of leaving everything on until midnight.

You can also experiment with the Minimum / Maximum ON Time option if you prefer each run to use a random duration.

Lights OFF Behaviour

Just as with switching the lights on, you can choose the order in which they turn off.

I would use Shuffled here too, with a random delay between lights.

That way, the living room might go dark first one evening, while the kitchen or hallway goes dark first the next.

The exact order is not important. Avoiding an identical pattern every evening is.

Step 5: Add a little activity later in the evening

A house does not necessarily become completely dark the moment everyone goes to bed.

Blackshome’s blueprint also includes a feature called Random Activity Window.

This can turn lights on and off several times during a defined period. It is designed for situations such as simulating movement through the house overnight.

You could create a second automation using the same blueprint, selecting a smaller group of lights such as a hallway or bathroom light.

For example:

  • Start the activity window around bedtime.
  • Use 2–3 cycles.
  • Keep each ON period short.
  • Allow longer random OFF periods between activations.

The blueprint provides settings for the activity window duration, number of cycles, minimum and maximum ON time, and minimum and maximum OFF time.

One important detail: the blueprint documents a calculation to make sure the cycles fit inside the selected window:

(Cycle Count × Maximum ON Time) + ((Cycle Count - 1) × Maximum OFF Time) ≤ Duration

Check that your chosen values satisfy this formula.

You probably do not need five random bathroom visits every night. We are trying to simulate a home, not a particularly restless household.

Step 6: Do not forget the rest of the smart home

Lighting is only one part of making a house look occupied.

While Away Mode is active, Home Assistant can also keep an eye on the things that matter:

  • Door and window sensors.
  • Smoke alarms.
  • Water leak sensors.
  • Heating and indoor temperatures.
  • Battery levels on important sensors.
  • Internet connectivity.
  • Security cameras and motion detection.

You can also create notifications for important events.

For example, a water leak notification is considerably more useful than knowing that the living room lamp has been on for 47 minutes.

Remember that lighting simulation is not a security system. It is a small extra layer of deterrence, not a replacement for proper locks, alarms or monitoring.

Step 7: Add Away Mode to your dashboard

A simple dashboard control makes it easy to see whether the house is in Away Mode.

A Tile card is enough:

type: tile
entity: input_boolean.away_mode
name: Away Mode
icon: mdi:home-export-outline
color: amber
tap_action:
  action: toggle

You can place it on your main Home Assistant dashboard, or include it on a dedicated security view.

When Away Mode is active, the blueprint-controlled lighting can run automatically.

When someone returns, the presence automation turns Away Mode off again.

Step 8: Test before leaving

Before relying on the setup during a holiday, test it while you are still at home.

I would recommend:

  1. Turn Away Mode on manually.
  2. Check that the blueprint automation becomes active.
  3. Verify that the selected lights respond as expected.
  4. Check the random delays and ON/OFF behaviour.
  5. Turn Away Mode off and verify that the automation no longer starts new lighting runs.
  6. Test what happens if Home Assistant restarts during a lighting sequence.

Also remember that other automations may control the same lights. A motion automation or normal evening routine can interfere with your simulation. Consider adding Away Mode as a condition to those automations if necessary.

And please do not test this for the first time while sitting on a plane somewhere over the North Sea.

Final thoughts

A smart home should make life easier, even when nobody is home.

Using Home Assistant’s presence detection together with Blackshome’s Holiday & Away Lighting blueprint gives us a flexible way to simulate normal household activity without maintaining a large collection of custom lighting automations.

The best part is that you can keep the setup simple. Start with a handful of lights, add some random timing, and expand it if you need more realism.

And unlike Kevin McCallister, you do not need to defend your house with paint cans, toy cars and a suspiciously large collection of Christmas decorations.

Just make sure you remember to turn Away Mode off when you get home.

Because nobody wants to spend the first evening back wondering why the hallway light keeps turning itself on.


Some of the links in this article are "affiliate links", a link with a special tracking code. This means if you click on an affiliate link and purchase the item, we will receive an affiliate commission. The price of the item is the same whether it is an affiliate link or not. Regardless, we only recommend products or services we believe will add value to our readers. By using the affiliate links, you are helping support our Website, and we genuinely appreciate your support.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.