/Sonos-HipChat

A Python-based HipChat bot for Sonos players

Primary LanguagePython

Sonos-HipChat

A hipchat bot for sonos players
This app requires two libraries:
https://github.com/SoCo/SoCo
https://github.com/RidersDiscountCom/HypChat

Both can be installed via pip (which itself can be downloaded here: https://pypi.python.org/pypi/pip)
pip install hypchat
pip install soco

To use this with your Sonos system and hipchat you will need:
-The IP Address of your Sonos Player
-Your hipchat auth token (get it here: https://www.hipchat.com/account/api)
-The name of a hipchat room for your bot to live in

Once you have these things just add them to the config.txt file

After that open a command prompt, navigate to the folder containing roomSonos.py and enter:
python roomPython.py

Also, if you develop this library, make sure to add config.txt to your git ignore file or at least don't check in any confidential info back into a public repo. That's why it is it's own file separate from the source! :-)