Metadata-Version: 2.1
Name: pyhuelights
Version: 0.8.2
Summary: Library to remote control Philips Hue Lights
Author: Srivatsan Iyer
Author-email: supersaiyanmode.rox@gmail.com
License: MIT
Description-Content-Type: text/markdown
License-File: LICENSE

#### This README is a work in progress.

# Highlight [![Build Status](https://travis-ci.org/supersaiyanmode/PyHueLights.svg?branch=master)](https://travis-ci.org/supersaiyanmode/PyHueLights)[![Coverage Status](https://coveralls.io/repos/github/supersaiyanmode/PyHueLights/badge.svg)](https://coveralls.io/github/supersaiyanmode/PyHueLights)
(Yet another) Philips Hue SDK (Python).


## Sample Code

    from pyhuelights.discovery import DefaultDiscovery
    from pyhuelights.core import *
    from pyhuelights.manager import *
    from pyhuelights.animations import *
    from pyhuelights.registration import *
    
    store = {}
    conn = DefaultDiscovery().discover()
    conn = register(conn, HueApp("test", ""), store)   # Remember to push the button on the hub within
                                                       # the last 30 sec of executing this line.
    
    lm = LightsManager(conn)
    lights = lm.get_all_lights()
    lm.run_effect(lights['1'], ColorLoopEffect())
