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

preview_player
Показать описание
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:

If you want to know more about MQTT, the channel "The Hook Up" did an Excellent walkthrough here:

---=== Affiliate links for this project which support this channel ===---

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!
Рекомендации по теме
Комментарии
Автор

formatting SPIFFS is the hard way; you could just upload the config.json to SPIFFS to change WIFI etc...

martingerken
Автор

I'm SO glad I found your channel! I want to make my office and eventually my entire home "smart". I love the things you hack and discover! Have a DYNAMITE day!

WesWyatt
Автор

did you look into using ESPhome for the D1mini sketch?

DrZzs
Автор

I have not yet reach the end, but I fel I'm on the right lane. in the midle of your video I've already solved some questions. I did this because I don't want to forget to say: many thanks

daniele
Автор

I love it. glad to see you using MQTT. I prefure to go to straight to node red then send my stuff to Hassio. I am looking forward to trying this out. Keep the great videos coming!!

seanmcdonald
Автор

Hi, I'm stopped with this VSC error: no matching function for call to 'AsyncWebServer::begin(WiFiClient&, String&)'. please have you any tip to help me to solve it? many thanks

daniele
Автор

Cool project, thanks .. What are the benefits of better and updated nfc readers?

recom
Автор

Very nice work!. I am excited to start and it out! Do you happen to have the 3D printer file for the enclosure? Thank you

juanpablosalas
Автор

you are the reson i feel dumber every day lol. but seriously you bring the best solutions to my complex ideas i never am able to realise with my set of skills. for instence i was trying to do a presentation where each time my tablet moves in ront of my 3d figures, it runs a trailer of them. i was trying for month with augmented reality to detect the figure and then have it play the clip wich was semi optimal... easyest solution.. just have the nfc tag send the signal to the screen... mind blown with such an easy solution. i wish i could go out for a drink with you!! thanks man oure the best!!!!

wodansam
Автор

I think if you use NodeMCU-PyFlasher it will take care of clearing the SPIFFS for you if you check the box to do so. I broke a a sonoff recently updating it by skipping versions and re-flashed it using this program instead of ESPEasy like I used to use. Also I see in the comments you recently got Tuya Convert working, that was a pain in the butt for me but I just got that working too, have a few more power strips on the way to play with it some more. Its nice having a 4 relay smart power strip under Tasmota.
I just found your channel I really like a lot of your projects. Wish I could dig up the time that you have (and DrZ and TheHookUp) the 3 of you are the top dogs IMO, look out though I am trying to come back :)

ViciousXUSMC
Автор

I realize this is a little outdated. I get errors when trying to compile still. Also am interested to see if you have this done with esphome.

SheLeftMeUnsupervised
Автор

Do you have a link to your enclosure? A place to buy it made? Thank you!

juanpablosalas
Автор

Nevermind....I found the links to the enclosure. Thank you!

juanpablosalas
Автор

Cool vid. I wonder if you are actually using NFC, or just RFID...

itstrysten
Автор

Could I use an Arduino Pro Mini in place of the Wemos?

DeclanGreen
Автор

my ESP8266 is stuck n { waiting for the device... } :( i've tried everything

journeys