What can we improve?

Documentation

(Edit)

LCN_SwitchRelay

boolean LCN_SwitchRelay (integer $InstanceID, boolean $Status)

Parameters

InstanceID ID of the device to be switched
Status TRUE for On, FALSE for Off

Returns

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

Description

Switches the relay with the ID InstanceID to value Status

Example

LCN_SwitchRelay(12345, true); //Turn on relay
Deutsche Webseite verfügbar
Go to cart
Any questions?