I have modified an Ikea Symfonisk speaker to integrate a tag reader, based on @adonno’s project. I’m fairly happy with the result and thought I’d share.
The entire project is self-contained as the ESP8266 is powered directly from the speaker’s PCB, thanks to a MP1584 buck converter. A dab of paint to hide the led on the PN532 and you can’t tell the reader is there.
My sons love their new speaker. A few NFC tags inside homemade flashcards, and they can play their favorite albums whenever they want. Now, even my one year old can control the Sonos system.
Yeah I know how kids can be, I tried to avoid things getting out of control.
It’s configured to only play music on their room speaker and any speaker grouped to it. All their music is on a local NAS to avoid messing with a Spotify stream playing downstairs.
I also modified the tagreader.yaml to control when the reader is enabled. This way I can avoid the kids playing music at night/naptime and set limits if necessary. If a card is scanned when disabled, they get an error tone.
@EtienneMD
Would you be willing to share your automation with me? I build the tag reader in a 3D printed housing. Now trying to use Spotify with a Google Hub and the NFC chip. I can’t get it to work.
Every tag is contained in a variable with the corresponding album or playlist as its key.
I don’t know how that translates from Sonos to a Google Hub. All you need to do is find the correct service call to play Spotify on the Google Hub and adapt this to your needs.
Yes, it works! Thanks for pointing me in the right direction. Ended up with using the HACS Spotcast integration. Otherwise you can’t start an idle Google Hub.