Files
ha-frigate/config.yaml
tonym d56f021fd8 Initial Frigate config with GPU detection
- Amcrest AD110 doorbell setup with go2rtc restreaming
- ONNX GPU detection using YOLOv9-s model on RTX 3060
- Auto day/night mode for IR switching
- CLAUDE.md with full setup documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 01:11:16 -06:00

79 lines
1.4 KiB
YAML

version: 0.16.1
mqtt:
host: 192.168.0.205
port: 1883
user: tonym
password: "tbhXM3131!"
topic_prefix: frigate
go2rtc:
streams:
front:
- rtsp://admin:tbhXM3131!@192.168.0.118:554/cam/realmonitor?channel=1&subtype=0
front_sub:
- rtsp://admin:tbhXM3131!@192.168.0.118:554/cam/realmonitor?channel=1&subtype=1
ffmpeg:
hwaccel_args: preset-nvidia
detectors:
onnx:
type: onnx
model:
path: /config/model_cache/yolov9-s-640.onnx
input_tensor: nchw
input_pixel_format: rgb
width: 640
height: 640
model_type: yolo-generic
input_dtype: float
objects:
track:
- person
birdseye:
enabled: false
cameras:
front:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_sub
input_args: preset-rtsp-restream
roles: [detect]
- path: rtsp://127.0.0.1:8554/front
input_args: preset-rtsp-restream
roles: [record]
detect:
enabled: true
width: 640
height: 480
fps: 5
motion:
threshold: 30
contour_area: 10
improve_contrast: true
snapshots:
enabled: true
timestamp: true
bounding_box: true
record:
enabled: true
retain:
days: 5
mode: motion
objects:
filters:
person:
min_area: 2000
max_area: 100000
min_score: 0.65
threshold: 0.5
min_ratio: 0.3
max_ratio: 10
track:
- person