Sonos bot
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
mp3
.gitignore
README.md
bot.js
giphy.js
lyrics.js
package.json
random.js
request-promise.js
sample-config.js
serve-files.js
slackson_360.png
sonos.js

README.md

Slackson

slackson

Slack bot that controls and reacts to the state of Sonos controllers on your network.


jim [5:35 PM]
whats playing

sonosbot BOT [5:35 PM]
`The Avener & Phoebe Killdeer - Fade Out Lines - The Avener Rework`

jim [5:35 PM]
pause

sonosbot BOT [5:35 PM]
`jim requested to pause this track.`

jim [5:35 PM]
play

sonosbot BOT [5:35 PM]
`jim requested to continue playing music.`


Running

You will need to provide your own credentials within config.js, a sample-config.js is provided as an example. The bot server must run on the same network that hosts your Sonos devices.

npm install
node bot.js