Method |
Description |
|
getAlert ( ) : string |
Get alert |
|
getBrightness ( ) : integer |
Get brightness |
|
getColorMode ( ) : string |
Get color mode of light |
|
getColorTemp ( ) : integer |
Get Color temperature |
|
getEffect ( ) : string |
Get effect mode |
|
getHue ( ) : integer |
Get hue |
|
getId ( ) : integer |
Get light or group Id |
|
getName ( ) : string |
Get assigned name of light or group |
|
getSaturation ( ) : integer |
Get saturation |
|
getType ( ) : string |
Get type |
|
getXY ( ) : array |
Get XY |
|
isOn ( ) : boolean |
Is the light or group on? |
|
setAlert ( string $mode = SetLightState::ALERT_LONG_SELECT ) : Phue\LightInterface |
Set light or group alert |
|
setBrightness ( integer $level = SetLightState::BRIGHTNESS_MAX ) : Phue\LightInterface |
Set brightness |
|
setColorTemp ( integer $value ) : Phue\LightInterface |
Set Color temperature |
|
setEffect ( string $mode = SetLightState::EFFECT_NONE ) : Phue\LightInterface |
Set effect |
|
setHue ( integer $value ) : Phue\LightInterface |
Set hue |
|
setName ( string $name ) : Phue\LightInterface |
Set name of light/group |
|
setOn ( boolean $flag = true ) : Phue\LightInterface |
Set light or group on/off |
|
setSaturation ( integer $value ) : Phue\LightInterface |
Set saturation |
|
setXY ( float $x, float $y ) : Phue\LightInterface |
Set XY |
|