From 5ad81dda325a0de1206ea7a62a167b02e23f5a94 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Sun, 15 Feb 2026 17:32:07 -0800 Subject: [PATCH 1/3] Fix Frigate parked car re-detection and enable writable config 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 --- argocd/manifests/frigate/configmap.yaml | 3 +-- argocd/manifests/frigate/deployment.yaml | 16 +++++++++++++--- .../changelog.d/frigate-stationary-fix.bugfix.md | 1 + 3 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 docs/changelog.d/frigate-stationary-fix.bugfix.md diff --git a/argocd/manifests/frigate/configmap.yaml b/argocd/manifests/frigate/configmap.yaml index 629f8ee..d07989d 100644 --- a/argocd/manifests/frigate/configmap.yaml +++ b/argocd/manifests/frigate/configmap.yaml @@ -31,10 +31,9 @@ data: detect: enabled: true stationary: + interval: 0 max_frames: default: 1500 - objects: - car: 150 objects: track: [person, car, dog, cat, bird] diff --git a/argocd/manifests/frigate/deployment.yaml b/argocd/manifests/frigate/deployment.yaml index 34c50ef..9310a50 100644 --- a/argocd/manifests/frigate/deployment.yaml +++ b/argocd/manifests/frigate/deployment.yaml @@ -14,6 +14,15 @@ spec: labels: app: frigate spec: + initContainers: + - name: copy-config + image: busybox:1.37 + command: ["cp", "/config-ro/config.yml", "/config/config.yml"] + volumeMounts: + - name: config-ro + mountPath: /config-ro + - name: config + mountPath: /config containers: - name: frigate image: ghcr.io/blakeblackshear/frigate:0.16.4-standard-arm64 @@ -37,8 +46,7 @@ spec: key: password volumeMounts: - name: config - mountPath: /config/config.yml - subPath: config.yml + mountPath: /config - name: recordings mountPath: /media/frigate - name: database @@ -65,9 +73,11 @@ spec: initialDelaySeconds: 15 periodSeconds: 10 volumes: - - name: config + - name: config-ro configMap: name: frigate-config + - name: config + emptyDir: {} - name: recordings persistentVolumeClaim: claimName: frigate-recordings diff --git a/docs/changelog.d/frigate-stationary-fix.bugfix.md b/docs/changelog.d/frigate-stationary-fix.bugfix.md new file mode 100644 index 0000000..2010cda --- /dev/null +++ b/docs/changelog.d/frigate-stationary-fix.bugfix.md @@ -0,0 +1 @@ +Fix Frigate repeatedly alerting on parked cars by removing per-object max_frames and setting stationary interval to 0. Make Frigate config writable so UI changes (zones, masks) persist within a pod lifecycle. -- 2.50.1 (Apple Git-155) From 132288d94fb8a1e8825b9990d65a272155233a63 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Sun, 15 Feb 2026 17:40:00 -0800 Subject: [PATCH 2/3] Revert stationary interval to default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- argocd/manifests/frigate/configmap.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/argocd/manifests/frigate/configmap.yaml b/argocd/manifests/frigate/configmap.yaml index d07989d..d20c5b2 100644 --- a/argocd/manifests/frigate/configmap.yaml +++ b/argocd/manifests/frigate/configmap.yaml @@ -31,7 +31,6 @@ data: detect: enabled: true stationary: - interval: 0 max_frames: default: 1500 objects: -- 2.50.1 (Apple Git-155) From f25f743fa2fadfd645684a9c96d9e6e9f330cc85 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Sun, 15 Feb 2026 17:44:28 -0800 Subject: [PATCH 3/3] Add driveway_entrance zone, motion mask, and required_zones for alerts 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 --- argocd/manifests/frigate/configmap.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/argocd/manifests/frigate/configmap.yaml b/argocd/manifests/frigate/configmap.yaml index d20c5b2..c038b8b 100644 --- a/argocd/manifests/frigate/configmap.yaml +++ b/argocd/manifests/frigate/configmap.yaml @@ -33,6 +33,17 @@ data: stationary: max_frames: default: 1500 + motion: + mask: + - 0.401,0.026,0.4,0.078,0.587,0.072,0.585,0.02 + zones: + driveway_entrance: + coordinates: 0.85,0.366,0.689,0.347,0.661,0.175,0.795,0.255 + objects: [car, dog, person] + review: + alerts: + required_zones: + - driveway_entrance objects: track: [person, car, dog, cat, bird] -- 2.50.1 (Apple Git-155)