Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

bulby

Python library for managing the phillips hue lightbulb

Getting Started

To get started you can get a list of your lights and work with them:

from bulby.client import HueBridgeClient
client = HueBridgeClient()
light = client.get_lights()[0]
client.set_color(light.light_id, '00ff00')

and now your light should be green! You can also reference lights by name:

from bulby.client import HueBridgeClient
client = HueBridgeClient()
client.set_color('Office 1', '00ff00')

Development

API Documentation for the Phillips Hue is here:

http://www.developers.meethue.com/

You can test the API of your phillips hue by going to /debug/clip.html.

Running tests

To run the tests you can do the following:

tox -e py34

The first time you run the tests you will need to hold the link button.

Credits

Download files

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

Source Distribution

bulby-0.0.1.dev0.tar.gz (8.4 kB view details)

Uploaded Source

File details

Details for the file bulby-0.0.1.dev0.tar.gz.

File metadata

  • Download URL: bulby-0.0.1.dev0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bulby-0.0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 b1e23dbe8e6dc7eeb62f62c40a7ac5cfe5ffdafe61c1b60e3d71b882885d1aea
MD5 fbd036310fb15477e5ab2e026985f2dd
BLAKE2b-256 0423f29abd444c39ade96f79113d1a6b9ef60ac92ec96f4009f2c2d260e995ee

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1.dev0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page