Add label whitelist to filter detection types

DETECTION_LABELS env var accepts comma-separated list (e.g. "person,cat,dog").
Only matching detections are reported; others are ignored. Empty = report all.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alex
2026-02-08 19:08:31 -06:00
parent b92c2064cd
commit 1bcf32889f
4 changed files with 17 additions and 0 deletions

View File

@@ -60,6 +60,9 @@ DETECTION_CONFIDENCE=0.5
# Set to false to keep reporting all motion events
DETECTION_SUPPRESS_EMPTY=true
# Only report these object types (comma-separated, empty = all)
DETECTION_LABELS=person,cat,dog
# ============ Event Collector ============
# URL to POST motion events to (collector on Mac mini)