Initial scaffold: React+TS+Vite frontend, FastAPI backend, config system
This commit is contained in:
46
config.example.yaml
Normal file
46
config.example.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user