Note
This fork adds status leds for alarmo and the integration of an DFPlayer mini to play voice messages. WIP!
The tag reader is a simple to build/use NFC tag reader, specially created for Home Assistant. It is using a D1 mini ESP 8266 and the PN532 NFC module as well as the DFPlayer Mini. The firmware is built using ESPhome.
To build your own tag reader, you need the following components:
- ESP8266 D1 Mini
- PN532 NFC Reader
- LED (+ resistors)
- Buzzer
- DFPlayer Mini
- external speaker
The 3D models for the case are here.
There are not too many components to connect, but it does require soldering. You will need the following:
- Solder
- Soldering iron with a fairly thin tip
- About 40cm of thin wire (at least 5 different colors)
Also, make sure that you have set the switches on the PN532 to the following:
- Switch 1: On (up)
- Switch 2: Off (down)
This enables the PN532 module to communicate with the D1 over I2C, and is required for the modules to work together!
To flash the reader firmware to your D1 Mini you point ESPHome at tagreader.yaml.
⚠️ The tag reader requires ESPHome1.16.0.
If you're new to ESPHome, we recommend that you use the ESPHome Home Assistant add-on.
The tag reader requires Home Assistant 0.115 or later.
If the tag reader is unable to connect to a wifi network, it will start a WiFi access point with a captive portal to allow you to enter your WiFi credentials.
The tag reader will be automatically discovered by Home Assistant once the tag reader is connected to the same network. You can follow the instructions in the UI to set it up.
Scanned tags can be managed from the tags interface in Home Assistant. You can find it under config -> tags.
We use aliexpress affiliate links for the components and the tools. Some Ad-blockers might block these links and thus they seem to appear broken. You will have to temporarily disable the ad-blocker to open these links.



