Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 911 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 911 Bytes

pyhue

Python library for the Philips Hue personal lighting system.

Installation

You can install pyhue with pip install pyhue or download pyhue.py and place it in your project directory.

Example

import pyhue

bridge = pyhue.Bridge('my_ip_address', 'my_username')
for light in bridge.lights:
	light.on = True
    light.hue = 0

Features

  • Object-oriented mapping of the RESTful interface.
  • Major support of the v1.0 of the API: Lights, Groups, Schedules.
  • Conversion of basic color models.

See the complete documentation of the Philips Hue personal lighting system on http://developers.meethue.com/.