This project was designed to interface with a Sonos smart speaker and control it from within a web page.
Capabilities:
- Play, Pause, Search for Music, and other basic Sonos controls
- Use a scheduler to schedule the Sonos to use text to speech controls (ex: at 6:00 am, tell me the weather for today or at 8:00pm give me a quote of the day)
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
- NodeJS installation
- Either a local MongoDB instance or a remote Mongo provider like Mlab
- Need to have a node server running node-sonos-http-api
A step by step series of examples that tell you have to get a development env running
Say what the step will be
Give the example
And repeat
until finished
End with an example of getting some data out of the system or using it for a little demo
The app needs certain api keys to be configured. To do this, create a settings.json file in the root directory
{
"darksky": "<insert darksky api key here>",
"latitude": "<insert latitude of current location here>",
"longitude": "<insert longitude of current location here>",
"hue" : "<insert hue light key here for autodiscovery>",
"mongoUrl": "<insert mongo database url here>"
}
- Sawyer Burnett - Initial work