Méthode |
Description |
|
__construct ( integer $id, stdClass $attributes, Client $client ) |
Construct a Phue Group object |
|
__toString ( ) : string |
__toString |
|
delete ( ) |
Delete group |
|
getAlert ( ) : string |
Get alert |
|
getBrightness ( ) : integer |
Get brightness |
|
getColorMode ( ) : string |
Get color mode of group |
|
getColorTemp ( ) : integer |
Get Color temperature |
|
getEffect ( ) : string |
Get effect mode |
|
getHue ( ) : integer |
Get hue |
|
getId ( ) : integer |
Get group Id |
|
getLightIds ( ) : array |
Get light ids |
|
getName ( ) : string |
Get assigned name of Group |
|
getRGB ( ) : array |
Get calculated RGB |
|
getSaturation ( ) : integer |
Get saturation |
|
getType ( ) : string |
Get type |
|
getXY ( ) : array |
Get XY |
|
isOn ( ) : boolean |
Is the group on? |
|
setAlert ( string $mode = SetLightState::ALERT_LONG_SELECT ) : self |
Set light alert |
|
setBrightness ( integer $level = SetLightState::BRIGHTNESS_MAX ) : self |
Set brightness |
|
setColorTemp ( integer $value ) : self |
Set Color temperature |
|
setEffect ( string $mode = SetLightState::EFFECT_NONE ) : self |
Set effect |
|
setHue ( integer $value ) : self |
Set hue |
|
setLights ( array $lights ) : self |
Set lights |
|
setName ( string $name ) : self |
Set name of group |
|
setOn ( boolean $flag = true ) : self |
Set group lights on/off |
|
setRGB ( integer $red, integer $green, integer $blue ) : self |
Set XY and brightness calculated from RGB |
|
setSaturation ( integer $value ) : self |
Set saturation |
|
setScene ( mixed $scene ) : self |
Set scene on group |
|
setXY ( float $x, float $y ) : self |
Set XY |
|