|
Messages transmitted via Telegram are not end-to-end encrypted. Users must avoid entering passwords or sensitive data within the chat interface. |
|
INDIRECT CONTROL |
||
|
Typically, the received text is evaluated within a logic rule to trigger one or more actions. |
||
|
|
|
APE CHAT FROM USER |
|
|
S16(FIRE LAST CHAT MESSAGE ( FIRE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
out1=1,10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trigger EVENT receipt of a CHAT 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. |
||
|
DIRECT CONTROL |
||
|
Commands issued from the chat are not executed unconditionally; they are processed only if validated against the logic rules configured on the device. It is possible to execute the received text directly as a command by referencing the variable $S16. 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. This mechanism allows the transmission of any supported AT command, including operations that modify system parameters, manage users, and update rules. Consequently, privileges should be restricted strictly to authorized personnel. |
||
|
|
|
APE APP MESSAGE FROM USER |
|
|
$S15=admin LAST CHAT SENDER GROUP = admin |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$S16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trigger EVENT receipt of a CHAT message from an active user. condition verification that the message originated from a user belonging to the admin group. The first action contains the tag that represents the text of the last CHAT message received, if this is an AT command it will be executed. |
||
