Skip to main content

A Python wrapper to interact with Philips Hue smart lights

Project description

huelights

python pypi License: GPL v3

A Python wrapper to interact with Philips Hue smart lights

Installation

Install from PyPI:

pip install huelights

Example

A small example for interacting with your Philips Bridge to manipulate Philips Hue smart lights:

from huelights.bridge import Bridge

bridge = Bridge('username')

lights = bridge.get_lights()

for light in lights:
    light.effect = 'colorloop'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

huelights-0.1.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

huelights-0.1.1-py3-none-any.whl (15.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page