♫musicjinni

Home automation via NFC using MQTT, an ESP8266, and Homie for $10 (Project Dynatap)

video thumbnail
I wanted to add an NFC reader to my home automation setup using MQTT. There's a number of cool projects that can be built from this...things from home automation to enabling kids and others to do tasks such as turn on/off lights. I could walk in and put my keys down to start up my favorite music, turn on lights, and read the news/weather report. I can start video games, theme a room, and many other things. But first...I need a device that will send that NFC tag wirelessly out to an MQTT server. This project shows how to build just that!

This uses MQTT to send the NFC UID wirelessly over the air to a broker. Then another device can subscribe to those messages and respond to them.

Links for this project:
Pinout description: http://www.esp8266learning.com/esp8266-rfid-rc522-module-example.php

Dynatap video (The NFC Reader I used/built) https://www.youtube.com/watch?v=VkanRIUnuI8&ab_channel=GeekToolkit

Mosquito MQTT Server - (If you're not using home assistant) - https://mosquitto.org/download/

Project enclosure: https://www.thingiverse.com/thing:1729028

Code for D1 Wemos/Python script/ modified 3d Model/enclosure - https://1drv.ms/u/s!AqxjM4_uBDJgwodqxKW_NXZIYj6OUA?e=YMDeZH

If you want to know more about MQTT, the channel "The Hook Up" did an Excellent walkthrough here:
https://www.youtube.com/watch?v=NjKK5ab0-Kk

---=== Affiliate links for this project which support this channel ===---
Wemos D1 Mini 5 pack - https://amzn.to/3iok5xx
Wemos D1 Mini (1 only) - https://amzn.to/38h3A1A
RFC522 NFC / RFID 5 pack - https://amzn.to/2VCHiC2
RFC522 NFC / RFID (1 only) - https://amzn.to/31CI3ij

Links to products provided through the Amazon Affiliate program

I highly recommend that channel for awesome projects, as well as Dr. Zzzs channel for home automation tutorials with Home Assistant. I learn a ton from both of them!

Home automation via NFC using MQTT, an ESP8266, and Homie for $10 (Project Dynatap)

Disclaimer DMCA