Home Assistant NFC Tags: Tap Your Phone, Run Any Automation

Stick a tiny NFC tag on your nightstand. Tap your phone before bed. Lights off, doors locked, alarm armed, morning alarm set. That's the magic of NFC tags with Home Assistant. They cost pennies, need no batteries, and turn any surface into a smart home control point. Here's everything you need to know.

Check Your Devices Automation Ideas

What Are NFC Tags and Why Use Them?

NFC (Near Field Communication) tags are small, thin stickers or discs with a tiny chip inside. They have no battery, no wireless radio, and no moving parts. When you hold your phone close (within about 4 cm), the phone's NFC reader powers the chip and reads the data stored on it.

Home Assistant has built-in NFC tag support since 2020. Each tag gets a unique ID. You write that ID to the tag using the Companion app, then create automations that trigger when someone scans it. Simple, fast, and incredibly reliable.

Dirt Cheap

NTAG215 tags cost 30 to 50 cents each when you buy a pack of 25 or 50. A full house setup might cost you five bucks.

No Battery Ever

NFC tags are powered by the phone's NFC field. They last essentially forever. No charging, no replacing batteries, no maintenance.

Works on Both Platforms

Android and iPhone both support NFC scanning through the Home Assistant Companion app. Newer iPhones can even scan in the background.

100% Local

The tag stores a unique ID. Your phone reads it and tells Home Assistant over your local network. No cloud, no internet required.

Best NFC Tags for Home Assistant

Not all NFC tags are created equal. Here's what to look for and what to buy.

Tag TypeStoragePrice (each)Best ForVerdict
NTAG215504 bytes$0.30 to $0.50Home Assistant, general useBest choice ✓
NTAG213144 bytes$0.20 to $0.35Simple URL redirectsWorks but tight on space
NTAG216888 bytes$0.60 to $1.00Large data payloadsOverkill for HA
NTAG215 (Epoxy)504 bytes$0.80 to $1.50Outdoor, wet areasBest for outdoors ✓

Buying tip: Grab a pack of 25 or 50 NTAG215 stickers from Amazon or AliExpress. You'll find uses for more than you think. Look for round 25mm stickers for discreet placement, or card-sized tags for wallets and keychains.

How to Set Up NFC Tags in Home Assistant

Getting NFC tags working takes about 5 minutes per tag. Here's the process from start to finish.

1

Install the Companion App

Download the Home Assistant Companion app on your iPhone or Android phone. Sign in and make sure it can reach your HA instance on your local network.

2

Write a Tag

Open the Companion app, go to Settings → Tags → Create Tag. Give it a name (like "Nightstand" or "Front Door"). Tap Write Tag and hold your phone against the NFC sticker. The app writes a unique Home Assistant tag ID to it.

3

Create an Automation

In Home Assistant, go to Settings → Automations → Create Automation. Choose Tag is scanned as your trigger. Select the tag you just wrote. Then add whatever actions you want: toggle lights, lock doors, set scenes, send notifications.

4

Stick It and Forget It

Peel the backing off your NFC sticker and stick it wherever makes sense. Under a nightstand, next to a light switch, on the inside of a cabinet door, behind a picture frame. The tag works through most non-metallic surfaces.

iPhone users: On iPhone XS and newer running iOS 13+, background tag reading means you can just tap your phone on the tag without opening the app first. A notification pops up, you tap it, and the automation runs. On older iPhones, you need to open the Companion app and use the NFC scan feature manually.

Android users: Most modern Android phones scan NFC tags automatically when the screen is on. The Home Assistant Companion app intercepts the tag and fires the automation directly. Some phones even scan tags with the screen off if NFC is enabled in settings.

10 NFC Tag Project Ideas

The real fun starts when you think about where to place tags. Here are ten ideas that people actually use every day.

Bedside Tag

Stick it under your nightstand or phone stand. Tap before bed: all lights off, doors locked, alarm set, bedroom fan on. Tap in the morning: kitchen lights on, coffee maker starts, weather report on your speaker.

Front Door Tag

Place it by the door. Tap when leaving: all lights off, thermostat to away mode, robot vacuum starts, security cameras arm. Tap when arriving: welcome lights on, thermostat to home mode, disarm cameras.

Gaming/Movie Tag

Near your TV or gaming setup. Tap to activate: dim living room lights to 10%, turn on TV, set receiver to the right input, close blinds. A single tap replaces five remote controls.

Desk/Office Tag

On your desk. Tap to start work mode: office lights to focus brightness, set "Do Not Disturb" notification, start a focus timer, play work playlist on your speaker.

Laundry Room Tag

On the washing machine or dryer. Tap when you start a load: set a timer notification for 45 minutes. When it fires, you get an alert on your phone and your speaker announces the laundry is done.

Plant Watering Tag

Stick one near your plant area. Tap after watering: logs the date to a Home Assistant counter. If it has been more than 7 days, you get a reminder notification. Simple plant care tracking.

Car/Garage Tag

In your car or by the garage door button. Tap to open/close the garage, turn on driveway lights, and either arm or disarm the house depending on which direction you're going.

Kids' Room Tag

Let kids control their own room with a tap. Night light on/off, music player toggle, gentle color cycle for bedtime. Simpler than teaching them Home Assistant, and no screen time required.

Dog Walk Tag

