Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
Home Assistant NFC tags are physical triggers for automations. Tap a sticker or card with the Companion app and Home Assistant receives a tag_scanned event; a Tag trigger can then run lights, scenes, scripts, media controls, or security routines. The useful part is not the tap itself but the context you add afterward: scanner device, person, time, presence, and house mode can all change the result. One bedside tag can therefore act as a sleep control at night and a reading-light control in the evening, while a shared music tag can choose a different speaker for each room. Setup starts with an NFC tag, the official app, and a Tag trigger, but sensitive actions require patched app versions and an additional safeguard.
How does an NFC tag trigger Home Assistant?
An NFC scan is converted into a tag_scanned event, and an automation listens for that event through a Tag trigger. Home Assistant then evaluates any conditions and performs the actions that remain allowed. The chain is:
As an Amazon Associate I earn from qualifying purchases.
- You tap an NFC sticker or card with a phone running the Home Assistant Companion app.
- The app reads the tag identifier. Home Assistant tags use a URL shaped like
https://www.home-assistant.io/tag/<tag id>; the app extracts the identifier rather than treating the web address as a normal page visit. - The app sends the identifier to your Home Assistant instance.
- Home Assistant emits
tag_scanned, including context such as the tag and, where available, the scanning device or user. - A Tag trigger starts an automation. Conditions decide whether it is allowed to continue, and actions, scripts, scenes, or a Choose branch determine the result.
This is why a tag is better understood as an intent marker than as a single hard-wired command. The tag says “someone selected this control point”; your automation decides what that means in the current situation.
What do I need to get started?
You need three basic pieces: a writable NFC sticker or card, the official Home Assistant Companion app, and access to your Home Assistant instance. Home Assistant describes NFC stickers and cards as the easiest starting point because the mobile apps can write tags directly from their settings.
#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
- NFC tag: Use a sticker for a wall, desk, bedside table, or door frame, or a card when you want to carry it.
- Companion app: The Android and iOS apps can create or write Home Assistant tags and report scans.
- Home Assistant: You need permission to create automations and to control the devices your actions will call.
A tag does not contain your entire automation. It identifies a tag record; the logic stays in Home Assistant, where you can change it without rewriting the sticker.
How do I create a Home Assistant NFC tag and automation?
The visual editor is enough for a first automation; you do not need to write YAML. Use this sequence for a reliable baseline.
Recommended Free Tools
- Create or write the tag in the Companion app. Open the app’s NFC or Tags settings and follow its write-tag action. Hold the phone over the sticker or card until the write completes.
- Name the tag in Home Assistant. Give it a location- or purpose-based name such as “Entry control” or “Bedside mode.” Friendly names matter once you own several identical stickers.
- Open the automation editor. Go to Settings > Automations & scenes, choose Add automation, and add a Tag trigger.
- Select the tag. Choose the tag you just created. The editor fills in its identifier.
- Add a test action. Start with a harmless light or notification so you can verify scanning before attaching a door, garage, or alarm action.
- Save and scan. Tap the tag with the phone that will normally be used. Confirm that the expected entity changes.
- Add conditions and branches. Once the basic path works, gate it by presence, time, mode, scanner device, or user, then use Choose, scripts, or scenes for different outcomes.
- Inspect the trace when it behaves unexpectedly. Automation traces show which trigger fired, which condition failed, and which action ran. They are the fastest way to distinguish a scan problem from a logic problem.
What does a Tag trigger look like in YAML?
The editor creates the configuration for you, but the essential fields are a tag identifier and, optionally, a scanner device identifier. A minimal pattern is:
alias: Entry tag test
triggers:
- trigger: tag
tag_id: "entry-tag-id"
actions:
- action: light.turn_on
target:
entity_id: light.entry
To restrict the automation to one phone or fixed reader, add device_id:
alias: Kitchen tag from kitchen phone
triggers:
- trigger: tag
tag_id: "music-tag-id"
device_id: "kitchen-scanner-device-id"
actions:
- action: media_player.play_media
target:
entity_id: media_player.kitchen
The exact identifiers are supplied by your Home Assistant instance, so copy them from the editor rather than guessing. The Tag trigger also supports multiple tag IDs and multiple scanner IDs when one automation should accept a defined set of inputs.
How can one NFC tag do different things for different people or situations?
Put the context in conditions and Choose branches instead of making a separate sticker for every outcome. A scan can be filtered by tag ID, scanner device, user context, time, presence, or a helper that represents a house mode.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Use scanner device IDs for room-specific behavior
A physical tag may be reachable from more than one scanner. Restricting the trigger to a device_id lets the same tag mean “play in the kitchen” when read by a kitchen phone or fixed reader and “play in the office” when read there. This is the same design used by the official RFID jukebox example, which maps tag IDs to media and scanner IDs to media players.
Use user context for per-person actions
If the event includes a user, add a condition so the routine cannot run under the wrong account. A shared tag can then open one person’s dashboard, select their lighting preference, or call a personal script while retaining one physical control point. If a scan arrives without the expected user context, make the safe branch do nothing or send a notification rather than assuming an identity.
Use time, presence, and modes as safety gates
A front-door tag might turn on entry lights only when someone is home. A bedside tag can select a sleep scene after a chosen hour but a reading scene earlier in the evening. A “leaving” tag can run a departure script only when the house mode is Home and the person who scanned it is recognized. These checks turn a replayable physical input into a decision that reflects current state.
Use trigger IDs when several entry paths share one automation
Give each trigger an ID, then branch on the trigger that fired. This is useful when one automation accepts two tags—such as “arrive” and “leave”—or the same tag from approved scanners. The actions remain centralized while each path stays explicit and traceable.
What are practical NFC automation ideas?
Start with reversible actions and expand only after the event and conditions are proven.
- Entry tag: Turn on a defined group of lights, announce the house status, or start an arrival script after a presence check.
- Bedside tag: Use a time condition to choose between reading lights, a sleep scene, or a “good morning” routine.
- Shared music tag: Map the tag to media content and use scanner device IDs to select the room’s player.
- Kitchen tag: Start a cooking timer, set a task helper, or switch the room into a focused lighting scene.
- Maintenance tag: Place a tag beside equipment to open a checklist script or record that a filter or meter was checked.
For anything that unlocks, opens, disarms, or exposes private information, add a second independent condition. A tag alone is a poor authorization factor because it can be copied, misplaced, or scanned by an unintended device.
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
Should I scan with a phone or install a fixed NFC reader?
Phone scanning is the lowest-effort option and works well for personal controls. A standalone reader is better when everyone in the household needs access to a shared location without borrowing one particular phone.
| Consideration | Phone scan | Standalone reader |
|---|---|---|
| Availability | Depends on a household member carrying a compatible phone with the Companion app. | Can remain installed at a hallway, kitchen, or other shared control point. |
| Placement and distance | Flexible because the phone moves to the tag; the user must hold it close enough to read. | Designed for a fixed location and predictable tap area; placement determines convenience. |
| Dependence on a particular phone | High unless several phones are configured. | Lower for shared routines, provided the reader is connected and supported. |
| Setup effort | Usually just install the app and write the tag. | Requires choosing, installing, and integrating additional hardware. |
| Stable scanner identity | The phone can provide a device ID for conditions. | A fixed reader can provide a consistent device ID, useful for room-specific branches. |
Home Assistant’s Tags integration is not limited to phones: it describes a standalone reader and notes that any technology capable of reading tag IDs can be used. Treat a fixed reader as an extension of the same event model, not as a different automation system.
How do I make NFC automations safer?
Assume that a tag input can be replayed or delivered from the wrong device. Keep low-risk actions—lights, scenes, timers—as simple as you like, but require multiple signals for security-sensitive actions.
- Require a recognized user or approved scanner device.
- Check presence, house mode, time window, and the current state of the lock, garage, or alarm.
- Prefer a confirmation notification or a second deliberate action before an irreversible command.
- Keep the tag away from public access if it can change security state.
- Review traces after deployment so a failed condition is visible instead of silently surprising the household.
There are also app-version requirements. An Android advisory published July 31, 2026 reported that Companion versions before 2026.5.3 could forward attacker-chosen tag IDs without user interaction. The corresponding iOS advisory reported the same class of issue in versions before 2026.5.0. Update the relevant Companion app before using tags for unlocking doors, opening garages, disarming alarms, or similar actions, and retain an additional condition even after updating.
Why did my NFC automation not run?
Check the failure in this order so you do not rewrite working logic to solve a scanning problem.
- Verify the tag was written. Reopen the tag entry in the Companion app and confirm it has a Home Assistant tag identifier.
- Confirm the correct app and instance. The phone must be using the Companion app connected to the Home Assistant instance that owns the automation.
- Check the trigger selection. Make sure the automation uses a Tag trigger and the selected tag is the one being tapped.
- Remove the device filter temporarily. If the event works without
device_id, the scanner identifier was wrong or the scan came from another phone or reader. - Inspect conditions. Presence, time, mode, and user checks can all stop actions after a valid trigger.
- Read the automation trace. A trace that shows the trigger but a skipped condition points to logic; no trigger points to the app, tag, connection, or identifier.
- Test a harmless action. Replace a complex script with a light or notification, then add the original actions back one at a time.
How should I design a maintainable NFC setup?
Give every tag a purpose-based name, keep the first action reversible, and move repeated behavior into scripts or scenes. Use a Choose block for a small number of clear branches; when the logic grows, separate each branch into a named script so the automation remains readable. Record which room or scanner each device ID represents, because opaque identifiers become difficult to audit later.
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Finally, test the negative paths deliberately: scan with the wrong phone, scan at the wrong time, scan while nobody is home, and scan when the required mode is off. A routine that fails safely under those tests is more valuable than one that merely works on the happy path.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Frequently asked questions
Can one Home Assistant automation accept several NFC tags?
Yes. The Tag trigger supports multiple tag IDs, so related stickers can enter one automation. Add trigger IDs or a Choose branch when each tag needs a distinct action.
Can I use a QR code instead of NFC?
Home Assistant’s tag workflow also recognizes QR tags using the same tag URL pattern. The physical interaction changes from a tap to a camera scan, while the resulting automation design can remain the same.
Do I need to rewrite a tag when I change the automation?
No. The tag identifies the Home Assistant tag record, while the automation and its actions live in Home Assistant. Edit the automation, conditions, or scripts without changing the sticker unless you intentionally create a new tag.
Is a fixed reader required for a shared household routine?
No. Several household phones can scan the same tag, and their device IDs can be allowed in one trigger. A fixed reader is useful when you want a permanent control point that does not depend on someone carrying a particular phone.
What should I do if a tag controls a lock or alarm?
Update the Companion app to at least Android 2026.5.3 or iOS 2026.5.0, depending on platform, and require a second condition such as a recognized user, approved scanner, presence state, or confirmation step. Do not treat possession of the sticker as sufficient authorization.
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Frequently Asked Questions
Can one Home Assistant automation accept several NFC tags?
Yes. The Tag trigger supports multiple tag IDs, so related stickers can enter one automation. Add trigger IDs or a Choose branch when each tag needs a distinct action.
Can I use a QR code instead of NFC?
Home Assistant’s tag workflow also recognizes QR tags using the same tag URL pattern. The physical interaction changes from a tap to a camera scan, while the resulting automation design can remain the same.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Do I need to rewrite a tag when I change the automation?
No. The tag identifies the Home Assistant tag record, while the automation and its actions live in Home Assistant. Edit the automation, conditions, or scripts without changing the sticker unless you intentionally create a new tag.
Is a fixed reader required for a shared household routine?
No. Several household phones can scan the same tag, and their device IDs can be allowed in one trigger. A fixed reader is useful when you want a permanent control point that does not depend on someone carrying a particular phone.
What should I do if a tag controls a lock or alarm?
Update the Companion app to at least Android 2026.5.3 or iOS 2026.5.0, depending on platform, and require a second condition such as a recognized user, approved scanner, presence state, or confirmation step. Do not treat possession of the sticker as sufficient authorization.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.
Free tools Windows power users keep installed
One-click scans. No signup required.

