Leaving for the Holidays: One NFC Tap to Set Your Home to Away
Tap one NFC tag by the door to run your away routine: lights off, thermostat down. How to set it up in iPhone Shortcuts or Home Assistant, and which phones work.
One tap by the door instead of a last-minute checklist
An NFC tag by your front door can run your whole "away" routine with one tap: lights off, thermostat down, whatever else you have set up. On an iPhone you build it in Shortcuts as an NFC automation, and in Home Assistant you point a tag trigger at your own routine. Both take about ten minutes.
The last five minutes before a holiday trip are when things get forgotten. You're carrying bags, checking the time, half remembering that you meant to turn something down. One tap on a tag removes the remembering. This guide covers how to build the routine, how to make it run without a confirmation prompt, the iPhone model limit, and how to test it before you leave.
What an away tap can do
Decide what "away" means in your home
Keep the routine to things your own smart home can already do. Common choices are turning off the lights, lowering the thermostat, and pausing anything that only matters when someone is home. If your lights and thermostat are in the Home app, Shortcuts can call them as actions. If you run Home Assistant, the routine is whatever automation you point the tag at.
Start small. Two or three actions you trust beat a long chain you've never tested.
Keep it to one routine
One tag, one result. When the same tap always does the same thing, you stop second-guessing it at the door. Label the tag ("Away") so a house sitter or family member knows what it does before they tap it.
One honest limit: this is a convenience, not a security system. A tag does not lock your doors or watch your home. It runs the actions you gave it. Nothing more.
Build the away routine in iPhone Shortcuts
Create the automation
Open Shortcuts, go to the Automation tab, and make a new personal automation. Choose the NFC trigger (it appears as "When I tap an NFC tag"), then hold your iPhone near the tag to scan it. Apple's Shortcuts guide lists NFC among the triggers you can use for personal automations, next to Time of Day, Arrive, Leave and Wi-Fi.
Add your home actions
Next, add the actions for your routine. For a typical away setup that means a Home or scene action for the lights and one for the thermostat. 9to5Mac's HomeKit walkthrough follows this same flow: pick the NFC trigger, scan the tag, then add the home actions you want it to run.
The tag only needs an identifier
You do not need to write anything special on the tag. For the Shortcuts trigger, only the tag's unique identifier matters; the data stored on it is ignored. That means any readable NFC sticker or card works, including one you already have. If you want to know more about what stickers are made of, our guide to NTAG213 vs NTAG215 vs NTAG216 covers the common chips.
Make the tap run without a prompt
By default, an automation asks you to confirm before it runs. At the door, with luggage in both hands, that's one step too many. Apple says some personal automations can run without asking for confirmation when they are triggered, and NFC is on the list of triggers that qualify.
To turn it on, open the shortcut, tap Edit, then the Info button, then Privacy, and enable "Allow Running When Locked". Apple notes that the automation will not notify you when it runs, so test it while you are home and watching the lights. Apple also says you may need to set individual actions to run automatically, so check each action in the routine.
We cover the settings in more depth in iOS Shortcuts NFC automations that run without asking.
Which iPhones work and what changes on Android
The iPhone XS limit
Background tag reading, the feature that lets a tap trigger an automation without opening an app, needs an iPhone XS, XR or iPhone 11 or later. Home Assistant's documentation states this limit, and an Apple developer forum thread says the same for NFC automations in Shortcuts, which also require iOS 13.1 or later. On an older iPhone, a tap will not start the routine.
Android
Shortcuts is an iPhone feature, so Android needs a different tool. Home Assistant's companion app works on Android, and its docs say bringing the device near a tag fires the event directly, with no notification step. If you want an app that can read and write the tag itself, NFCore does that on both platforms: App Store or Google Play.
The Home Assistant route
If your home already runs on Home Assistant, you can skip Shortcuts. The mobile apps work with NFC tags out of the box. You write a tag from the companion app (Settings, Companion App, NFC Cards, Write), and Home Assistant creates a tag entity for it.
Each scan fires a tag_scanned event that carries the tag ID, a name and the ID of the device that scanned it. A tag trigger can then start any automation you like, such as your away scene. To find your device ID, subscribe to tag_scanned under Settings, Tools, Events, and scan the tag once.
There are two catches. First, on an iPhone the scan shows a notification that you tap, which opens the app and fires the event. Android skips that step. Second, some NFC tags are read-only, and others allow only one write before they lock, so a tag you have already written elsewhere may not work. Use a fresh, rewritable sticker.
For a wider look at both platforms, see NFC smart home triggers for Home Assistant and SmartThings.
Place the tag and test it before you leave
Stick the tag near the door at about phone height, where you will naturally reach for it on the way out. Avoid placing it directly on a bare metal surface, which can weaken the read.
Then test it twice while you're home. Run it once and watch the lights and thermostat respond. Run it again with your phone locked, since that is how you will use it on the day. Do it a few days before the trip, not at the airport.
Plan the way back too. Decide how you will return the house to normal: a second tag labelled "Home", a scene in your app, or simply the thermostat. If you are closing up a house for a long stretch, pair the tap with a tap-to-open checklist tag for closing up a home for the things a routine cannot do for you, like taking out the trash.
The takeaway
One tag, one tap, one routine. Build it in Shortcuts or Home Assistant, switch off the confirmation prompt, and check that your iPhone is an XS or newer. Then test it this week so the only thing left to do at the door is tap and go.
Frequently Asked Questions
Which iPhones can run an NFC tag automation?
Background tag reading needs an iPhone XS, XR or iPhone 11 or later. Older models cannot start the automation from a tap.
Can the away routine run without a confirmation prompt?
Yes. NFC is one of the Shortcuts triggers that can run without asking. Turn on "Allow Running When Locked" in the shortcut's privacy settings, and check that each action is allowed to run automatically.
Does the tag need special data written on it?
No. For the Shortcuts trigger only the tag's unique identifier matters, so any readable tag works.
What about Android phones?
Shortcuts is iPhone-only. On Android, Home Assistant's companion app fires a tag_scanned event the moment you scan, with no notification step.