Skip to content

adonno/tagreader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buy Me A Coffee Discord GitHub release

Tag Reader for Home Assistant

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. The firmware is built using ESPhome.

I am selling a pre-built version, a DIY version (assembly required), or just the case (use with own components). Check it out on my website.

Photos of the final product

Building the tag reader

To build your own tag reader, you need the following components:

The 3D models for the case are here.

WARNING regarding AZdelivery D1. We have had several users contacting us with different issues, we don't recommend using these boards and won't provide support for them.
Recent reports suggest more clones of the D1 are now working as expected. This has been verified on an AZdelivery D1.

Connecting the components

Photo of schematics

There are not too many components to connect, but it does require soldering. You will need the following:

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 ESPHome 1.16.0.

If you're new to ESPHome, we recommend that you use the ESPHome Home Assistant add-on.

Open Case

Configuring for use with Home Assistant

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.

Usage

Scanned tags can be managed from the tags interface in Home Assistant. You can find it under config -> tags.

Screenshot of the Home Assistant tag UI

Disclamer

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.

About

Simple to build/use NFC tag reader, specially created for Home Assistant

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages