User guide for version 7.10
Previous versions: 7.9 | 7.8 | 7.7
×

Sending commands via SMS

In the Commands module, you can send commands to a device via SMS using the smsgateway24 integration.
Before sending, an administrator must configure the integration in the admin panel.
SMS command syntax depends on the device model. Use the format specified in the manufacturer’s documentation.
 

Configuring smsgateway24

In the admin panel, open the account settings, go to Configs, and enter the smsgateway24 integration settings.
  Parameter
 Value
  login
 smsgateway24 account login
  password
 Account password
  device_id
  ID of the device in smsgateway24 that will send SMS messages
Example:
{
  "login": "demo@example.com",
  "password": "DemoPassword123",
  "device_id": "12345"
}
Replace the example values with your integration details. The device_id parameter identifies the SMS-sending device in smsgateway24.
Two URLs are used to pass incoming messages and statuses to PILOT:
  • Incoming SMS messages:
    https://<address>/ax/commands/smsstatus.php?cmd=incoming
  • Sent SMS statuses:
    https://<address>/ax/commands/smsstatus.php?cmd=status
Replace <address> with your PILOT server address.
 

Sending an SMS command

1. On the Online tab, click Commands on the toolbar above the object list
2. In the window that opens, click
3. Select a device and enter a name for the command
4. Add a command
5. In Type, select SMS
6. Enter the message in a format supported by the device
Sending commands via SMS
7. In Command valid, set the validity period and select a time unit
8. If needed, configure sending conditions in the editor’s right panel
9. Click Send
PILOT will send the SMS command through smsgateway24. You can check the sending status and device response in the command history.