/pyhue

Python library for the Philips Hue personal lighting system

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

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/.