boolean PJ_DimRGBW (integer $InstanceID, integer $R, integer $RTime, integer $G, integer $GZeit, integer $B, integer $BZeit, integer $W, integer $WZeit)
InstanceID | ID of the device to be switched |
R | Brightness value 0 (off) to 255 (on, maximum brightness) |
RTime | In seconds in which the desired brightness level is to be achieved: 0 (immediately) to 2550 seconds (42,5 minutes) |
G | Brightness value 0 (off) to 255 (on, maximum brightness) |
GZeit | In seconds in which the desired brightness level is to be achieved: 0 (immediately) to 2550 seconds (42,5 minutes) |
B | Brightness value 0 (off) to 255 (on, maximum brightness) |
BZeit | In seconds in which the desired brightness level is to be achieved: 0 (immediately) to 2550 seconds (42,5 minutes) |
W | Brightness value 0 (off) to 255 (on, maximum brightness) |
WZeit | In seconds in which the desired brightness level is to be achieved: 0 (immediately) to 2550 seconds (42,5 minutes) |
If the command succeeds, it returns TRUE, otherwise FALSE. |
Sends a dimming command to the RGBW-868 controller of the ID InstanceID.
The value for the time is divided internally into two sections. When times are specified over 255 seconds, automatically all times that were less than 255 are set to 255. This area is intended for slow scenarios to wake up.
//dim in 2 seconds on yellow PJ_DimRGBW(12345,255,2,255,2,0,0,0,0);</div>