benwiggins / sonosbot

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:JavaScript 94.7%Language:Shell 4.8%Language:Dockerfile 0.5%