Fix Frigate parked car re-detection and enable writable config #193

Merged
eblume merged 3 commits from frigate-stationary-fix into main 2026-02-15 17:48:15 -08:00
Owner

Summary

  • Remove car-specific max_frames: 150 which was causing a forget-and-re-detect loop on parked cars (every ~30 seconds at 5fps)
  • Set stationary.interval: 0 so Frigate never re-runs detection on stationary objects
  • Replace read-only configmap subPath mount with initContainer + emptyDir, so Frigate UI changes (zones, masks) persist at runtime

Context

Frigate was spamming notifications because max_frames for cars caused it to "forget" a parked car after 150 frames, then immediately re-detect it as a brand new object. The fix follows Frigate's official parked cars guide.

The writable config change also unblocks using required_zones for car alerts — zones can now be drawn in the Frigate UI and will survive until pod reschedule (at which point they should be baked into the configmap via IaC).

Test plan

  • Sync frigate app via ArgoCD and verify pod starts with initContainer
  • Confirm parked cars no longer trigger repeated alerts
  • Draw a zone/mask in Frigate UI, save, verify it persists after Frigate restart
  • Set up driveway_entrance required zone for car alerts

🤖 Generated with Claude Code

## Summary - Remove car-specific `max_frames: 150` which was causing a forget-and-re-detect loop on parked cars (every ~30 seconds at 5fps) - Set `stationary.interval: 0` so Frigate never re-runs detection on stationary objects - Replace read-only configmap subPath mount with initContainer + emptyDir, so Frigate UI changes (zones, masks) persist at runtime ## Context Frigate was spamming notifications because `max_frames` for cars caused it to "forget" a parked car after 150 frames, then immediately re-detect it as a brand new object. The fix follows [Frigate's official parked cars guide](https://docs.frigate.video/guides/parked_cars/). The writable config change also unblocks using `required_zones` for car alerts — zones can now be drawn in the Frigate UI and will survive until pod reschedule (at which point they should be baked into the configmap via IaC). ## Test plan - [ ] Sync frigate app via ArgoCD and verify pod starts with initContainer - [ ] Confirm parked cars no longer trigger repeated alerts - [ ] Draw a zone/mask in Frigate UI, save, verify it persists after Frigate restart - [ ] Set up `driveway_entrance` required zone for car alerts 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Remove car-specific max_frames (was causing forget-and-re-detect loop)
and set stationary interval to 0. Use initContainer to copy configmap
into writable emptyDir so UI changes (zones, masks) persist at runtime.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Keep interval at default (50) rather than 0 — the primary fix is
removing car max_frames, not changing the re-check interval.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bake UI-drawn zone coordinates and timestamp motion mask into IaC.
Restrict car/person/dog alerts to only fire when objects pass through
the driveway entrance zone.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
eblume merged commit 7ffbd12ac8 into main 2026-02-15 17:48:15 -08:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
eblume/blumeops!193
No description provided.