Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
rocon_python_hue.phue.Light Class Reference
Inheritance diagram for rocon_python_hue.phue.Light:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def __repr__
def alert
def alert
def brightness
def brightness
def colormode
def colortemp
def colortemp
def colortemp_k
def colortemp_k
def effect
def effect
def hue
def hue
def name
def name
def on
def on
def reachable
def saturation
def saturation
def xy
def xy

Public Attributes

 bridge
 brightness
 colortemp
 light_id
 transitiontime

Private Member Functions

def _get
def _set

Private Attributes

 _alert
 _brightness
 _colormode
 _colortemp
 _effect
 _hue
 _name
 _on
 _reachable
 _reset_bri_after_on
 _saturation
 _xy

Detailed Description

Hue Light object

Light settings can be accessed or set via the properties of this object.

Definition at line 51 of file phue.py.


Constructor & Destructor Documentation

def rocon_python_hue.phue.Light.__init__ (   self,
  bridge,
  light_id 
)

Reimplemented in rocon_python_hue.phue.Group.

Definition at line 58 of file phue.py.


Member Function Documentation

Definition at line 76 of file phue.py.

def rocon_python_hue.phue.Light._get (   self,
  args,
  kwargs 
) [private]

Reimplemented in rocon_python_hue.phue.Group.

Definition at line 86 of file phue.py.

def rocon_python_hue.phue.Light._set (   self,
  args,
  kwargs 
) [private]

Reimplemented in rocon_python_hue.phue.Group.

Definition at line 89 of file phue.py.

Get or set the alert state of the light [select|lselect|none]

Definition at line 261 of file phue.py.

def rocon_python_hue.phue.Light.alert (   self,
  value 
)

Definition at line 267 of file phue.py.

Get or set the brightness of the light [0-254].

0 is not off

Definition at line 162 of file phue.py.

def rocon_python_hue.phue.Light.brightness (   self,
  value 
)

Definition at line 171 of file phue.py.

Get the color mode of the light [hs|xy|ct]

Definition at line 156 of file phue.py.

Get or set the color temperature of the light, in units of mireds [154-500]

Definition at line 216 of file phue.py.

def rocon_python_hue.phue.Light.colortemp (   self,
  value 
)

Definition at line 222 of file phue.py.

Get or set the color temperature of the light, in units of Kelvin [2000-6500]

Definition at line 231 of file phue.py.

def rocon_python_hue.phue.Light.colortemp_k (   self,
  value 
)

Definition at line 237 of file phue.py.

Check the effect setting of the light. [none|colorloop]

Definition at line 250 of file phue.py.

def rocon_python_hue.phue.Light.effect (   self,
  value 
)

Definition at line 256 of file phue.py.

Get or set the hue of the light [0-65535]

Definition at line 176 of file phue.py.

def rocon_python_hue.phue.Light.hue (   self,
  value 
)

Definition at line 182 of file phue.py.

Get or set the name of the light [string]

Reimplemented in rocon_python_hue.phue.Group.

Definition at line 101 of file phue.py.

def rocon_python_hue.phue.Light.name (   self,
  value 
)

Reimplemented in rocon_python_hue.phue.Group.

Definition at line 110 of file phue.py.

Get or set the state of the light [True|False]

Definition at line 122 of file phue.py.

def rocon_python_hue.phue.Light.on (   self,
  value 
)

Definition at line 128 of file phue.py.

Get the reachable state of the light [select|lselect|none]

Definition at line 274 of file phue.py.

Get or set the saturation of the light [0-254]

0 = white
254 = most saturated

Definition at line 187 of file phue.py.

def rocon_python_hue.phue.Light.saturation (   self,
  value 
)

Definition at line 197 of file phue.py.

Get or set the color coordinates of the light [ [0.0-1.0, 0.0-1.0] ]

This is in a color space similar to CIE 1931 (but not quite identical)

Definition at line 202 of file phue.py.

def rocon_python_hue.phue.Light.xy (   self,
  value 
)

Definition at line 211 of file phue.py.


Member Data Documentation

Definition at line 58 of file phue.py.

Definition at line 58 of file phue.py.

Definition at line 58 of file phue.py.

Definition at line 58 of file phue.py.

Definition at line 58 of file phue.py.

Definition at line 58 of file phue.py.

Reimplemented in rocon_python_hue.phue.Group.

Definition at line 58 of file phue.py.

Definition at line 58 of file phue.py.

Definition at line 58 of file phue.py.

Reimplemented in rocon_python_hue.phue.Group.

Definition at line 58 of file phue.py.

Definition at line 58 of file phue.py.

Definition at line 58 of file phue.py.

Definition at line 58 of file phue.py.

Definition at line 128 of file phue.py.

Definition at line 237 of file phue.py.

Definition at line 58 of file phue.py.

Definition at line 58 of file phue.py.


The documentation for this class was generated from the following file:


rocon_python_hue
Author(s):
autogenerated on Thu Jun 6 2019 17:58:50