• Stars
    star
    121
  • Rank 293,924 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python library for managing the phillips hue lightbulb

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

Tips

To get the bridge IP go here:

https://www.meethue.com/api/nupnp

Once you get the IP you can debug the base here:

http://<bridge ip address>/debug/clip.html

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

More Repositories

1

homies

My configuration files (.screenrc, .vimrc, .weechat, .bashrc, .gitconfig, etc)
Lua
530
star
2

snowmachine

A python script that allows your terminal to snow.
Python
184
star
3

pyramid_celery

Pyramid configuration with celery integration. Allows you to use pyramid .ini files to configure celery and have your pyramid configuration inside celery tasks.
Python
105
star
4

pyramid_webassets

Pyramid extension for working with the webassets library
Python
64
star
5

pyvore

Convore clone using gevent-socketio
JavaScript
19
star
6

PyQuil

An SQL query application. Allows you to inspect your databases and query them easily. Similar to microsoft's query analyzer/sql server management studio
Python
11
star
7

notaliens.com

A website for showcasing pyramid powered sites and the hackers that use it!
JavaScript
11
star
8

pycon2012

JavaScript
9
star
9

sqlalchemy_traversal

This is a pyramid extension that allows you to use traversal with SQLAlchemy objects
Python
9
star
10

python_json_benchmarks

Test python serializers
Python
4
star
11

po2json

Converts gettext .po files to javascript objects.
JavaScript
4
star
12

pymemmon

Monitors processes until they reach a set memory limit and kills them
Python
3
star
13

pyramid_cli

Command line utility for working with Pyramid
Python
3
star
14

docker_youtube_series

These are just the docker example files from the YT videos I created. Each video is a branch.
2
star
15

sontek.github.com

JavaScript
2
star
16

superdash

A dashboard for managing multiple servers via supervisord
Mako
1
star
17

sontek_net

My personal website
TypeScript
1
star
18

weechat-plugins

Plugins I've wrote for weechat
Python
1
star
19

sontek

1
star
20

apply-terraform

github action for applying terraform
1
star
21

presentations

JavaScript
1
star
22

responsive-table

A POC for a Responsive HTML Table
HTML
1
star