Use NFC Tags to play your music on a sonos system.
- a running SONOS-API
- A functional mfrc522 NFC Chip wired to
- a Raspberry PI
Set Environment Vars or .env
-File
SONOS_API_URL
= Base URL of the Sonos APISONOS_ROOM
= Name of the Room or Player to control
npm start # run in foreground
npm run forever # run in background
# ------------
npm run stop # stop the running forever
Currently there is no easy way to write the tags
node write.js # Write something on a card you present