Commit Graph

7 Commits

Author SHA1 Message Date
1059850378 feat: add cold display alarm flow and labeled snapshots 2026-06-15 12:59:25 +08:00
46889c0621 feat: draw calibration overlay on alarm snapshots
Before JPEG encoding and OTA upload, paint the configured [[zones]]
polygons (yellow) and the [trash].roi (red) directly onto a copied
Frame.rgb so uploaded alarm snapshots visually carry the calibrated
regions. Normalized coordinates are clamped to image bounds, the source
frame stays untouched for downstream runtime processing, and
non-alert/disabled paths are unchanged. Adds stdlib-only polygon
fill/outline helpers plus focused unit tests.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-15 12:34:46 +08:00
45e2cf70f7 feat: enrich webhook payloads with downstream event table fields
Add missing fields (event_code, camera_ip, started_at, ended_at,
dwell_seconds, is_discarded, alerted_at, etc.) to both batch_event
and case_event payloads. Introduce source_id config for payload
injection and infer_camera_ip to extract IP from RTSP stream URL.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-10 17:04:58 +08:00
04729a0fd1 feat: upload alarm snapshots to webhook payloads 2026-06-09 13:01:15 +08:00
8f516fdc01 feat: add webhook retry queue 2026-06-09 11:32:34 +08:00
9d791be174 feat: add webhook case management 2026-06-09 11:13:56 +08:00
490b3089d2 docs: update agent workflow instructions 2026-06-04 15:58:04 +08:00