Control Sonos through Slack. Integrates with Spotify. Written from scratch but borrows very liberally from the zenmusic project.
Node 12.x or higher
You will need to create config/config.json
. An example is provided.
sonosAddress
should be set to the IP of your Sonos controller.
To generate a slackToken
you need to create an app in Slack and install it in your workspace. Once done you can go to Features -> OAuth & Permissions
and retrieve the Bot User OAuth Access Token.
Once done you should invite the bot to the configured standardChannel
and adminChannel
s.
To create a spotifyClientId
and spotifySecret
you should create an app at developer.spotify.com.
MIT licensed. Do what you want.