6086ed3cc0
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)
12 lines
391 B
Bash
12 lines
391 B
Bash
# 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
|