Automating with NFC Tags!

I hinted at a home automation project I was doing the other day involving NFC tags and Wednesday I posted up a video that detailing what I’ve accomplished so far.

For the uninitiated NFC tags have RFID chips that can store data and spit it back out. The tags are powered by the radio waves coming from the scanning device. When it’s powered up by the phone scanning it the tag emits a low powered radio signal that contains the tag’s unique ID and whatever data is contained on board.

They come in many shapes and sizes and are very affordable. You can see a few that I found on Amazon here.

In the video I initially demonstrated how you might turn a light bulb on and off via Apple Homekit. I created an Apple Shortcuts script that checks the state of the bulb and then executes a command to turn it on if the bulb is off, or or off is the bulb is on. The tag acts as a trigger which then fires off the script. The best part is that no data is stored on the tag, so if somebody else scans it nothing will happen.

I’m currently using a tag in my studio that will turn on and off my studio lights and noisy air handler in the room. One tap when I sit down to record is all I need to do to get started! Next I’m going to set up an additional action that will turn on my production PC when the script fires off.

As you’ll see in the video I was able to get my Wyze devices integrated with Homekit thanks to the Homebridge open source project. Homebridge allows devices normally not compatible with Homekit to work on Apple’s platform. I have it running in a Docker container on my Synology NAS.