What can we improve?

Documentation

(Edit)

LCN_SwitchDurationMin

boolean LCN_SwitchDurationMin (integer $InstanceID, integer $Minutes, string $DimmingTime, boolean $Preserving)

Parameters

InstanceID ID of the device to be switched
Minutes After how many minutes it should be dimmed down
DimmingTime How fast to dim down
Preserving The device is only shut down after the time elapsed if it has not been on before.

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Dims the device with ID InstanceID brighter after Minutes minutes. Other options are the dimming speed DimmingTime and whether it is Preserving.

DimmingTime Description
'K' Short DimmingTime
'M' Medium DimmingTime
'L' Long DimmingTime

Example

// Slowly dim device 12345 after 10 minutes
LCN_SwitchDurationMin(12345, 10, 'L', false);
Deutsche Webseite verfügbar
Go to cart
Any questions?