This is an automated archive made by the Lemmit Bot.
The original was posted on /r/homeassistant by /u/Nebarik on 2026-07-02 04:35:55+00:00.
A little while back I posted here the dumbest question ever about how to get a media playing automation to even begin to work, and you guys were really nice and helpful.
After much self learning and work. I finally got the completed solution done. And it works surprisingly well, it's seamless and a very cool party trick.
I have NFC tags stuck to the underside of the CD spindle (fits like a glove). I put the CD case on a nice little bamboo phone stand (that has the NFC reader hidden behind it), and basically instantly that album starts playing on the nearby Nest Hub like magic.
I've came back so others don't have to go through what I did, sharing a few simple files (literally only 3 in the repo) and a straight forward walkthrough. I say straight forward, it does assume beginner level command line experience, or at least the ability to comprehend any errors you run into enough to ask your favourite LLM for help.
I've included both how to wire and program the NFC reader. And a script that automatically matches tag names (that you've named the album names) to the album IDs in Music Assistant, and then updates the single automation rule in Home Assistant directly. Adding new tags is as simple as scanning it, naming it, and rerunning the script.
Here's the project. Enjoy.
https://github.com/Nebarik/esp32-nfc-reader