pwr geofence lat lon rad mode
Configure the CTM-200 gateway to wake up based on a geofence.
lat | center point latitude in deg (-90.0 - 90.0) (default 0)
|
lon | center point longitude in deg (-180.0 - 180.0) (default 0)
|
rad = 0 | Disabled (default)
|
rad = 1 to 65535 | boundary radius (m)
|
mode = 0 | Wake up once the fence is exited (default)
|
mode = 1 | Wake up once the fence is entered
|
mode = 2 | Wake up once the fence is entered or exited (crossed)
|
Notes:
- If the wake event is TRUE when the gateway enters minimum power mode, it needs to reach a FALSE state and then TRUE again before waking the gateway.
- For example, if cmd pwr geofence 49.256548 -122.996718 500 0 is set, then the gateway needs to be outside the 500m radius first and then within the radius to trigger it to wake.
Examples:
- Wake the gateway if it is moved more than 500m away from the specified location :
cmd pwr geofence 49.256548 -122.996718 500 0
- Wake the gateway if it is within 1km of the specified location :
cmd pwr geofence 49.256548 -122.996718 1000 1
- Wake the gateway if it crosses the 1500m radius boundary of the specified location :
cmd pwr geofence 49.256548 -122.996718 1500 2
See also: Power Management
Available in firmware revision 2.0.1.2221 and later