updated config

This commit is contained in:
Tobias Lehmann 2025-09-27 21:01:47 +02:00
parent c61d66403d
commit 38c25deb4c

View File

@ -1,6 +1,8 @@
logger: logger:
logs: logs:
frigate.record.maintainer: debug frigate.record.maintainer: debug
# Für Tests optional:
# frigate.motion: debug
mqtt: mqtt:
host: 192.168.150.150 host: 192.168.150.150
@ -9,11 +11,10 @@ mqtt:
topic_prefix: cctv topic_prefix: cctv
stats_interval: 60 stats_interval: 60
# Enable hardware accel for intel integrate graphic (12th gen core i7)
ffmpeg: ffmpeg:
# Intel iGPU (12th Gen) HW-Accel
hwaccel_args: preset-vaapi hwaccel_args: preset-vaapi
# Enable Coral USB detector
detectors: detectors:
coral: coral:
type: edgetpu type: edgetpu
@ -22,26 +23,32 @@ detectors:
detect: detect:
enabled: true enabled: true
# General records settings # --- Aufnahme / Speicherung ---
record: record:
enabled: true enabled: true
retain: retain:
mode: all mode: all
days: 7 # Keep 7 days for all motions days: 7
alerts: alerts:
retain: retain:
days: 28 days: 28
detections: detections:
retain: retain:
days: 28 days: 28
events: # Vor-/Nachlauf, damit nichts „zu spät“ startet
pre_capture: 5
post_capture: 10
retain:
default: 28
snapshots: snapshots:
enabled: true enabled: true
bounding_box: true bounding_box: true
timestamp: true timestamp: true
crop: true # auf Objekt zentrieren
retain: retain:
default: 28 default: 28
# Activate a survillance overview
birdseye: birdseye:
enabled: true enabled: true
mode: continuous mode: continuous
@ -50,7 +57,7 @@ birdseye:
height: 1080 height: 1080
quality: 8 quality: 8
# Which objects to track? # --- Objekt-Tracking global ---
objects: objects:
track: track:
- person - person
@ -59,6 +66,11 @@ objects:
- motorcycle - motorcycle
- cat - cat
- dog - dog
filters:
# „scharf“ für Personen: etwas niedrigere Scores, damit schnelle/verwaschene Personen nicht durchrutschen
person:
min_score: 0.42
threshold: 0.58
go2rtc: go2rtc:
rtsp: rtsp:
@ -113,7 +125,7 @@ go2rtc:
# https://docs.frigate.video/configuration/ffmpeg_presets/ # https://docs.frigate.video/configuration/ffmpeg_presets/
cameras: cameras:
# Doorbird front door # --- Doorbird front door ---
facade_door: facade_door:
enabled: true enabled: true
ffmpeg: ffmpeg:
@ -133,6 +145,11 @@ cameras:
height: 720 height: 720
fps: 5 fps: 5
# Front door camera (Dahua) # Front door camera (Dahua)
motion: # konservativ, aber nicht träge
threshold: 19
contour_area: 1300
# --- Front (Dahua IPC-4K Color) ---
facade_north: facade_north:
enabled: true enabled: true
ffmpeg: ffmpeg:
@ -141,16 +158,22 @@ cameras:
inputs: inputs:
- path: rtsp://127.0.0.1:8554/facade_north - path: rtsp://127.0.0.1:8554/facade_north
input_args: preset-rtsp-restream input_args: preset-rtsp-restream
roles: roles: [record]
- record
- path: rtsp://127.0.0.1:8554/facade_north_detect - path: rtsp://127.0.0.1:8554/facade_north_detect
input_args: preset-rtsp-restream input_args: preset-rtsp-restream
roles: roles: [detect]
- detect
detect: detect:
width: 1280 width: 1280
height: 720 height: 720
fps: 5 fps: 12
motion:
threshold: 19
contour_area: 1300
# Personen „scharf“ zusätzlich pro Kamera (falls nötig, sonst global reicht)
# objects:
# filters:
# person: {min_score: 0.42, threshold: 0.58}
facade_garden: facade_garden:
enabled: true enabled: true
ffmpeg: ffmpeg:
@ -159,21 +182,20 @@ cameras:
inputs: inputs:
- path: rtsp://127.0.0.1:8554/facade_garden - path: rtsp://127.0.0.1:8554/facade_garden
input_args: preset-rtsp-restream input_args: preset-rtsp-restream
roles: roles: [record]
- record
- path: rtsp://127.0.0.1:8554/facade_garden_detect - path: rtsp://127.0.0.1:8554/facade_garden_detect
input_args: preset-rtsp-restream input_args: preset-rtsp-restream
roles: roles: [detect]
- detect
objects: objects:
track: track: [person, cat, dog]
- person
- cat
- dog
detect: detect:
width: 1280 width: 1280
height: 720 height: 720
fps: 5 fps: 12
motion:
threshold: 19
contour_area: 1300
facade_east: facade_east:
enabled: true enabled: true
ffmpeg: ffmpeg:
@ -182,16 +204,18 @@ cameras:
inputs: inputs:
- path: rtsp://127.0.0.1:8554/facade_east - path: rtsp://127.0.0.1:8554/facade_east
input_args: preset-rtsp-restream input_args: preset-rtsp-restream
roles: roles: [record]
- record
- path: rtsp://127.0.0.1:8554/facade_east_detect - path: rtsp://127.0.0.1:8554/facade_east_detect
input_args: preset-rtsp-restream input_args: preset-rtsp-restream
roles: roles: [detect]
- detect
detect: detect:
width: 1280 width: 1280
height: 720 height: 720
fps: 5 fps: 12
motion:
threshold: 19
contour_area: 1300
facade_south: facade_south:
enabled: true enabled: true
ffmpeg: ffmpeg:
@ -200,16 +224,18 @@ cameras:
inputs: inputs:
- path: rtsp://127.0.0.1:8554/facade_south - path: rtsp://127.0.0.1:8554/facade_south
input_args: preset-rtsp-restream input_args: preset-rtsp-restream
roles: roles: [record]
- record
- path: rtsp://127.0.0.1:8554/facade_south_detect - path: rtsp://127.0.0.1:8554/facade_south_detect
input_args: preset-rtsp-restream input_args: preset-rtsp-restream
roles: roles: [detect]
- detect
detect: detect:
width: 1280 width: 1280
height: 720 height: 720
fps: 5 fps: 12
motion:
threshold: 19
contour_area: 1300
facade_west_2: facade_west_2:
enabled: true enabled: true
ffmpeg: ffmpeg:
@ -218,20 +244,22 @@ cameras:
inputs: inputs:
- path: rtsp://127.0.0.1:8554/facade_west_2 - path: rtsp://127.0.0.1:8554/facade_west_2
input_args: preset-rtsp-restream input_args: preset-rtsp-restream
roles: roles: [record]
- record
- path: rtsp://127.0.0.1:8554/facade_west_2_detect - path: rtsp://127.0.0.1:8554/facade_west_2_detect
input_args: preset-rtsp-restream input_args: preset-rtsp-restream
roles: roles: [detect]
- detect
detect: detect:
width: 1280 width: 1280
height: 720 height: 720
fps: 5 fps: 12
motion:
threshold: 19
contour_area: 1300
objects: objects:
filters: filters:
car: car:
mask: 0.287,0.011,0.136,0.07,0.067,0.315,0.299,0.275 mask: 0.287,0.011,0.136,0.07,0.067,0.315,0.299,0.275
facade_west: facade_west:
enabled: true enabled: true
ffmpeg: ffmpeg:
@ -240,70 +268,42 @@ cameras:
inputs: inputs:
- path: rtsp://127.0.0.1:8554/facade_west - path: rtsp://127.0.0.1:8554/facade_west
input_args: preset-rtsp-restream input_args: preset-rtsp-restream
roles: roles: [record]
- record
- path: rtsp://127.0.0.1:8554/facade_west_detect - path: rtsp://127.0.0.1:8554/facade_west_detect
input_args: preset-rtsp-restream input_args: preset-rtsp-restream
roles: roles: [detect]
- detect
detect: detect:
width: 1280 width: 1280
height: 720 height: 720
fps: 5 fps: 12
#bird: motion:
# enabled: true threshold: 19
# ffmpeg: contour_area: 1300
# output_args:
# record: preset-record-generic-audio-copy
# inputs:
# - path: rtsp://127.0.0.1:8554/bird
# input_args: preset-rtsp-restream
# roles:
# - record
# - path: rtsp://127.0.0.1:8554/bird_detect
# input_args: preset-rtsp-restream
# roles:
# - detect
# objects:
# track:
# - person
# - bicycle
# - car
# - motorcycle
# - cat
# - dog
# - horse
# - bird
# detect:
# width: 1280
# height: 720
# fps: 5
version: 0.16-0 version: 0.16-0
camera_groups: camera_groups:
important: important:
order: 2 order: 2
icon: LuSquare icon: LuSquare
cameras: cameras: [facade_garden, facade_north, facade_west_2, facade_south, facade_west]
- facade_garden
- facade_north
- facade_west_2
- facade_south
- facade_west
door: door:
order: 2 order: 2
icon: LuAlignHorizontalSpaceAround icon: LuAlignHorizontalSpaceAround
cameras: cameras: [facade_door]
- facade_door
- facade_north
semantic_search: semantic_search:
enabled: false enabled: false
model_size: small model_size: small
face_recognition: face_recognition:
enabled: true enabled: true
model_size: large model_size: large
detection_threshold: 0.9 detection_threshold: 0.9
lpr: lpr:
enabled: false enabled: false
classification: classification:
bird: bird:
enabled: false enabled: false