get_protect_event_summary
Aggregate UniFi Protect event counts by type and camera activity over a configurable lookback window to get a high-level tally.
Instructions
Summarize all Protect events (motion, smart detections, doorbell) over a window.
Read-only operation: it aggregates event counts by type and camera activity for the lookback window on the targeted console. Requires Protect username/password credentials configured for the console. Use this for a single high-level tally; use get_motion_events or get_smart_detections for the underlying event records, or get_recent_protect_activity for the latest raw events.
Args: hours: Lookback window in hours from now (default 24). device: Optional Protect console name to target a specific UniFi Protect device; omit to use the first Protect-enabled device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Lookback window in hours from now (default 24). | |
| device | No | Optional Protect console name to target a specific UniFi Protect device; omit to use the first Protect-enabled device. |