©2011 IQtronic, Ltd
Page 22 of 34
Defining phone number where to send power alarm alerts
Command
PWRALARMNUMBER
allows to specify the phone number, where will
be sent alerts in case of Power lost alarm events.
Following table summarizes its usage:
SMS Command
Description
SMS Response
Type
PWRALARMNUMBER
+420123456789
Define number for sending
Power lost alarm SMS
alerts.
PWRALARMNUMBER
+420123456789
- OK
Cfg
PWRALARMNUMBER?
Get current value of
PWRALARMNUMBER.
PWRALARMNUMBER
=420123456789
Cfg
SMS alarm alerts
IQsocket IQSW-GSML allows you to customize format of SMS alerts that are
sent when power lost alarms occur.
Alerts are having following content:
GSM Socket: PWR failed!
GSM Socket: PWR restored!
Where text “GSM Socket” can be customized by user via
DEVICENAME
command:
SMS Command
Description
SMS Response
Type
DEVICENAME=my cottage
Set device name to value
”my cottage”. Custom
name can be up to 15
characters long.
DEVICENAME=my cottage
-OK
Cfg
DEVICENAME?
Get current settings of
device name
DEVICENAME=my cottage Cfg
Power lost event log
Up to 5 (five) last Power lost alarm events are stored in internal event log.
Oldest record is then rewritten by the actual one. Events are recorded
automatically when date/time is successfully obtained from the GSM network;
other settings don‟t have influence to events recording process.
SMS Command
Description
SMS Response
Type
SHOWPWRLOG
Get all stored power lost
events.
No record
Ctrl