HOW TO Turn Your Lights ON/OFF w/ NFC Tags
After I released my first video on NFC tags (my most popular video yet), I had many people asking how to make a basic ON/OFF toggle for their HomeKit devices. The best example would be a light…tap the NFC tag to turn it on, and tap it again to turn it off. But this concept can also work great for other HomeKit devices such as smart locks, garage doors, and even entire scenes.
After I released my first video on NFC tags (my most popular video yet), I had many people asking how to make a basic ON/OFF toggle for their HomeKit devices. The best example would be a light…tap the NFC tag to turn it on, and tap it again to turn it off. But this concept can also work great for other HomeKit devices such as smart locks, garage doors, and even entire scenes.
To accomplish this, create a new personal automation and choose NFC Tag. Continue by scanning the tag and giving it a name.
Now we create the automation. First we need to “Get the state of [your] Home”. Then choose the accessory or light that you wish to control by tapping “Accessory State” and then choose “Power State.”
Next click the plus icon and add an “IF” statement. This should automatically grab the “Power State” variable that we got previously.
Click the plus icon and add “Control [your] Home.” Drag and drop this under the “IF” section. Now select the “Scenes and Accessories” that you want to control. In this case it would be the same light that we got the state of. You want to make sure that the light is OFF in this section.
So as of now, our shortcut reads: If [your light] is ON, THEN turn [your light] OFF.
Now click the plus icon again to add another “Control [your] Home” action. Choose the same light accessory accept this time you need to make sure it is set to ON. Drag and drop it under “Otherwise.”
And that’s it. You are all set. This shortcut will:
1. Get the Power State of the light accessory
2. IF the Power State is ON – Turn OFF the light
3. Otherwise – Turn ON the light
NFC Tags that I use: https://amzn.to/30Plnr3
NOTE: This article may contain affiliate links that allow you to find the items mentioned in this video at no cost to you. As an Amazon Associate I earn from qualifying purchases.