JVA SMS Gateway User Manual
7
Querying the GSM signal
The GSM status of the unit can be requested by issuing a
gsm
command. The unit will reply with
signal strength from 1 to 30, and the firmware version.
Report List
The unit can store up to 10 phone numbers which it will SMS if a device goes into alarm or an input
changes. This list is configured and maintained using the
add
and
remove
commands. You can
retrieve the current list of numbers using the
numbers
command.
Issuing an
add
command with no further parameters will add the sending number to the report list.
Issuing an
add
command, followed by a valid number, will add the supplied number to the report list.
Numbers can be in either the national format, eg 0412 345 6789, or international dialling format, eg
+61 412 345 6789. International format is recommended, as this reduces the chance of adding
duplicate numbers to the list. If this were to happen, that number would receive two messages each
time an SMS is broadcast. After successfully adding a number the unit will reply with a confirmation
message.
Numbers can be removed by issuing the
remove
command. If no parameter is supplied, the sending
number is removed. If the parameter is supplied it can be either the number you wish to remove, or
the position of the number in the report list. If entering a number, it must be in the same format as it
is stored in the list. After successfully removing a number the unit will issue a confirmation message.
Controlling Energisers and Outputs
The unit can turn all energisers on (arm) or off (disarm) by issuing the
on
or
off
commands. When
arming, the unit will arm in high power only, and arm both channels of any dual channel energisers.
When the unit has confirmed the new arm state it will reply to the sender with a confirmation
message, or a message indicating it was unable to control all devices (in the case of a device being
offline).
The unit has two relays than can be turned on or off. Issue an
output1
or
output2
command with
the parameter
on
or
off
. Note there is no space between “output” and the number “1” or “2”. The
unit will reply with a confirmation message.
Alerting users
The unit monitors the connected energisers and will send a SMS to everyone on the report list if the
following things occur:
A fence alarm occurs, usually due to a short on the fence
An energiser stops communicating
An input changes
If multiple energisers report changes at the same time, the unit will send one SMS for each change.