Manages the phillips hue lightbulbs
Python library for managing the phillips hue lightbulb
To get started you can get a list of your lights and work with them:
from bulby.client import HueBridgeClient client = HueBridgeClient() light = client.get_lights() client.set_color(light.light_id, '00ff00')
and now your light should be green! You can also reference lights by name:
from bulby.client import HueBridgeClient client = HueBridgeClient() client.set_color('Office 1', '00ff00')
API Documentation for the Phillips Hue is here:
You can test the API of your phillips hue by going to /debug/clip.html.
To run the tests you can do the following:
tox -e py34
The first time you run the tests you will need to hold the link button.
- SSDP Module originally developed by Dan Krause here: https://gist.github.com/dankrause/6000248
- Hex -> XY originally developed by Ben Knight here: https://github.com/benknight/hue-python-rgb-converter
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size bulby-0.0.1.dev0.tar.gz (8.4 kB)||File type Source||Python version None||Upload date||Hashes View|