NFC Reader Home Assistant 🔑 gate opening

Опубликовано: 02 Ноябрь 2025
на канале: RG 4 Tech
2,165
77

How to make a door opening system 🔑 with NFC/rfid tags and integrate it into Home Assistant via ESPHome with ESP 8266 D1 mini and the NFC reader PN532 module.

Project documentation on Discord:   / discord  

Original project from which I took inspiration and part of the program: https://github.com/adonno/tagreader

Materials used:
D1 Mini ESP8266: https://s.click.aliexpress.com/e/_DEX...
NFC reader PN532: https://s.click.aliexpress.com/e/_DmN...
Buzzer: https://s.click.aliexpress.com/e/_Del...
5VDC relay: https://s.click.aliexpress.com/e/_Dex...
DC/DC Step down: https://s.click.aliexpress.com/e/_DCy...
Oscilloscope used in the video: https://s.click.aliexpress.com/e/_Dcu...

00:00 Intro
03:26 I2C analysis on the oscilloscope
04:33 circuit diagram
07:34 integration with ESPHome
09:42 Yaml program
16:28 uploading program to the D1 mini
17:37 log
19:01 NFC labels on Home Assistant
20:06 Listening to tag_scanned event
21:26 NFC writing and deleting with PN532
22:06 NFC writing with smartphone
23:19 creating automation
28:03 NFC keychain by rg4tech

____________________________________________________________________________________________________
License: CC BY-SA 4.0

DISCLAIMER:
All projects are created for hobby purposes, and may be untested and/or with errors. It is up to the user to verify everything. I am therefore not responsible for damage caused to people or things or simply to the projects themselves, resulting from improper and incorrect use.

ATTENTION: the electrical system can only be modified by qualified personnel. Furthermore, after the modifications, this system must be certified. Ask your electrician for installation.