gsm-r5-zas_user_manual en v2-06
strana 2 / 5
8.
Control
8.1
Ring control
GSM relay
5
comes from the manufacturer set to turn on the socket for a pre-set time.
This can be used, for example, to switch the heaters on. Since the factory default is 4
seconds, it is best to change it with SMS, for example, in the form of
1234 PULSE
14400
. To test this feature call
GSM relay
5
from your telephone (The number must
be in the list).
GSM relay
5
rejects the call, and at the same time ensures that the
socket is switched on for 14400 seconds (i.e. 4 hours).
8.2
Control with SMS Messages
GSM relay
5
is controlled with SMS messages from GSM network. SMS must be in the
form:
PASSWORD space COMMAND space COMMAND .....
Commands are separated by a space and are not case sensitive.
Password
Password is the main security element in control of
GSM relay
5
. SMS with commands
will be accepted from anyone who knows the password. The password is a string of
digits (it can be any length from 1 to 20), Which the SMS message must contain, or
else it’s ignored
. Because the text before the password is ignored, SMS messages can
also be sent from the SMS gateways. We recommend changing the password to
something different. Password can be changed either through SeaConfigurator or with
SMS message.
Default password is:
1234
Command
This part of the message defines the desired action of the device. Multiple commands
separated by a space can be inserted into one SMS message.
The command can consist of multiple parts. For example, when it comes to output, it
consists of its name
„
Y2
“
and an action (e.g. ON, OFF, etc.). If the naming of the output
is not specified, the output with the lowest sequence number is used (for the
GSM
relay
5
it is the socket). The
ON
and
Y2 ON
commands are therefore equivalent.
In addition, a parameter (e.g. pulse length, required temperature, etc.) may be given
behind the command. There must be space between the command and its parameter.
Most used commands (more in chapter “
L
ist of commands“)
Examples:
1234 ON
…
Turns the socket ON (output Y2)
1234 OFF
…Turns the socket OFF (output Y2)
1234 TEMP 20
…Sets the desired temperature to 20 ° C
1234 PULSE 43200
…Turns the socket ON
and after 12 hours (=43200 seconds) will
turn the socket back OFF.
Note : if there was ongoing regulation it will be resumed after the period ends.
1234 RESET 43200
…
Turns the socket OFF and after 12 hours (=43200 seconds)
will turn the socket back ON
Confirmation
If
control message contains valid password,
GSM relay
5
will respond with message
about success or fail of requested action. If this behavior is not desired, it is possible to
disable the reply with
NOBACK
command.
Example:
1234 ON NOBACK
…
GSM relay
5
will
turn the socket on, but won’t send any
confirmation message
8.3
Attached report status
If you send a command containing a valid password, GSM relay5 will always respond to
the execution of the command.
Example:
1234 ON
If it is not disabled the STATE message will be appended to the message about
execution. State message contains following information:
Note: If any input or output is disabled (by SMS or by
SeaConfigurator), it won’t be
mentioned in STATE message.
8.4
Macros
Built-in macros with variables
You can use macros listed in the macro list in the event text. These macros are used
when you want to create your own status message. In this case, be sure to cancel the
„
state message reply
“
option in the
„
General Settings
“
section.
Examples:
SMS with
text: „
Temperature is low,
[Y2].“
Will be sent
as „
Temperature is low,
Y
2=ZAP.“
SMS with text
„
output is ON([A1N] is
[A1V]).“
Will be sent as
„
output is ON
(
TEMPERATURE is 18,1 °C).“,
where
„
input name
“ A1
is TEMPERATURE and
„
units
“
are
in
°
C.
Macros in incoming SMS
If you need to simplify a regular repeating command or a summary of commands
(including even the parameters), create a macro. For example, create a macro:
„
FIRE
“
with text
„
Y2 TEMP
25“.
If you then send an SMS with the text
„
FIRE
“
, output Y2 (OUT)
will be regulated by the temp. Sensors at 25 ° C
.
Macros in sent SMS
For example, you can define the macro
„
N1
“
with the text
„
My Station is Best in the
World
“
to help you work on creating text in sent SMS. Then just use the text
„
[N1]
“
in
the outgoing SMS.
Note.: Macros must always be in square brackets
8.5
Control through the application
SeaControl
for OS android
For control and monitoring of
GSM relay
5
it’s possible to use application for device
with OS Android, which is available for FREE. In your smartphone start Google Play and
Command
Parameter
Meaning
Y2 ON
-
Turns the socket ON (output Y2).
ON
-
If sent without parameters, the socket will be turned ON
(output Y2).
Y2 OFF
-
Turns OFF Y2 (socket).
OFF
-
Turns the socket OFF (output Y2).
Y2 PULSE
Y2 RESET
0 to
999999
Parameter is in seconds.
Pulse command will switch the socket temporarily ON.
Reset will switch the socket OFF for period of time
PULSE
RESET
It will make a pulse or a reset for the same period as
previous command. Factory default is 4 seconds.
TEMP
0 to 55
Sets the desired temperature for regulation. Value is in
°C.
STATE
-
Request for message with information about state of
outputs, inputs signal strength and remaining credit.
STATE message example
Info explanation
GSM RELAY5: VYP ACCEPTED
Command confirmation: outlet (Y2) will be
turned off.
outlet=OFF
State of outlet (Y2)...OFF.
Temperature=28'C
Current temperature of sensor A1.
Power=Powered
State of power(from battery or from source).
sig=58%
State of GSM signal is 58%.
Okomentoval(a): [MV1]:
Tady se skončilo