Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
stylenone

Introduction

You can send SMS messages through special SMS services via Ethernet. Vutlan monitoring unit sends a request to such a service, which in return sends an SMS to the recipients, depending on the API in the request. All the commands described for working with the service are usually described on the company's website and are unique for each such service. Vutlan provides a generic access mechanism suitable for most such services.

How to create a Web-to-SMS element

To create a notification via "Web-to-SMS" you have to specify the following parameters:

Parameter

Description

Name

The name of the element in the system

Phone number

The telephone number of the addressee

,

is compiled in accordance with the documentation of the Web SMS service.

Message

Text of the message. May contain Macros. Learn more about Macros at

:

Macros in the notification text

Example with full info:

Logic name:\n

%4\n

--\n

Logic triggered at:\n

%3\n

--\n

Logic triggered by:\n

%5, %8\n

State: %6\n

Value: %7\n

--\n

Logic scheme description:\n

%1\n

--\n

All sensor states on the moment when logic was triggered:\n

%2\n

--\n

Login

User login on the Web-to-SMS service

Password

Password for the login on the Web-to-SMS service

API string

The API command line, compiled in accordance with the documentation of the Web-to-SMS service

...

API command line usually may look like this: http://smscomp.org/system/send.php?login=user_500&pass=qwerty&phones=89563214458&text=simple_message.

You can use this API line as is, but it’s more convenient to replace the fields in the API line with macros, and then the parameters can be set from the web interface. Then the API line will look like this (macro highlighted in red): http://smscomp.org/system/send.php?login=$LOGIN$&pass=$PASSWORD$&phones=$PHONES$&text=$MESSAGE$.

...