Here are a bunch of home automation ideas for your inspiration. These are examples of automation rules that have worked well for my family. They might work well for yours too.

The ideas are technology agnostic and describe the concept rather than the exact implementation. They should work with just about any home automation system and they all adhere to the home automation best practices.

Let’s dig in.


Most home automation systems have the notion of modes. Typically, the names of these modes are Home, Away and Night, but there can be variations and some system let you add additional modes. You can use these modes as conditions for the home automation rules. For example, when the mode is set to Night, turn on lights on low dim in the kitchen when motion is detected.

When set properly, modes are useful in many automations.


  • Manually set house in Night mode
  • Automatic detection

Set the mode to Night when clicking a physical button or switch. A voice assistant could also trigger it when you say “goodnight”. Physical buttons are often easier to use than a voice assistant and works when offline.

Setting Night mode could trigger the following events:

  • Turn off lights in the kitchen, living room and elsewhere
  • Turn off media – music, TV etc.
  • Lock the exterior doors if unlocked
  • Close the garage door if open
  • Arm the alarm system


There are two scenarios for when you want to trigger Home mode. The first is when you get out of bed in the morning and the second is when you come home to an empty house after having been away.

In the morning, press a physical button or switch or say “good morning” to your voice assistant. The button/switch could be the same one that put the house into Night mode.

After being away, unlocking the front door, opening the garage door or simply the detection of motion can put the house back in Home mode automatically.

Setting Home mode could trigger the following events:

  • Turn on lights if dark inside
  • Play music
  • Turn on thermostat to cool or heat the house
  • Turn on indoor holiday decorations
  • Dock the robot vacuum


This mode should be set when everybody leaves the house, and nobody is home. Saying “goodbye” to the voice assistant is one way to set it, but it should really happen automatically instead. That way you never forget it and don’t have to worry about it.

Automatic detection could happen this way:

  • House is in Home mode
  • No motion detected in the house for 10 minutes
  • All phones or presence sensors report they are not home
  • No one is taking a nap in the house

Detecting someone napping during the daytime can be hard. We use white noise machines in the kids’ room for when they nap, so we use a power meter to detect when it’s on. When on, the house doesn’t go into Away mode. If you don’t use a white noise machine, a night/salt/lava lamp or similar will work just as well.

If you wish to know when the mode changes between Home and Away, send a push notification to your phone if your system supports it.

Setting Away mode could trigger the following events:

  • Lock all exterior doors if unlocked
  • Close garage door if left open
  • Turn off all lights, fans, and appliances in the house
  • Start the robot vacuum
  • Put the thermostat in “eco” mode
  • Between sunset and midnight, turn on away-lights
  • Arm the alarm system


This is for bathrooms that have both a tub or shower and a toilet.


  • Turn on lights when someone enters
  • Turn off lights when everyone leaves


  • Turn on fan when door closes
  • Turn off fan after 15 minutes

Use a motion sensor to turn on the lights when someone enters the bathroom. Use a door sensor to detect when the door is closed. When closed, the lights must not turn off automatically. That ensures that the lights don’t turn off while you’re in the shower or taking your time on the toilet.

The fan turns on automatically when the door closes and turns off again after 15 minutes.

When in Night mode, the lights should only come on at a low dim.

Shower door

This is if you have a dedicated light just for the shower.

  • Turn on shower lights and bathroom fan when shower door opens
  • When shower lights are on, don’t turn off any other bathroom lights

If you have a glass shower door, add a door sensor too it. When the door opens, turn on the shower lights and fan. Turn off lights and fan after 15 minutes.


Whether you park your car in the garage or use it for storage or workspace, here are some automations that apply to all scenarios.


  • Turn on when someone enters
  • Turn off after the last person leaves

Add one or more motion sensors to cover the whole garage. When motion is detected, turn on the lights. When no motion was detected for 1 minute, turn off the lights. Depending on the location and speed of the motion sensors, consider adding a door sensor to the internal door that triggers the lights upon opening.


  • When going to bed, close garage door if open
  • When leaving the house, close garage door if open

When the home automation system goes into Night or Away mode, check if the garage door is open and then close it.

Hallway closet

Some closets don’t have any lights or power outlets on the inside. The closest light source could be a ceiling light on the outside. Then we’ll use that in our automation.


  • When in Home mode
  • Turn lights on when door opens
  • Turn lights off when door closes

