14. APPLICATION EXAMPLES
14.1. Example 1: Periodic message
In this example we discuss the use of periodic messages to ensure that your Micro Commander
produces a billable event on the network on a regular basis. If you use a prepaid SIM card, the
network will de-activate your SIM-card if it has not been used for some time (See Section 6.4).
We will create two behaviour statements, The first will send a free-of-charge “please call me”
message every day, to give you a confirmation that the unit is up and running. The second will send
a Status SMS to your cellphone once a week to ensure that the SIM-card remains active on the
network. (The status message also gives you the total airtime remaining)
Configuration:
Using the setup software, we create a behaviour statement that will read as follows:
IF
Date / Time is 12:00
THEN
Send “Please call me” to +27821231234
A second behaviour statement is created, that reads:
IF
Date / Time is 8:00 On every Monday
THEN
Send Status Message to +27821231234
The Micro Commander could also be configured to only execute an action during a specific date
range. A time constraint could also be assigned to any trigger condition.
14.2. Example 2: Monitor alarm
In this example we need to monitor an alarm system, and in the case of an alarm, the Micro
Commander must make a voice call and send a message to one or more numbers.
Hardware:
We connect the alarm output (12V signal that drives the siren) to one of our inputs as described in
section 5.8. The positive wire from the alarm panel is connected to the +IN terminal, and the
negative wire is connected to -IN.
Configuration:
Using the setup software, we create a behaviour statement that will read as follows:
IF
Input 1 Goes Active
THEN
Place voice call to +27821231234
We create a second behaviour statement that will read as follows:
IF
Input 1 Goes Active
THEN
Send “Alarm triggered!” via SMS to +27821231234; +27843214321
The first statement will cause a voice call to be placed to +27821231234 in the event of an alarm.
The second statement will cause a notification SMS to be sent to both +27821231234 and
+27843214321.
This is an example of how the Micro Commander can have multiple actions triggered by a single
event (in this case, an input becoming active). Note that the voice call will not “say” anything when
the call is answered.
One will typically use Caller ID to identify the Micro Commander number, and this will be enough to
let you know that there is something wrong at home.
© Polygon Technologies. All rights reserved
Page 31