Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Mapple86

macrumors 6502
Original poster
Apr 13, 2015
349
52
Hi,
I hope someone can help me to create a shortcut for a nfc tag.
What I want:
I want to use ONE nfc Tag to switch the light in my bedroom on and off. So if light is on, the tag should switch it off, if it is off, it should switch it on. Any idea how I can create this?
 
under actions select scripting
then "if" or just search for "if"
then tap input in the if box and "select a home accessory"
the select "name" and choose "is on"

once that is done you should have 3 boxes "if bedroom light is on" "otherwise" and "end if"

now add a new action, with the blue + at the bottom
select or search for "control home"
select your bedroom light, hit next, and make sure it's set to turn off
hit done

now drag that action between "if bedroom light is on" and "otherwise"

repeat the add home control action you just did, but set the light to turn on (you can set whatever level or color you want if your bulbs support that)

once you're done with that, drag that action between "otherwise" and "end if"
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.