Documentation
MXC_DimDarker
boolean MXC_DimDarker (int $InstanceID)
Parameters
InstanceID | ID of the device to be switched |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
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.
Example
MXC_DimDarker(12345); //Dim darker
IPS_Sleep(1000);
MXC_DimStop(12345);