EXAMPLE 1

Turn on output 1 when receiving a message containing the S1 text sent by the web interface API .


API API MESSAGE 

$S17=S1 LAST API MESSAGE = S1 





out1=1





trigger event is the receipt of an API message.

The first condition to check is that the text of the message received is equal (exactly) to S1. Replace the = operator with the operator ( if you want to verify that the message contains (also) the text S1.

The first action contains the command that activates output 1.