On the leash hook or by the back door. Tap when you leave for the walk: porch lights on, set your status to "away," start a timer. Tap when you return: reset everything.

Music Tags

Stick different tags on coasters, album covers, or small cards. Each one plays a specific playlist or radio station on your nearest speaker. Physical media vibes without the physical media.

5 NFC Tag Automations (with YAML)

Here are practical automations you can copy and paste. Replace the entity IDs with your own.

1. Bedtime Routine

Tap the bedside tag after 8 PM to run your full bedtime routine.

automation:
  alias: "NFC Bedtime Routine"
  trigger:
    - platform: tag
      tag_id: YOUR_TAG_ID_HERE
  condition:
    - condition: time
      after: "20:00:00"
  action:
    - service: light.turn_off
      target:
        entity_id: all
    - service: lock.lock
      target:
        entity_id: lock.front_door
    - service: climate.set_temperature
      target:
        entity_id: climate.thermostat
      data:
        temperature: 18
    - service: alarm_control_panel.alarm_arm_night
      target:
        entity_id: alarm_control_panel.home

2. Toggle Living Room Scene

Same tag flips between "movie mode" and normal lighting.

automation:
  alias: "NFC Toggle Movie Mode"
  trigger:
    - platform: tag
      tag_id: YOUR_TAG_ID_HERE
  action:
    - choose:
        - conditions:
            - condition: state
              entity_id: light.living_room
              state: "on"
              attribute: brightness
              # If lights are bright, switch to movie mode
          sequence:
            - service: scene.turn_on
              target:
                entity_id: scene.movie_mode
      default:
        - service: scene.turn_on
          target:
            entity_id: scene.living_room_normal

3. Leaving Home

Tap the front door tag to switch everything to away mode.

automation:
  alias: "NFC Leaving Home"
  trigger:
    - platform: tag
      tag_id: YOUR_TAG_ID_HERE
  action:
    - service: light.turn_off
      target:
        entity_id: all
    - service: climate.set_preset_mode
      target:
        entity_id: climate.thermostat
      data:
        preset_mode: away
    - service: vacuum.start
      target:
        entity_id: vacuum.roborock
    - service: notify.mobile_app_phone
      data:
        message: "House secured. Vacuum running. See you later!"

4. Laundry Timer

Tap the washing machine tag to start a reminder timer.

automation:
  alias: "NFC Laundry Timer"
  trigger:
    - platform: tag
      tag_id: YOUR_TAG_ID_HERE
  action:
    - service: timer.start
      target:
        entity_id: timer.laundry
      data:
        duration: "00:45:00"
    - service: notify.mobile_app_phone
      data:
        message: "Laundry timer started. I'll remind you in 45 minutes."

5. Per-User Actions (Who Scanned?)

Run different actions depending on who tapped the tag.

automation:
  alias: "NFC Per-User Welcome"
  trigger:
    - platform: tag
      tag_id: YOUR_TAG_ID_HERE
  action:
    - choose:
        - conditions:
            - condition: template
              value_template: >
                {{ trigger.context.user_id == 'YOUR_USER_ID' }}
          sequence:
            - service: media_player.play_media
              target:
                entity_id: media_player.kitchen_speaker
              data:
                media_content_id: "https://your-ha/local/welcome_home.mp3"
                media_content_type: music
      default:
        - service: notify.mobile_app_phone
          data:
            message: "Someone scanned the front door tag."

Pro Tips for NFC Tags

Metal Surfaces

NFC tags don't work when stuck directly on metal. The metal interferes with the signal. Use "anti-metal" or "on-metal" NFC tags that have a ferrite shield layer, or place a non-metallic spacer (like a thick sticker) between the tag and metal surface.

Placement Matters

Hide tags under surfaces for a cleaner look. NFC reads through wood, plastic, fabric, and thin stone. Stick a tag under a wooden nightstand and tap through the top. Under a desk mat. Behind a thin picture frame. Nobody needs to see them.

Time-Based Conditions

Make the same tag do different things based on time. A single bedside tag can run a morning routine before noon and a goodnight routine after 8 PM. Use the condition: time block in your automations to branch.

Guest Access

NFC tags only work through the Companion app, so guests need the app installed and connected to your HA instance. For guest scenarios, consider pairing NFC tags with a guest user account that has limited permissions. Or use smart locks with PIN codes for access control instead.

Combine with Presence

Use NFC tags alongside presence detection for smarter automations. The front door tag could check if you're the last person leaving (nobody else home) before activating full away mode. If others are still home, just set your personal status to away.

Label Your Tags

When you write a tag, give it a descriptive name in Home Assistant immediately. "Tag 1" and "Tag 2" will haunt you once you have 15 tags around the house. Use names like "bedside-master," "front-door," or "washing-machine." Future you will thank present you.

Get Started This Weekend

NFC tags are one of the cheapest, easiest Home Assistant projects. A pack of 25 tags costs less than lunch. Grab some, stick them around the house, and start turning taps into automations.

Shopping List

  • NTAG215 sticker pack (25 pack) $8 to $12
  • Home Assistant Companion app (free, iOS/Android)
  • Home Assistant running on your network (any installation method)

Total cost: under $12. Time to first working tag: about 5 minutes.

Check Your Smart Home Setup
30 Automation Ideas → Ready-Made Blueprints → Starter Kit Guide →