How-To: Program NFC Tags/Stickers For Automations In Hubitat

Just tried this and it works! :tada:

The below assumes you already have your endpoint and automation created in Hubitat. Also, you don't need to program the NFC tag to actually do anything, iOS just needs to detect the tag. :+1:t2:

The steps are as follows:

  1. On your iPhone with iOS 13 or greater, open the Shortcuts app

  2. On the Automation tab, select the :heavy_plus_sign: button in the top right corner of the screen

  3. Select Create Personal Automation

  4. Select NFC

  5. On the next page, tap the Scan button, and place the tag near the top of your iPhone to read the tag

  6. Name the tag in the text field that shows after scanning

  7. In the top right of the screen, tap Next to set up the automation you wish to run when this tag is scanned

  8. Select Add Action

  9. Search for and select URL

  10. Paste the endpoint URL into the field

  11. If Get Contents of URL is one of the suggestions, select that, else search for URL again and select

  12. It should look like the above pic if you've done things in this order (it needs to be after the URL and "linked"

  13. Tap Next

  14. Disable Ask Before Running (if you don't want to be asked)

  15. Select Done

  16. Tap your phone on the tag

  17. Profit

@moh FYI

5 Likes