Files
homelabstack/stacks/cameras/frigate/config.yml
T
ginnoirandClaude Opus 5.5 abf17cbf24 feat(cameras): 24/7 recording (7 d) + 30 d event clips; pin frigate to 6 CPUs
The UI on-demand toggle was rejected because record.enabled was false in config.
OpenVINO used ~6.5 cores with all 52 threads visible; cpuset 0-5 brings frigate to ~1.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 03:05:32 -05:00

88 lines
1.9 KiB
YAML

# Seeded to /config/frigate/config.yml on valhalla. Frigate 0.17.2 schema.
# Caddy terminates TLS + Authentik forward_auth in front of :8971.
# E1 via neolink: main 2560x1440@30 h264, sub 640x360@20 h264 (probed 2026-10-08).
mqtt:
enabled: false
tls:
enabled: false
auth:
enabled: false
proxy:
separator: "|"
header_map:
user: x-authentik-username
default_role: admin
detectors:
ov:
type: openvino
device: CPU
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
path: /openvino-model/ssdlite_mobilenet_v2.xml
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
go2rtc:
streams:
e1:
- rtsp://neolink:8554/e1/mainStream
e1_sub:
- rtsp://neolink:8554/e1/subStream
# Recordings → /media/frigate/recordings = /storage1/labdata/frigate/recordings.
# Main stream 24/7 ≈ 4.2 Mbps ≈ 44 GB/day (measured 2026-10-08) → ~310 GB rolling at 7 d.
# Alert/detection clips (person/dog/cat) kept 30 d beyond that.
record:
enabled: true
continuous:
days: 7
alerts:
retain:
days: 30
mode: motion
detections:
retain:
days: 30
mode: motion
snapshots:
enabled: true
bounding_box: true
retain:
default: 30
objects:
track: [person, dog, cat]
cameras:
e1:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/e1_sub
input_args: preset-rtsp-restream
roles: [detect]
# Record full res. E1 audio is pcm_s16be, which mp4 can't carry → transcode to AAC.
- path: rtsp://127.0.0.1:8554/e1
input_args: preset-rtsp-restream
roles: [record]
output_args:
record: preset-record-generic-audio-aac
detect:
# Frigate >=0.14 defaults detect.enabled to false — without this nothing is detected.
enabled: true
width: 640
height: 360
fps: 5
live:
streams:
Main: e1
Sub: e1_sub
version: 0.17-0