Skip to content

Geofence entry and exit

Geofence entry and exit rules trigger when a tag crosses the boundary of a zone. Entering a zone drawn inside it, such as a room, counts as being inside.

How it works

Geofence entry and exit: tag crossing a zone boundary

  • Geofence entry triggers when a tag transitions from outside to inside a location.
  • Geofence exit triggers when a tag transitions from inside to outside a location.

You can optionally set a minimum duration; the tag must stay inside (or outside) for a specified time before the rule triggers.

Parameters

Parameter Type Required Default Description
location_id string Yes — Zone to monitor
min_duration_seconds integer No 0 Minimum time before triggering

You can also use zone_tags instead of location_id to target all zones with a specific tag.

Example: zone entry alert

A rule that triggers when any tag enters the goods-in warehouse (a zone drawn around the building, with anchors placed inside it):

  • Rule type: geofence_entry
  • Location: zone_goods_in
  • Severity: High

Example: zone exit alert

A rule that triggers when a tag leaves the office campus (a zone drawn on the map):

  • Rule type: geofence_exit
  • Location: zone_office_campus
  • Min duration: 60 seconds (avoids false triggers from GPS drift at the boundary)

Questions? Contact Blecon support — we're happy to help.