Skip to content

Node.js app to control Sonos+Spotify through Slack.

License

Notifications You must be signed in to change notification settings

benwiggins/sonosbot

Repository files navigation

sonosbot

Build Status Dependency Status Known Vulnerabilities

Control Sonos/Spotify through Slack

Details

Control Sonos through Slack. Integrates with Spotify. Written from scratch but borrows very liberally from the zenmusic project.

Requirements

Node 12.x or higher

Configuration

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 adminChannels.

To create a spotifyClientId and spotifySecret you should create an app at developer.spotify.com.

License

MIT licensed. Do what you want.