NFC with Tasker for Android
Tasker is the most powerful Android automation app and has native NFC trigger support. Combined with NFC tags, Tasker enables context-aware automations that fire instantly when you tap a tag — without any other app or cloud service.
Tasker NFC Architecture
Tasker's NFC integration works through Android's ndef dispatch system:
- A Tasker profile uses Event → NFC TagNFC TagPassive unpowered device storing data, powered by reader's RF fieldView full → as the trigger
- The trigger matches on Tag ID, NDEF content, or both
- When matched, Tasker executes a linked Task with full access to all Tasker actions
Unlike Shortcuts on iOS, Tasker can also respond to the NDEF payload content — not just the tag UID — which enables one tag to trigger different Tasks on different phones.
Tasker NFC Profile Setup
- Open Tasker → Profiles → + → Event → Net → NFC Tag
- Configure the trigger:
- ID: leave blank to match any tag, or paste a specific tag UID
- Content: match on NDEF text recordtext recordNDEF record for human-readable text with language codeView full → value (optional)
- Any Tag: check this to fire on any tag regardless of content
- Tap back, create a new Task and add actions
- Activate the profile
Pro tip: Use a tag written with the Tasker NDEF writer (NFC → Write Tag) to encode a Tasker-specific payload. The NDEF content can embed task name references that Tasker parses directly.
Powerful Tasker NFC Automations
| Tag Location | Task Actions | Benefit |
|---|---|---|
| Car mount | AutoInput car mode, Bluetooth on, WiFi off, open Waze | Full driving setup, one tap |
| Bedroom | Silent mode, screen timeout 30 s, set alarm | Sleep preparation |
| Work desk | Work Wi-Fi connect, work email notification, disable gaming apps | Focus mode |
| Gym bag | Fitness tracker connect, open workout app, DND on | Workout mode |
| Medicine cabinet | Log timestamp to Google Sheets (via HTTP POST) | Medication tracking |
| Child's backpack | SMS parent "Child left school", set location tracking | Child safety |
Writing Tasker Tags (Tasker NDEF Payload)
Tasker can write a proprietary NDEF recordNDEF recordSingle data element with TNF, type, ID, and payloadView full → that encodes a task name directly:
- Write the NFC tag from within Tasker: Menu → More → NFC Tag
- Select Task and choose the task to run
- Hold the phone to the tag
This writes an NDEF External type record net.dinglisch.android.taskerm:nfc with the task name as payload. When another device with Tasker (and the same task name) scans the tag, it runs the task automatically — without any profile configuration on the receiving device.
NFC + AutoRemote for Cross-Device Automation
With the AutoRemote plugin, a tag scan on one device can trigger an action on another:
Tag on TV remote → Tasker → AutoRemote → Phone receives message
→ Tasker on phone: pause music
This enables home automation scenarios where a physical NFC tag controls actions across multiple Android devices without a smart home hub.
Combining Tasker NFC with Home Assistant
For smart home integration, use Tasker's HTTP Request action to call Home Assistant's REST API:
Task: Tap Home Tag
Action 1: HTTP Request
Method: POST
URL: http://homeassistant.local:8123/api/services/scene/turn_on
Headers: Authorization: Bearer {ha_long_lived_token}
Body: {"entity_id": "scene.evening"}
Action 2: Flash "Home scene activated"
See NFC with Home Assistant for a complete integration guide.
Tasker NFC vs Android Shortcuts vs IFTTT
| Feature | Tasker NFC | Android NFC Shortcuts | IFTTT NFC |
|---|---|---|---|
| Offline operation | Yes | Yes | No (cloud) |
| Response time | < 0.5 s | < 0.5 s | 1–30 s |
| Action complexity | Unlimited | Moderate | Limited |
| Cross-device | Via AutoRemote | No | Yes |
| Cost | Paid (~$4) | Free | Freemium |
| Root required | No (most actions) | No | No |
Managing Multiple Tags with Tasker
For deployments with many tags, use a naming convention to keep profiles organised:
Profile: NFC — {Location} — {Context}
NFC — Car — Morning
NFC — Car — Evening
NFC — Desk — Work
NFC — Bedroom — Sleep
Use Tasker's built-in Tag variable (%nfc_id) to log which tag was scanned and when, then run a recurring task to send the log to a spreadsheet for activity tracking.
Troubleshooting Tasker NFC
| Issue | Cause | Fix |
|---|---|---|
| Profile triggers but task doesn't run | Task has errors | Run task manually first; check errors |
| Tag not triggering Tasker | NFC permission not granted | Settings → Apps → Tasker → Permissions → NFC |
| Multiple profiles firing on one tag | Overlapping tag ID / content match | Add more specific match criteria |
| Tasker intercepts all NFC tags | "Any Tag" profile too broad | Add ID or content filter |
| HTTP actions fail at home | Home Assistant URL wrong | Test URL in phone browser first |
Tag Recommendations
- NTAG213 for simple triggers (URL + Tasker task payload fits within 144 bytes)
- NTAG215 if you need both a full vCard NDEF record and a Tasker task embedded
- Use the NDEF Encoder to generate the correct hex payload before writing