Send feedback!
(Edit)
LCN_SetRGBW
boolean LCN_SetRGBW (integer $InstanceID, integer $Red, integer $Green, integer $Blue, integer $White)
Parameters
InstanceID |
ID of the device to be switched
|
Red |
Intensity between 1..100
|
Green |
Intensity between 1..100
|
Blue |
Intensity between 1..100
|
White |
Intensity between 1..100
|
Returns
If the command succeeds, it returns TRUE, otherwise FALSE. |
Description
Sets the color and white value of the instance with ID InstanceID to Red, Green and Blue, and the intensity to White.
Example
//Set instance 12345 to full intensity red.
LCN_SetRGBW(12345, 100, 0, 0, 100);