Library to remote control Philips Hue Lights
Project description
This README is a work in progress.
Highlight
(Yet another) Philips Hue SDK (Python).
Sample Code
from pyhuelights.discovery import DefaultDiscovery
from pyhuelights.core import *
from pyhuelights.manager import *
from pyhuelights.animations import *
from pyhuelights.registration import *
store = {}
conn = DefaultDiscovery().discover()
conn = register(conn, HueApp("test", ""), store) # Remember to push the button on the hub within
# the last 30 sec of executing this line.
lm = LightsManager(conn)
lights = lm.get_all_lights()
lm.run_effect(lights['1'], ColorLoopEffect())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyhuelights-0.8.2.tar.gz
(11.4 kB
view hashes)