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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file huelights-0.1.1.tar.gz.

File metadata

  • Download URL: huelights-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for huelights-0.1.1.tar.gz
Algorithm Hash digest
SHA256 052a8f968a6c60a664ee90385e2803417aff1ca4ccb3b9fbfa22ce57ab23b42b
MD5 362f02d2428451bf76a00c92a7c392fb
BLAKE2b-256 4b6f7ccb26b12eb6d4a9968b1973b17d9fc90ad374fa33cedae798a6e0e485b6

See more details on using hashes here.

File details

Details for the file huelights-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: huelights-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for huelights-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e43d04b079deb3a189027448596268ed7446145e8acb8e9c4e7f88866c8520d
MD5 8b71a2bc2a63e7b4a0aaf073a85c4e92
BLAKE2b-256 bf3f640114958b1812048516db87829780f52a91dd768ef8161cb7067f5a5464

See more details on using hashes here.

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