Versions Compared

Key

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

...

  • PIN code – PIN code of SIM card.  This field can be empty if PIN code is deactivated on SIM card; 

  • Phone of SMS center - the number of SMS center.   At connection the number is read from the SIM card.  After editing the changes are saved on SIM card;

  • List of allowed phone numbers - the list of numbers that are allowed to send SMS commands.  SMS commands from any other number will not be executed. The number must begin with a "+".

Image RemovedImage Added

To save the settings press "Save".  In order to avoid repeating the procedure every time you connect monitoring system, the settings should be saved in the flash memory of the system.  Press " Image RemovedImage Added " and then confirm.

...

After filling in the properties of notification , you must specify the event, at occurence of which SMS notification will be sent. To do this, go to "Logic schemes" menu >> press add button " Image RemovedImage Added " and specify the conditions for sending SMS notifications. 

...

 

#!/bin/bash
 
HOST=<IP or hostname EMS with GSM-modem, for example: http://telemetry.asia>
PASS='<your password>'
PLUS='%2B'
TOPHONE=''$PLUS'<your phone, for example: 421908xxxxxx>'
MESSAGE='<your message>'
 
curl -d 'epassword='$PASS'&querytype=send_sms_message&to_phone='$TOPHONE'&message='$MESSAGE'' $HOST/engine.htm

 

...

developer notes: linkchange