Language selection:
Skip to main navigation Skip to main content Skip to page footer

SMS remote command function for remote control of monitoring systems

SMS commands can be used to remotely control Didactum building monitoring devices. These SMS commands allow you to remotely query the status and readings of sensors, relays, or sockets.

You can switch the relays on or off via SMS command. Pulse switching of the relays is also supported. The phone numbers of mobile devices and smartphones used to send the SMS commands must be added to the list of allowed numbers in the GSM modem.

To do this, click on the GSM modem in the monitoring device's web interface (right-click on the modem icon, then select "Edit GSM Modem" and then "Allowed Numbers").

Every SMS command sent to the monitoring system is acknowledged with an SMS reply. In case of an error, the monitoring system automatically sends an SMS with information about the error, including a sample command. An SMS can only contain a single command for a single item.

SMS remote command to read important sensor parameters

Function: “get [id]” or “get [name]”. “ID” is the element's number, and “Name” is its name.

Description:

This SMS command checks the status of the sensor or relay and sends a reply SMS to the phone from which the command was sent.

Examples:

“get 1034” - retrieve information about sensor number 1034;

“GET Relay-2” - retrieve information about the element named Relay-2 via SMS;

“Get Analog-1” - retrieve information about the status of the element named “Analog-1”;

SMS remote command to switch relays

Function: “set [id] [state]” or “set [name] [state]”. “ID” is the element number, “Name” is the element's name, and “State” is the relay's switching status.

The “state” field can have the following states: on – switched on, off – switched off.

Description:

This command switches the relay (output) according to the specified state parameter. The monitoring system then sends an SMS notification to the phone number from which the command was sent, including the result.

Examples:

“set 1004 on” – Switch on relay number 1004;

“SET Relay-2 Off” – Switch off relay named Relay-2;

“set 1005 OFF” – Switch off relay number 1005;

SMS remote command for pulse switching of relays

Function: “set [id] [name] pulse [duration]”. “ID” is the element number, “name” is the element name, and “duration” is the delay duration in seconds.

Description:

This command toggles the relay (output) twice with a temporary delay specified as the “duration” parameter in seconds.

Examples:

“set 1004 pulse 15” - A pulse is sent to relay number 1004 with a delay of 15 seconds;

“SET Relay-2 PULSE 110” - A pulse is sent to relay named Relay-2 with a delay of 110 seconds;

“Set Relay-1 pulse 10” - A pulse is sent to relay named Relay-1 with a delay of 10 seconds;

Logical scheme can be switched on/off via SMS remote command

The command function `logic [id] [state] {duration}`, `logic * [state]`, where ID is the logic number (the symbol '*' represents all logics), State is the state the logic enters ("off", "on"), and {duration} is the duration of the logic shutdown in seconds.

This command activates or deactivates the logic defined in the logic schema of the IP-based monitoring system. The duration is only displayed if a logic defined in the monitoring system has been deactivated.

Example commands:

  • "logic 1 off 30" - Disables/deactivates logic number 1 for 20 seconds;
  • "logic 1 on" - Activates logic number 1;
  • "logic * off" - Deactivates all logics for 24 hours;
  • "logic * on" - Activates all logics

In this case, the SMS response will be: OK.

This website uses cookies

This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Cookie Policy.

Essential cookies enable basic functions and are necessary for the website to function properly.
Statistics cookies collect information anonymously. This information helps us to understand how our visitors use our website.
Marketing cookies are used by third parties or publishers to display personalized advertisements. They do this by tracking visitors across websites.