Apple HomeKit brings automation to the masses with their “Works with Apple HomeKit” compatible devices. Their standardized system brings high quality, security, and ease of use. Making compatible products simple and easy to integrate. If you’re under the apple ecosystem this makes life exponentially easier. Right in the palm of your hands you have a massive tool to help aid you in your automation adventure. You just have to think a little outside the box.
Ever since the iPhone 6 our devices have been equipped with an NFC chip. While this chips intended use has always been contactless payments via Apple Pay… The addition of Shortcuts (app) has granted us the ability to use the Near Field Communication chip ( NFC) and create shortcuts. The shortcut I’m about to show you will hopefully help you solve a problem that has been plaguing my household for years. The dreaded…. I forgot to turn off X Y Z light (when in bed and ready to go to sleep). Unfortunately, this isnt a one and done application. There are equipment requirements that are needed in order for this particular shortcut to work. This tutorial will provide a list of items needed to make said short cut work, but not go in depth as to how they work together. Leave a comment below if you have questions.
Incoming Amazon affiliate links
Lets get to work!
This is not a tutorial on how to set up your lights, how to get the system to work, how to figure things out. This is just a tutorial on how to get your NFC to run a series of commands. This post will be vague in some aspects of the installation processes.
Creating a scene in apple home
Add all devices you wish to control in this particular scene. In my case, I want to lock the door, turn off all kitchen lighting, turn off hall way lights, and any other device that might be carelessly left on.
Once this is done click DONE. After clicking done, you will be promoted with a new screen that lets you change the state of those selected devices. In my case, I want to set all these devices to turn off. Make sure your devices are in the off state.
Recap: This is where we’re at so far. You found a problem that you want to automate. Sometimes your significant other leaves the lights off and you want to be able to turn off the lights without having to do any actions other than putting your phone on your night stand to charge. Once you put your phone on your night stand your phone automatically reads the NFC tag on your night stand and runs a series of shortcuts. The short cut will run the scene named Good Night and will automatically turn off all the lighting you selected. If the lights are on… They turn off. If the lights are off…. They stay that way.
Shortcuts – climbing the ladder of success
– Open your Shortcuts app
– Click the + on the top right
-Create Personal Automation
– Scroll down to where you see NFC
– NFC Tag Scan – you will then be prompted to scan the NFC tag. Place your phone on your tag of choice as if you were going to do a contactless payment.
– Name your NFC Tag ( Good Night ) and click NEXT
Recap: You go to bed, place the phone on your night stand to charge, the phone picks up the NFC tag, and does nothing. But not for long.
– Click the “Search for apps and actions”
– Type ” Control My Home”
– Click Set Scenes and Accessories
– Select Good Night and click NEXT
Explanation: When the NFC tag named “Good Night” is detected run the scene “Good Night”.
I like to turn off the Ask Before Running tab so the automation runs without me having to confirm it ( use at your discretion ).