Geofence Triggers β
Added in 4.0
Define geographic zones and have MeshMonitor act automatically when nodes enter, exit, or dwell inside them β arrival alerts, asset-tracking, proximity pings, or any scripted response.
What's a Geofence Trigger? β
A geofence is a circular or polygonal region on the map. A trigger pairs that region with an event and an action:
| Event | Fires when⦠|
|---|---|
enter | A tracked node moves from outside the fence to inside |
exit | A tracked node moves from inside to outside |
dwell | A tracked node remains inside longer than the dwell threshold |
Each trigger runs an action β send a channel message, send a DM, run an auto-responder script, send a push notification, or post to an Apprise URL.
Creating a geofence β
- Open Settings β Automation β Geofence Triggers
- Click Add geofence
- Drop a circle (centre + radius) or draw a polygon on the map
- Name it and save
The geofence appears on the main map as a translucent overlay (colour-coded by the map overlay colour palette).
Building a trigger β
- Pick the geofence
- Choose which nodes it applies to β a single node, a tag group, or any
- Choose the event (
enter,exit,dwell) and β fordwellβ the dwell duration - Pick an action:
- Channel message β broadcast on a specific channel
- Direct message β DM a specific node
- Auto-Responder script β runs your custom Python/Bash/JS script with context in environment variables
- Push / Apprise β notify humans instead of nodes
- Optional: throttle / cooldown per node to avoid bounce
Common patterns β
| Scenario | Setup |
|---|---|
| "Kid got home" | Single-node enter-trigger on home fence β push notification |
| Asset tracking | Any-node enter/exit on warehouse fence β channel message |
| Event perimeter | Dwell-trigger (5 min) on event fence β DM organizer |
| Safety zone | Exit-trigger on coverage fence β Apprise to on-call |
Related β
- Automation Overview
- Auto-Responder Scripting β custom actions
- Per-Source Permissions β who can edit geofences