Initial commit: frigate-notify application

AI-powered video alert service that bridges Frigate NVR events to Matrix.
Listens to MQTT, uses Claude Haiku vision to analyze snapshots, and posts
annotated alerts to a Matrix room.

- app/main.py: MQTT subscriber and event orchestration loop
- app/vision.py: Claude Haiku vision analysis wrapper
- app/matrix_client.py: Matrix HTTP client for sending messages/images
- app/requirements.txt: Python dependencies
- Dockerfile: container image build definition
- docker-compose.yml: deployment configuration (host network, NAS mounts)
- .env.example: required environment variable template (copy to .env)
This commit is contained in:
Jeremy Hobbs
2026-03-07 14:30:57 -06:00
commit 6086ed3cc0
8 changed files with 470 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# Anthropic API key for Claude Vision (Haiku model)
# Get yours at: https://console.anthropic.com/
ANTHROPIC_API_KEY=sk-ant-...
# Matrix bot access token
# Create a dedicated Matrix bot account and generate an access token
MATRIX_ACCESS_TOKEN=syt_...
# Matrix room ID where video alerts will be posted
# Format: !roomid:homeserver.example.com
MATRIX_ROOM_ID=!roomid:homeserver.example.com