feat: integrate recognition engine into MQTT event pipeline

- Recognition pipeline runs between snapshot fetch and notification
- Checks recognition_enabled setting before running CLIP matching
- Known objects with quiet/suppress action skip Matrix notifications
- Vision description uses configurable backend (haiku/ollama/both)
- docker-compose.yml adds CLIP/Ollama env vars and data volume

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-07 17:23:54 -06:00
parent 2df137ee2a
commit f5f688277f
3 changed files with 79 additions and 10 deletions
+2 -1
View File
@@ -13,8 +13,9 @@ _db_path: str = "/data/frigate-notify.db"
def set_db_path(path: str) -> None:
"""Set the database path. Must be called before any other database operations."""
"""Set the database path. Closes any existing connection first."""
global _db_path
close_connection()
_db_path = path