Movement detection
Movement detection triggers when a device moves away from a location where it should be staying.
How it works
You define an expected location and an optional time window. If the device was inside the expected location but is now outside it during the monitoring period, the rule triggers.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
expected_location_id |
string | Conditional | — | Where the device should stay. Use this or zone_tags. |
zone_tags |
array | Conditional | — | Match zones with any of these tags |
check_hours |
string | No | All hours | Time window to monitor (e.g., "22:00-06:00") |
timezone |
string | No | UTC | Timezone for time window |
min_movement_distance_meters |
integer | No | 0 | Minimum distance moved to trigger |
Example: overnight security
Alert when equipment moves from the parking lot during night hours:
- Expected location:
zone_parking_lot - Check hours: 22:00–06:00
- Timezone: Europe/London
- Severity: Critical
- Apply to: Specific device IDs (forklifts)