|
EXAMPLE 1 |
||
|
Typically, the received text is evaluated within a logic rule to trigger one or more actions. |
||
|
|
|
APE APP MESSAGE FROM USER |
|
|
S13(FIRE SMS LAST TEXT ( FIRE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
out1=1,10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trigger EVENT is the receipt of an APP message from an active user. The first condition to check is that the received text contains (also) the text FIRE. The first action contains the command to activate output 1 for 10 seconds. |
||
|
EXAMPLE 2 |
||
|
It is also possible to execute the received text directly as a command by referencing the variable $S13. If the received text matches a valid command syntax, it will be executed by the device. Automatic execution of direct commands can be restricted by defining specific conditions within the logic rules |
||
|
|
|
APE APP MESSAGE FROM USER |
|
|
$I12=1 INPUT 1 STATUS = 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$S13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trigger EVENT is the receipt of an APP message from an active user. The first condition to check is that the digital input 1 is in the logical state 1, it means closed. The first action contains the tag that represents the text of the last message received from APP, if this is an AT command it will be executed. |
||
