Automation & Routines

Make Leaving Home a One-Tap Routine

Turn the scramble of leaving the house into a single routine that locks up, kills the lights, and sets the thermostat back — by tap or automatically.

A modern house with large windows seen at dusk.
Photograph via Unsplash

Leaving the house is a small daily ritual of second-guessing. Did I lock the door? Are the lights off? Is the heating still running for no one? Most of us end up standing on the doorstep running a mental checklist, or worse, remembering the unlocked door halfway to work. A departure routine collapses that whole checklist into a single, reliable action.

The beauty of it is that all these separate chores share one moment — the moment you leave — so they may as well share one instruction. Lock up, switch off, set the thermostat back, and go. Whether you trigger it with a tap or let your home notice you've gone, the result is the same: you stop carrying the checklist in your head.

Start with the manual version#

Before you automate anything, build the routine as a simple one-tap button. This is the version you'll trust first, and it's genuinely useful on its own.

Bundle everything you do when leaving into a single "Leaving Home" routine you can fire from your phone or a button by the door:

  • Lock the smart lock (or send a reminder if you don't have one)
  • Turn off all the lights
  • Set the thermostat to its away or eco level
  • Switch off smart plugs powering things like the coffee machine or a space heater
  • Optionally, arm any cameras or sensors that should only watch an empty house

Tap it on your way out and the house handles the rest. Run this manual version for a couple of weeks. You'll quickly discover the small gaps — the lamp you forgot to include, the fan that should stay on for the dog — and you can refine it while nothing is riding on automatic behavior. This is the same build-small-then-grow approach covered in how to build your first smart home routine, and departures are one of the most rewarding places to apply it.

Add presence detection carefully#

Once the manual routine is solid, the obvious upgrade is to have it fire on its own when you actually leave. This is where presence detection comes in — usually your phone's location, sometimes a small tracker or the pattern of which devices are connected to your Wi-Fi.

Geofencing is the common method: you draw a virtual boundary around your home, and when your phone crosses it, the routine runs. It feels like magic when it works. But presence detection is also where enthusiasm outruns reliability, so treat it with respect.

Never let an automatic routine lock a door or arm an alarm based on a single phone leaving, unless you're certain that phone is always with the last person out. In a shared home, one person heading to the shops shouldn't lock everyone else out or trigger the alarm around them.

The safe pattern for multi-person homes is "last one out." The routine should only fully secure the house when every known phone has left the geofence, not the first. Most ecosystems support this, though you may need to set it up explicitly rather than relying on the default.

Phone location isn't the only way to sense presence, either. Some homes lean on which devices are connected to the Wi-Fi, a Bluetooth beacon in the car, or a small tracker on a keyring. Each has its own quirks — Wi-Fi presence can be slow to notice a phone that's only just left, for instance — so it's common to combine two methods and treat the house as empty only when both agree. Redundancy is your friend when the consequence of a mistake is a locked door.

Build in a safety net#

Presence detection fails in small, predictable ways. A phone's battery dies. Location services get sluggish. You leave your phone at home by accident. None of these should turn into a locked-out, cold, or unsecured house, so plan for them.

A few safeguards make automatic departures trustworthy:

  1. Grace delay. Wait several minutes after the geofence trigger before locking up, so a quick trip to the bin doesn't slam the door behind you.
  2. A confirmation nudge. Have the routine send a notification — "House secured, thermostat set" — so you get positive feedback that it actually ran.
  3. A manual fallback that never breaks. Keep physical keys and working wall switches. The smart layer should be a convenience on top of a home that still functions the old-fashioned way.
  4. Independent locks you can check remotely. Being able to open your app and confirm the door is locked is worth more than any amount of clever triggering.

The reliability of all this rests heavily on your network, since presence and locks both depend on devices staying connected. If your routines fire unpredictably, the cause is often further down the stack, and why your smart home automations keep failing is the place to look before you blame the routine itself.

Don't forget the return trip#

A leaving routine is only half the story. The moment you come home, you want the reverse: lights on if it's dark, thermostat back to comfortable, alarm disarmed, maybe some music. Building the arrival routine at the same time keeps the two in sync and stops odd states — like the heating never coming back because you only ever automated leaving.

Arrival routines are usually gentler to automate than departures, because the failure modes are friendlier. If your lights come on a minute late when you get home, that's a mild annoyance; if your door fails to lock when you leave, that's a real problem. So it's fine to let arrival lean more on automatic presence triggers while you keep departures a touch more cautious.

Think about the handoffs between routines, too. Your arrival routine in the evening might flow naturally into your wind-down, and your departure in the morning might follow your wake-up sequence. When these pieces connect cleanly, the day starts to feel like it's being quietly managed around you rather than by you.

Walk out without looking back#

The real prize here isn't the locked door or the lowered thermostat — it's the mental quiet of not having to check. Once a departure routine has earned your trust, you leave the house and simply keep walking, because you know the home took care of itself the moment you crossed the threshold.

Build the one-tap version first and lean on it until it's second nature. Add presence detection only once it's solid, use the last-one-out rule in shared homes, and wrap the whole thing in grace delays and manual fallbacks. Do that, and leaving the house stops being a checklist and becomes what it should be — just walking out the door.

Felix Braun
Written by
Felix Braun

Felix cares about the boring foundations that make everything else work — Wi-Fi, networks, and privacy. He explains them clearly and without fearmongering.

More from Felix