Add a door sensor that triggers the light to turn on and off when the door opens and closes, respectively. If the light is located outside the closet, you may want to check if it was on before opening the door, so the automation doesn’t turn it off when the door closes.

“Dumb” battery powered LED lights with basic motion sensing capabilities are also useful. We use them in some closets that have no other light source or power outlet.

Walk-in closet

Typically, a small room full of clothes and a ceiling light. The door is probably left open all the time.


  • Turn on when someone enters
  • Turn off after the last person leaves

Add a motion sensor above the door pointing slightly downwards so it covers the whole closet as well as the door entrance. When motion is detected, turn on the lights. When no motion was detected for 1 minute, turn off the lights.

When in Night mode, turn on the lights at a lower dim setting to not be blinded by the bright light.

Kids rooms

Our kids can’t reach the light switch in their rooms, so automated lighting was very important for us. Otherwise they would keep asking us to come turn on the lights for them.


  • When in Home mode
  • Turn on when someone enters
  • Turn off after the last person leaves
  • Turn off lights when white noise machine starts (nap/bedtime begins)
  • Turn on lights at low dim setting when white noise machine is off
    • Then slowly brighten lights over a 5-minute period


  • Close blinds when white noise machine starts (nap/bedtime begins)
  • Open blinds 10 minutes after white noise machine is off

Motion sensor triggers lights on/off when someone enters and leaves the room. A power meter connected to the white noise machine triggers the lights off when turned on. Turning off the white noise machine should very slowly start to brighten the ceiling lights from the lowest dim setting.

Use an illumination (light) sensor to detect how light it is in the room before turning on the light. There is no reason to turn on lights in a room full of sunlight.

Master bedroom

This room is notorious for being hard to automate. The reason is that there are so many usage scenarios that it is hard to identify patterns automatically. We tried automating the lights, but there would be times when that would be annoying. We made modifications and kept iterating until we came up with a simple rule that works:

  • When in Home mode
  • And it is dark outside (no light coming in)
  • Turn on master bathroom lights when someone enters bedroom

Most of the time we enter the bedroom, it is to pass through into the master bathroom, which is also where the walk-in closet is. So, turning on the bathroom lights does light up the bedroom a bit, so we don’t have to walk in the dark.


Landscape lights are pretty, and they help you see the driveway when coming home at night.


  • Turn on at sunset
  • Turn off at sunrise
  • Turn on additional driveway lights when car pulling in
  • Turn on holiday lights at 30-60 minutes before sunset

You can buy “dumb” light switches with sunset/sunrise capability, but they are no fun and if you have multiple lights, then you can’t fully coordinate them.

Hook up a motion sensor to trigger the driveway lights to guide the car in. Turn back off after 5 minutes of no motion detected.


These days, the smart home includes the car.

Door lock

  • Unlock front door when coming home
  • Lock front door when leaving

Place a presence sensor somewhere in your car(s) and automatically unlock the front door when you arrive home. Unless the garage door is open/opening. If the garage door is open/opening then you are probably going to enter the house through the garage, so no need to unlock the door.


Here are some additional automations that could apply to multiple rooms or the whole house.


  • When a window has been open for more than 1 minute, turn thermostat off
  • When closing all windows, turn thermostat back on

Add window sensors (same as door sensor) to all windows.

Night lights

  • Turn on lights when motion is detected

In the kitchen, living room and elsewhere, turn on lights at a very low dim setting when motion is detected in Night mode. Make sure it’s dim enough that it won’t wake up anyone sleeping in their rooms with the door open.

Door lock notifications

  • Send notification when non-members of the household come and go

Get a push notification when anyone that has their own code to your smart lock uses it. That helps you keep track of how long the house cleaners spent cleaning or if your parents came to drop that thing of you asked them to while you were at work.



Nice info! I like the generic of it like the other article you wrote about home automation. But it would also be nice that you write a third article about the hardware/software you used. You look like you have some nice experience about this and your input is appreciated.


Mads Kristensen

I plan on writing several posts about specific hardware and software in the near future

Mads Kristensen


Hey Mads, Some very nice ideas you have here. Definitely planning to take and implement some of those. Can I please ask what you use as your z-wave controller? I have used a Vera as well as a Z-WAVE stick together with OpenHab but none of those seemed to be stable in the long run. Could you share us some insights on that? Thanks


Comments are closed