Metadata-Version: 1.0
Name: zhue
Version: 0.2
Summary: Python SDK for Philips Hue devices
Home-page: https://github.com/pschmitt/zhue
Author: Philipp Schmitt
Author-email: philipp@schmitt.co
License: GPL3
Description: zhue
        ============
        
        This library eases the interaction with Philips Hue devices
        
        .. code-block::
            
            from zhue import Bridge
        
            # upnp/nupnp discovery
            b = Bridge.discover()
        
            # register a new user on the Hue bridge
            b.create_user()
        
            # or use a predefined username
            b.username = 'MY_USERNAME'
        
            # query lights
            b.lights
        
            # turn light on and off
            b.light('outdoor').on()
            b.light('outdoor').off()
        
            # query sensors
            b.sensors
        
            # get temperature readings
            [x.temperature for x in b.temperature_sensors]
        
            # get light level readings
            [x.lightlevel for x in b.lightlevel_sensors]
        
            # get battery levels
            [x.state.temperature for x in b.lightlevel_sensors]
        
Platform: UNKNOWN
