Python library for the Philips Hue personal lighting system
Python library for the Philips Hue personal lighting system.
You can install pyhue with pip install pyhue or download pyhue.py and place it in your project directory.
import pyhue bridge = pyhue.Bridge('my_ip_address', 'my_username') for light in bridge.lights: light.on = True light.hue = 0
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.