Skip to main content

Creative NFC Tag Automations for Your Smart Home

By KP August 19, 2023
Creative NFC Tag Automations for Your Smart Home

NFC tags might be the most underrated smart home accessory. They cost about $0.30 each, require no batteries, last essentially forever, and can trigger complex automations with a single tap of your phone. I've been using them throughout my house for over a year, and they've become one of those things I can't imagine living without.

What Are NFC Tags?

NFC (Near Field Communication) tags are small passive RFID chips — usually embedded in a sticker or card. They have no battery and no power source. When you hold an NFC-enabled phone within about 2 inches, the phone's NFC radio powers the tag and reads its data. That data can trigger an automation on your phone.

For smart home use, you don't actually write URLs or data to the tags (though you can). Instead, your phone detects the unique ID of the tag and runs whatever automation you've linked to that ID.

What to Buy

Search Amazon for "NTAG215 NFC stickers" — you'll find 50-packs for $10-15. NTAG215 is the standard I recommend because it's widely compatible and has enough memory for any smart home use case. The stickers are about the size of a quarter and can be stuck anywhere — under a nightstand, inside a cabinet, on a wall behind a picture frame.

Setting Up NFC Automations

iPhone (iOS 14+)

Open the Shortcuts app and create a new automation. Choose "NFC" as the trigger, then tap "Scan" and hold your phone to the NFC tag to register it. Give the tag a name, then build your automation actions. You can control HomeKit devices, run shortcuts, open apps, send messages, or chain multiple actions together.

One important limitation: on iPhone, NFC automations require confirmation by default — you'll see a notification and have to tap "Run." Starting with iOS 15, you can toggle off "Ask Before Running" for NFC automations in the Shortcuts app, which makes them truly tap-and-go. Background Tag Reading (available since iPhone XS and newer) means you don't even need to open an app first — just wake your phone and tap.

Android

Android has several options. Tasker ($3.49) is the most powerful — it can read NFC tags and trigger virtually any action on your phone, including controlling smart home platforms. MacroDroid (free with limits) is a simpler alternative. Samsung phones have built-in SmartThings NFC support through the SmartThings app — create an automation with NFC tag as the trigger.

Android is actually more flexible than iPhone here because NFC tag reading works without unlocking the phone on most devices, and you have more control over what actions can fire.

Creative Placement Ideas

Bedside Tag: Goodnight Routine

Stick an NFC tag under your nightstand or on the back of your phone charger. Tap it when you get into bed to run your bedtime routine: turn off all lights, lock the front door, set the thermostat to sleeping temperature, enable Do Not Disturb on your phone, and start a sleep sounds playlist on your bedroom speaker.

This is my single most-used NFC tag. It replaces fumbling with apps or yelling "Hey Siri, goodnight" while my partner is trying to sleep.

Front Door Tag: Leaving/Arriving Toggle

Place a tag near your front door (inside, where guests won't accidentally trigger it). Tap when you leave to activate away mode: arm security cameras, turn off lights, lower the thermostat, and lock the door. Tap again when you arrive to reverse everything.

Tip: use a Shortcuts variable or Home Assistant input_boolean to track whether you're home or away, so the same tag toggles between the two states.

Desk Tag: Work Mode

Stick a tag on your desk or under your keyboard. Tap to activate work mode: turn on the desk lamp, set office lights to a focused cool-white, enable Do Not Disturb, mute smart speakers in the office, and start a focus playlist. Tap again to deactivate at the end of the workday.

Kitchen Tag: Cooking Mode

Place a tag on the side of your fridge or inside a cabinet door. Tap when you start cooking: turn on the kitchen lights to full brightness, turn on the range hood fan (if it's smart-controlled), set a 30-minute timer on the nearest smart display, and start a cooking playlist.

Car Dashboard Tag: Leaving Home

Stick a tag on your car's dashboard or phone mount. Tap when you get in the car to open the garage door, turn on the porch light (so it's on when you get home after dark), and arm the security system. This is especially useful because it works even if your phone isn't connected to your home WiFi — NFC triggers the automation, which sends commands through the cloud.

Washing Machine Tag: Laundry Timer

Put a tag on your washing machine or dryer. Tap when you start a load to set a reminder for 45 minutes (or whatever your cycle length is). Never forget about wet laundry sitting in the washer again. Bonus: have it announce on smart speakers when the cycle should be done.

Guest Room Tag: WiFi Welcome

Place a tag on the nightstand in your guest room. When guests tap it with their phone, display your WiFi network name and password. For this one, you actually write the WiFi credentials to the tag itself using an app like NFC Tools (free, available on both platforms). The phone will prompt to join the network automatically — no need for any smart home setup on the guest's phone.

Advanced: Multi-Step iPhone Shortcuts

The real power of NFC tags on iPhone comes from pairing them with complex Shortcuts. A single tap can:

  • Check the current time and run different actions for morning vs. evening
  • Query a Home Assistant API endpoint to check device states before acting
  • Send an HTTP request to trigger a Home Assistant automation or Node-RED flow
  • Log the tap to a spreadsheet for tracking habits (tapped "gym mode" 4 times this week)
  • Use conditional logic — if the front door is locked, unlock it; if it's unlocked, lock it

For Home Assistant users specifically, you can use the Home Assistant Companion app's URL schemes or webhooks to trigger any automation from an NFC tap. This opens up the full power of Home Assistant's automation engine from a simple sticker.

Practical Tips and Limitations

  • Range: NFC works at about 1-2 inches. You need to basically touch your phone to the tag. This is a feature, not a bug — it prevents accidental triggers.
  • Phone cases: Most cases are fine, but thick metal or wallet cases can block NFC. Test before permanently placing tags.
  • Placement: Tags work through thin surfaces. You can put them under a nightstand surface, behind a thin picture frame, or inside a cabinet. They don't need to be visible.
  • Durability: The sticker adhesive is the weak point, not the tag itself. Use a drop of super glue for permanent placement.
  • Multiple phones: Each person needs to set up their own automations for each tag. The tag itself is universal, but the automations are phone-specific.

Starter Project: Bedside Goodnight Tag

Here's a step-by-step to get your first NFC tag running on iPhone:

  • Open the Shortcuts app and tap Automation > New Automation > NFC
  • Tap "Scan" and hold your phone to an NFC tag sticker. Name it "Bedside."
  • Add actions: Set Scene (your "Goodnight" HomeKit scene), Set Do Not Disturb (on, until tomorrow morning)
  • Toggle off "Ask Before Running" so it fires instantly
  • Stick the tag under your nightstand with the adhesive backing
  • Test by waking your phone and tapping it to the nightstand surface above the tag

Total cost: $0.30 and about five minutes. Once you see how satisfying that instant tap-to-run automation is, you'll be sticking NFC tags all over your house within a week.

Written by KP

Software engineer and smart home enthusiast. Building and testing smart home devices since 2022, with hands-on experience across Home Assistant, HomeKit, and dozens of product ecosystems.

More about KP