Custom printed cards that play music/audio through speaker via Home Assistant
Yaml
I wanted to make something like a Tonie Box or Yoto Player that could be really custom (and cost less for each card). I didn't need it to be portable, although that would be fun to try and accomplish! The cards have embedded NFC. When you touch them to an NFC scanner, it triggers in Home Assistant and maps the NFC tag to audio via Music Assistant (inside Home Assistant). This can either be a local file or can point to individual tracks, albums, or playlists and can have shuffle on or off. I can always print new cards or change what audio they play. Music Assistant connects to my Apple Music account to play my playlists and other songs from there. I have some local audio as well for stuff that Apple Music doesn't have.
Cards:
Printable NFC cards (Brainstorm ID Inkjet PVC Cards with NFC Chip NTAG215)
https://www.amazon.com/dp/B072FK4RZD
I used this card tray to do the printing in my printer
(Brainstorm ID Inkjet PVC Card Tray for Canon PIXMA)
https://www.amazon.com/dp/B07T28MXMK
I used this printer at home (Canon PIXMA TS9520a)
https://www.amazon.com/dp/B0CX67X7XG
The cards are sitting in a business card holder
https://www.amazon.com/dp/B0CMXCTZWJ
I used a pre-built NFC card reader for Home Assistant but you can build them yourself too.
https://github.com/adonno/tagreader?tab=readme-ov-file
https://adonno.com/tagreader/
I used a Google Home Mini that I had laying around, but any speaker that connects with Home Assistant would have worked.
I also connected a 4 button switch that my kids can use to go forward or backward a song and to change the volume on the speaker or pause the audio.