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 details)
File details
Details for the file pyhuelights-0.8.2.tar.gz
.
File metadata
- Download URL: pyhuelights-0.8.2.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3e8f52d83fc51a26f96de5f3e3e29bb4e1faad02e898428de72c10e8da91539 |
|
MD5 | 962cc1ba0ead7590c93ffce806433bdc |
|
BLAKE2b-256 | 4e1f1e18b7013ede2e9535c9b600bcb928b11b26cd9499f7f39bcdeb1ae56cbc |