Documentation
EIB_SetRGBW
boolean EIB_SetRGBW (int $InstanceID, int $Red, int $Green, int $Blue, int $White)
Parameters
InstanceID | ID of the device to be switched |
Red | 0 .. 255 (0 = off, 255 = bright) |
Green | 0 .. 255 (0 = off, 255 = bright) |
Blue | 0 .. 255 (0 = off, 255 = bright) |
White | 0 .. 255 (0 = off, 255 = bright) |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Sets the RGBW stripe of the device with the ID InstanceID to red Red, the green value Green, the blue level Blue and the white content to White.
Example
EIB_SetRGBW(12345, 255, 0, 0, 0); //Sets the RGB stripe to red