boolean MXC_DimDarker (int $InstanceID)
InstanceID | ID of the device to be switched |
If the command succeeds, it returns TRUE, otherwise FALSE.
Starts the dimming for the device with ID InstanceID at a lower intensity level. The process can be terminated with the command MXC_DimStop. If the maximum level is reached, the process will stop automatically. The status message is sent from the device, when the operation was terminated. There are no messages sent between.
MXC_DimDarker(12345); //Dim darker
IPS_Sleep(1000);
MXC_DimStop(12345);