--- title: "Frigate NVR" category: systems tags: [frigate, nvr, camera, ai, mqtt, proxmox] created: "2026-09-27" modified: "2026-09-27" --- # Frigate NVR > Frigate v0.18.0 auf Proxmox LXC CT151. KI-gestützte Objekterkennung für Kameras Einfahrt + Terrasse. ## Infrastruktur - **Container:** CT151 auf proxmox6 - **IP:** `10.0.30.104:5000` - **Version:** v0.18.0- - **Detector:** OpenVINO CPU (3.2 FPS) - **go2rtc:** v1.9.14 - **GPU:** Intel iGPU `/dev/dri/renderD128` (gid=993) ## Kameras | Name | IP | Substream | Detect FPS | |------|----|-----------|------------| | Einfahrt | `10.0.50.102` | Unterstream | 5.1 fps, 1.0 det | | Terrasse | `10.0.50.103` | Unterstream | 5.0 fps, 2.2 det | ## MQTT - **Broker:** `10.0.30.10:1883` (Mosquitto auf HA) - **Prefix:** `frigate` - **User:** `frigate` - **Topic:** `frigate/events` ## Frigate Plus Model - `plus://709bb8ad097786a7f2a37e27684c79a9` - Benötigt `PLUS_API_KEY` (Env-Var in `/config/frigate.env`) ## Features - Face Recognition (groß): Sarah, Dominik, DHL1, Amazon1, Cleo, Lisa, Annemarie, Marcel Schnitzer, Uli, Eva, Postbote, Fr. Schnitzer - License Plate Recognition (CPU, threshold 0.5) - Semantic Search (groß) - Record: alerts+detections, retain 30 days ## HA Automation - **ID:** `1714065780832` in `/config/automations.yaml` - **v3 (2026-10-10):** Trigger = `frigate/reviews` (severity alert, OHNE Zonen), KI-Gate (noris gemma) VOR Push, bekannte Gesichter (Sarah/Dominik) unterdrückt, 300s Kamera-Cooldown + Review-ID-Dedup, GENAU EIN kombinierter Push. Fail-safe: KI-Fehler oder nachts Person → Push trotzdem. - **Dedup:** `input_text.frigate_last_event_id` = `cam;epoch;review_id;KI-Verdict` (auch diagnostisch lesbar) - **Flow:** MQTT review-alert → 12s delay → snapshot → llmvision.image_analyzer (KRITISCH/NORMAL) → Push-Gate → 1 Push - **Push-Policy:** KRITISCH ∨ KI-Fail ∨ **Person (24/7)**. Sonst Stille. (v3.1: Person-Push nicht mehr auf 23–5h begrenzt) - **Lesson:** `frigate/events` = Raw-Feed (Spam), `frigate/reviews` = kuratiert. Nie wieder auf Raw triggern. - **Zombies:** `frigate_garten`, `ai_event_summary`, `ai_event_summary_v1_4_1` sind Registry-Ghosts (bereits aus yaml entfernt, `unavailable`) - **Old (v2):** Mode `single`, cooldown 600s, Dedup camera_label (Ping-Pong-Lücke), 2 Pushes/Event, KI nach Push ## Bekannte Issues - Stationäre Autos triggerten wiederholt "new" Events → Flood → gefixt mit cooldown+dedup - MQTT ACL blockierte HA-Subscription (User `opendtu` hatte keine Subscribe-Rechte) → gefixt - v0.18 Breaking Changes: `clean_copy` entfernt, `license_plate.mask` Format geändert (list→dict) ## Old Container - CT120 (frigate): **zerstört ~02.10.** — ACHTUNG: `vzdestroy:120` löschte `hdd_disk:vm-120-disk-1`, das CT151s mp0 noch referenzierte (Shared-Volume-Falle!). CT151 lief blind weiter, crashte erst beim Reboot 10.10. → mp0 neu als `hdd_disk:vm-151-disk-1` (50G, leer, mkfs.ext4). Historische Sept.-Aufnahmen im PBS-Backup 30.09. (mp0 enthalten). Aufnahmen laufen auf das ROOTFS `/media/frigate` (69% belegt — Wachstum beobachten), nicht aufs mp0. ## Reboot-Recovery 2026-10-10 - osd.7 (p7) + osd.10 (p6): stale Keyrings nach Rotation → Permission-denied-Crashloop beim Reboot, kurzzeitig `out` (105 inactive PGs). Gefixt via `ceph auth get` + Keyring-Replace + `systemctl reset-failed` (Startratelimit-Pitfall!). Danach 17/17 up+in, 533 PGs clean. Voll-Sweep: alle 17 Keyrings MATCH. Siehe PAT-016. - CT117 (immich-postgresql): stale vzdump-Lock (04.08.) entfernt; Inhalt LEER (kein Postgres — Prod über CNPG) → gestoppt, onboot=0. Kandidat für Dekommission. - HA-Failover während Downtime: VM301→proxmox5, VM310→proxmox4 (affinity-konform, belassen). ## Related - [[systems/homeassistant]] — MQTT, Automations, Notifications - [[systems/noris-ai]] — LLM Vision für Event-Klassifizierung - [[entities/infrastructure]] — CT151 auf proxmox6 - [[patterns/ceph-osd-keyring-rotation-reboot]] — PAT-016