Analysis updated 2026-05-18
Build a physical NFC reader that plays a CD album on your smart speakers when you scan the case.
Automate album playback in Home Assistant by linking NFC sticker tags to Music Assistant library entries.
Flash custom firmware onto an ESP32 using ESPHome and connect it to Home Assistant without writing any code.
| nebarik/esp32-nfc-reader | chrisor-dev/claude-autosync | dangerousyams/muxer | |
|---|---|---|---|
| Stars | 2 | 2 | 2 |
| Language | Shell | Shell | Shell |
| Setup difficulty | hard | moderate | moderate |
| Complexity | 3/5 | 3/5 | 3/5 |
| Audience | general | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires an ESP32, PN532 NFC module, soldering, and existing Home Assistant and Music Assistant installations.
This project provides the template files and step-by-step instructions to build a physical NFC tag reader that automatically plays an album in Home Assistant when you scan a tag. The motivating use case is a CD collection: you attach NFC stickers inside CD cases, scan a case on the reader, and the corresponding album starts playing on nearby smart speakers. The hardware side requires an ESP32 microcontroller and a PN532 NFC module, both available for a few dollars each. You flash custom firmware onto the ESP32 using the ESPHome tool, which compiles the provided configuration file and produces a binary you upload via a browser-based flasher at web.esphome.io. A short wiring step connects the NFC module to the ESP32 using four wires and puts the module into I2C mode by flipping a physical switch. Once powered and connected to your Wi-Fi, the ESP32 appears in Home Assistant automatically. After scanning your NFC tags in Home Assistant and naming each one after the corresponding album, the second part of the project takes over. A shell script called match_album.sh pulls the list of tags from Home Assistant, matches each tag name to an album in Music Assistant, and generates a Home Assistant automation YAML file that maps each tag to the correct playback command. Running the script once updates the automation in Home Assistant with all the matches. Tags that do not match any album are logged in a separate file so you can rename them and retry. The repository is described as template files and a guide for people who want to skip the research and assembly work that the author spent a long time doing.
Template files and a guide for building an ESP32 NFC reader that automatically plays albums in Home Assistant when you scan a tagged CD case.
Mainly Shell. The stack also includes Shell, ESPHome, Home Assistant.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly general.
This repo across BitVibe Labs
Verify against the repo before relying on details.