Auto-sync: 2026-10-10

This commit is contained in:
Dominik Schön
2026-10-10 22:00:06 +00:00
parent 36520a7851
commit 66a3e993ea
12 changed files with 429 additions and 30 deletions
+14 -6
View File
@@ -42,11 +42,13 @@ modified: "2026-09-27"
## HA Automation
- **ID:** `1714065780832` in `/config/automations.yaml`
- **Mode:** `single`, cooldown 600s
- **Dedup:** `input_text.frigate_last_event_id` speichert letzten Event
- **Flow:** MQTT trigger → 10s delay → snapshot → notify → LLM Vision (optional)
- **Labels:** person, car, license_plate, face, dog, cat, amazon, ups, package
- **Sublabel-Extraktion:** `sub[0]` (Jinja, Array-Leck-Fix)
- **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
@@ -54,9 +56,15 @@ modified: "2026-09-27"
- v0.18 Breaking Changes: `clean_copy` entfernt, `license_plate.mask` Format geändert (list→dict)
## Old Container
- CT120 (frigate): gestoppt, wartet auf Deletion
- 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