What can we improve?

Dokumentation

Translation is in progress...

Not all topics are available at the moment and content links may be broken.

ENO_SwitchModeEx

boolean ENO_SwitchModeEx (integer $InstanceID, boolean $Status, integer $SendMode)

Parameters

InstanceID ID of the device to be switched
Status TRUE for On, FALSE for Off
SendMode 0 = NMessage, 1 = UMessage, 2 = Both (Like ENO_SwitchMode)

Returns

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

Description

Switches the device with ID InstanceID to value Status

Since the EnOcean system is unidirectional, can not be determined whether the command was successful. Error messages are only sent when an internal system error occurred (for example, if the interface is not connected).

For explanation of NMessage and UMessage you should check out the EnOcean documentation.

Example

ENO_SwitchModeEx(12345, true, 0); //Send NMessage 
IPS_Sleep(500); //Warten
ENO_SwitchModeEx(12345, true, 1); //Send UMessage
Deutsche Webseite verfügbar
Go to cart
Any questions?