From 38c25deb4ca3a0e561dcbd1412911a52d8a0120e Mon Sep 17 00:00:00 2001 From: Tobias Lehmann Date: Sat, 27 Sep 2025 21:01:47 +0200 Subject: [PATCH] updated config --- files/frigate/frigate.conf | 156 ++++++++++++++++++------------------- 1 file changed, 78 insertions(+), 78 deletions(-) diff --git a/files/frigate/frigate.conf b/files/frigate/frigate.conf index 404aa3f..72e65c9 100644 --- a/files/frigate/frigate.conf +++ b/files/frigate/frigate.conf @@ -1,6 +1,8 @@ logger: logs: frigate.record.maintainer: debug + # Für Tests optional: + # frigate.motion: debug mqtt: host: 192.168.150.150 @@ -9,11 +11,10 @@ mqtt: topic_prefix: cctv stats_interval: 60 -# Enable hardware accel for intel integrate graphic (12th gen core i7) ffmpeg: + # Intel iGPU (12th Gen) HW-Accel hwaccel_args: preset-vaapi -# Enable Coral USB detector detectors: coral: type: edgetpu @@ -22,26 +23,32 @@ detectors: detect: enabled: true -# General records settings +# --- Aufnahme / Speicherung --- record: enabled: true retain: mode: all - days: 7 # Keep 7 days for all motions + days: 7 alerts: retain: days: 28 detections: retain: days: 28 + events: # Vor-/Nachlauf, damit nichts „zu spät“ startet + pre_capture: 5 + post_capture: 10 + retain: + default: 28 + snapshots: enabled: true bounding_box: true timestamp: true + crop: true # auf Objekt zentrieren retain: default: 28 -# Activate a survillance overview birdseye: enabled: true mode: continuous @@ -50,7 +57,7 @@ birdseye: height: 1080 quality: 8 -# Which objects to track? +# --- Objekt-Tracking global --- objects: track: - person @@ -59,6 +66,11 @@ objects: - motorcycle - cat - dog + filters: + # „scharf“ für Personen: etwas niedrigere Scores, damit schnelle/verwaschene Personen nicht durchrutschen + person: + min_score: 0.42 + threshold: 0.58 go2rtc: rtsp: @@ -113,7 +125,7 @@ go2rtc: # https://docs.frigate.video/configuration/ffmpeg_presets/ cameras: - # Doorbird front door + # --- Doorbird front door --- facade_door: enabled: true ffmpeg: @@ -133,6 +145,11 @@ cameras: height: 720 fps: 5 # Front door camera (Dahua) + motion: # konservativ, aber nicht träge + threshold: 19 + contour_area: 1300 + + # --- Front (Dahua IPC-4K Color) --- facade_north: enabled: true ffmpeg: @@ -141,16 +158,22 @@ cameras: inputs: - path: rtsp://127.0.0.1:8554/facade_north input_args: preset-rtsp-restream - roles: - - record + roles: [record] - path: rtsp://127.0.0.1:8554/facade_north_detect input_args: preset-rtsp-restream - roles: - - detect + roles: [detect] detect: width: 1280 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: enabled: true ffmpeg: @@ -159,21 +182,20 @@ cameras: inputs: - path: rtsp://127.0.0.1:8554/facade_garden input_args: preset-rtsp-restream - roles: - - record + roles: [record] - path: rtsp://127.0.0.1:8554/facade_garden_detect input_args: preset-rtsp-restream - roles: - - detect + roles: [detect] objects: - track: - - person - - cat - - dog + track: [person, cat, dog] detect: width: 1280 height: 720 - fps: 5 + fps: 12 + motion: + threshold: 19 + contour_area: 1300 + facade_east: enabled: true ffmpeg: @@ -182,16 +204,18 @@ cameras: inputs: - path: rtsp://127.0.0.1:8554/facade_east input_args: preset-rtsp-restream - roles: - - record + roles: [record] - path: rtsp://127.0.0.1:8554/facade_east_detect input_args: preset-rtsp-restream - roles: - - detect + roles: [detect] detect: width: 1280 height: 720 - fps: 5 + fps: 12 + motion: + threshold: 19 + contour_area: 1300 + facade_south: enabled: true ffmpeg: @@ -200,16 +224,18 @@ cameras: inputs: - path: rtsp://127.0.0.1:8554/facade_south input_args: preset-rtsp-restream - roles: - - record + roles: [record] - path: rtsp://127.0.0.1:8554/facade_south_detect input_args: preset-rtsp-restream - roles: - - detect + roles: [detect] detect: width: 1280 height: 720 - fps: 5 + fps: 12 + motion: + threshold: 19 + contour_area: 1300 + facade_west_2: enabled: true ffmpeg: @@ -218,20 +244,22 @@ cameras: inputs: - path: rtsp://127.0.0.1:8554/facade_west_2 input_args: preset-rtsp-restream - roles: - - record + roles: [record] - path: rtsp://127.0.0.1:8554/facade_west_2_detect input_args: preset-rtsp-restream - roles: - - detect + roles: [detect] detect: width: 1280 height: 720 - fps: 5 + fps: 12 + motion: + threshold: 19 + contour_area: 1300 objects: filters: car: mask: 0.287,0.011,0.136,0.07,0.067,0.315,0.299,0.275 + facade_west: enabled: true ffmpeg: @@ -240,70 +268,42 @@ cameras: inputs: - path: rtsp://127.0.0.1:8554/facade_west input_args: preset-rtsp-restream - roles: - - record + roles: [record] - path: rtsp://127.0.0.1:8554/facade_west_detect input_args: preset-rtsp-restream - roles: - - detect + roles: [detect] detect: width: 1280 height: 720 - fps: 5 - #bird: - # enabled: true - # ffmpeg: - # 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 + fps: 12 + motion: + threshold: 19 + contour_area: 1300 + version: 0.16-0 + camera_groups: important: order: 2 icon: LuSquare - cameras: - - facade_garden - - facade_north - - facade_west_2 - - facade_south - - facade_west + cameras: [facade_garden, facade_north, facade_west_2, facade_south, facade_west] door: order: 2 icon: LuAlignHorizontalSpaceAround - cameras: - - facade_door - - facade_north + cameras: [facade_door] + semantic_search: enabled: false model_size: small + face_recognition: enabled: true model_size: large detection_threshold: 0.9 + lpr: enabled: false + classification: bird: enabled: false