Services
Location information
LR54 User Guide
649
This defines a square-shaped polygon equivalent to the following:
7. Define actions to be taken when the device's location triggers a geofence event:
n
To define actions that will be taken when the device enters the geofence, or is inside
the geofence when it boots:
a. Click to expand
On entry
.
b. (Optional) Enable
Bootup action
to configure the device to perform the
On entry
actions if the device is inside the geofence when it boots.
c. For
Number of intervals
, type or select the number of
that must
take place prior to performing the
On entry
actions.
For example, if the
Update interval
is
1m
(one minute) and the
Number of
intervals
is
3
, the
On entry
actions will not be performed until the device has been
inside the geofence for three minutes.
d. Click to expand
Actions
.
e. Click
to create a new action.
f. For Action type, select either:
l
Factory erase
to erase the device configuration when the action is triggered.
l
Custom script
to execute a custom script when the action is triggered.
If
Custom script
is selected:
i. Click to expand
Custom script
.
ii. For
Commands
, type the script that will be executed when the action is
triggered. If the script begins with
#!
, then the proceeding file path will be used
to invoke the script interpreter. If not, then the default shell will be used.
iii. Enable
Log script output
to log the output of the script to the