msbsh / sonos-nfc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sonos-nfc

Use NFC Tags to play your music on a sonos system.

Prerequisites

Setup

Set Environment Vars or .env-File

  • SONOS_API_URL = Base URL of the Sonos API
  • SONOS_ROOM = Name of the Room or Player to control

Run

npm start # run in foreground
npm run forever # run in background
# ------------
npm run stop # stop the running forever

Write your Cards

Currently there is no easy way to write the tags

node write.js # Write something on a card you present

About


Languages

Language:JavaScript 100.0%