Files
camera-viewer/config.example.yaml

47 lines
1007 B
YAML

# Camera Viewer Configuration
# Copy this file to config.yaml and customize for your setup
title: "Camera Viewer"
# go2rtc server for WebRTC/MSE streaming
go2rtc:
url: "http://your-go2rtc-host:1985"
# Frigate NVR (optional, for snapshots)
frigate:
url: "http://your-frigate-host:5000"
# MQTT broker (optional, for person detection alerts)
mqtt:
host: "your-mqtt-host"
port: 1883
topic_prefix: "frigate"
username: ""
password: ""
# Camera list — names must match go2rtc stream names
cameras:
- name: camera1
display_name: "Camera 1"
enabled: true
order: 0
- name: camera2
display_name: "Camera 2"
enabled: true
order: 1
# Alert settings (requires MQTT)
alerts:
enabled: false
auto_dismiss_seconds: 30
suppression_seconds: 60
cameras: [] # empty = all cameras
detection_types:
- "person"
# Grid layout
grid:
columns: null # null = auto based on camera count
aspect_ratio: "16:9"
gap: 4 # gap in pixels