Sonos-Flask is a really simple flask app which allows insecure, remote control of a sonos device
Python
Switch branches/tags
Nothing to show
Pull request Compare This branch is 7 commits ahead, 99 commits behind rahims:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Procfile
README.md
app.py
requirements.txt
soco.py

README.md

Sonos Flask Controller

Super ghetto and based on https://github.com/rahims/SoCo SoCo heavily.

Set up

SoCo itself depends on the Requests HTTP library. The easiest way to install it is through pip:

pip install -r requirements.txt 

You will need to set the environment variable, SONOS_IP, to the correct IP of the Sonos controller.

export SONOS_IP="192.168.1.215"

or with Heroku

heroku config:set SONOS_IP="192.168.1.215"

Stuff

flask.py

License

Copyright (C) 2012 Russell Smith (@ukd1).

Released under the MIT license.

soco.py

SoCo (Sonos Controller) is a simple Python class that allows you to programmatically control Sonos speakers. It was created at Music Hack Day Sydney, so there is still much room for improvement, however the basic control functionality is there and works well. I've tested it with both a Play:3 and a Play:5.

For more background on this project, please see my related blog post.

Contributors

License

Copyright (C) 2012 Rahim Sonawalla (rsonawalla@gmail.com / @rahims).

Released under the MIT license.