added frigate config

This commit is contained in:
Tobias Lehmann 2025-10-12 11:24:45 +02:00
parent 38c25deb4c
commit 3b4c5ed58e

View File

@ -7,7 +7,7 @@ logger:
mqtt: mqtt:
host: 192.168.150.150 host: 192.168.150.150
user: captica user: captica
password: captica password: password
topic_prefix: cctv topic_prefix: cctv
stats_interval: 60 stats_interval: 60
@ -23,6 +23,7 @@ detectors:
detect: detect:
enabled: true enabled: true
# --- Aufnahme / Speicherung --- # --- Aufnahme / Speicherung ---
record: record:
enabled: true enabled: true
@ -35,11 +36,6 @@ record:
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
@ -57,6 +53,31 @@ birdseye:
height: 1080 height: 1080
quality: 8 quality: 8
motion:
# Optional: enables detection for the camera (default: True)
# NOTE: Motion detection is required for object detection,
# setting this to False and leaving detect enabled
# will result in an error on startup.
enabled: True
# Optional: The threshold passed to cv2.threshold to determine if a pixel is different enough to be counted as motion. (default: shown below)
# Increasing this value will make motion detection less sensitive and decreasing it will make motion detection more sensitive.
# The value should be between 1 and 255.
threshold: 30
# Optional: The percentage of the image used to detect lightning or other substantial changes where motion detection
# needs to recalibrate. (default: shown below)
# Increasing this value will make motion detection more likely to consider lightning or ir mode changes as valid motion.
# Decreasing this value will make motion detection more likely to ignore large amounts of motion such as a person approaching
# a doorbell camera.
lightning_threshold: 0.8
# Optional: Minimum size in pixels in the resized motion image that counts as motion (default: shown below)
# Increasing this value will prevent smaller areas of motion from being detected. Decreasing will
# make motion detection more sensitive to smaller moving objects.
# As a rule of thumb:
# - 10 - high sensitivity
# - 30 - medium sensitivity
# - 50 - low sensitivity
contour_area: 10
# --- Objekt-Tracking global --- # --- Objekt-Tracking global ---
objects: objects:
track: track:
@ -66,52 +87,47 @@ 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:
username: captica username: captica
password: password! password: captica123!
streams: streams:
facade_north: facade_north:
- rtsp://captica:password!@192.168.140.231:554/cam/realmonitor?channel=1&subtype=0#backchannel=0 - rtsp://captica:{PASSWORD}@192.168.140.231:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
- ffmpeg:facade_north#video=h264#audio=acc - ffmpeg:facade_north#video=h264#audio=acc
facade_north_detect: facade_north_detect:
- rtsp://captica:password!@192.168.140.231:554/cam/realmonitor?channel=1&subtype=2#backchannel=0 - rtsp://captica:{PASSWORD}@192.168.140.231:554/cam/realmonitor?channel=1&subtype=2#backchannel=0
#- ffmpeg:facade_north_detect#video=h264 #- ffmpeg:facade_north_detect#video=h264
facade_garden: facade_garden:
- rtsp://captica:password!@192.168.140.230:554/cam/realmonitor?channel=1&subtype=0#backchannel=0 - rtsp://captica:{PASSWORD}@192.168.140.230:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
- ffmpeg:facade_garden#video=h264#audio=acc - ffmpeg:facade_garden#video=h264#audio=acc
facade_garden_detect: facade_garden_detect:
- rtsp://captica:password!@192.168.140.230:554/cam/realmonitor?channel=1&subtype=2#backchannel=0 - rtsp://captica:{PASSWORD}@192.168.140.230:554/cam/realmonitor?channel=1&subtype=2#backchannel=0
#- ffmpeg:facade_garden_detect#video=h264 #- ffmpeg:facade_garden_detect#video=h264
facade_east: facade_east:
- rtsp://captica:password!@192.168.140.243:554/cam/realmonitor?channel=1&subtype=0#backchannel=0 - rtsp://captica:{PASSWORD}@192.168.140.243:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
- ffmpeg:facade_east#video=h264#audio=acc - ffmpeg:facade_east#video=h264#audio=acc
facade_east_detect: facade_east_detect:
- rtsp://captica:password!@192.168.140.243:554/cam/realmonitor?channel=1&subtype=2#backchannel=0 - rtsp://captica:{PASSWORD}@192.168.140.243:554/cam/realmonitor?channel=1&subtype=2#backchannel=0
#- ffmpeg:facade_east_detect#video=h264 #- ffmpeg:facade_east_detect#video=h264
facade_south: facade_south:
- rtsp://captica:password!@192.168.140.232:554/cam/realmonitor?channel=1&subtype=0#backchannel=0 - rtsp://captica:{PASSWORD}@192.168.140.232:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
#- ffmpeg:facade_south#video=h264#audio=acc #- ffmpeg:facade_south#video=h264#audio=acc
facade_south_detect: facade_south_detect:
- rtsp://captica:password!@192.168.140.232:554/cam/realmonitor?channel=1&subtype=2#backchannel=0 - rtsp://captica:{PASSWORD}@192.168.140.232:554/cam/realmonitor?channel=1&subtype=2#backchannel=0
#- ffmpeg:facade_south_detect#video=h264 #- ffmpeg:facade_south_detect#video=h264
facade_west_2: facade_west_2:
- rtsp://captica:password!@192.168.140.233:554/cam/realmonitor?channel=1&subtype=0#backchannel=0 - rtsp://captica:{PASSWORD}@192.168.140.233:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
- ffmpeg:facade_west_2#video=h264#audio=acc - ffmpeg:facade_west_2#video=h264#audio=acc
facade_west_2_detect: facade_west_2_detect:
- rtsp://captica:password!@192.168.140.233:554/cam/realmonitor?channel=1&subtype=2#backchannel=0 - rtsp://captica:{PASSWORD}@192.168.140.233:554/cam/realmonitor?channel=1&subtype=2#backchannel=0
#- ffmpeg:facade_south_west_2_detect#video=h264 #- ffmpeg:facade_south_west_2_detect#video=h264
facade_west: facade_west:
- rtsp://captica:password!@192.168.140.234:554/cam/realmonitor?channel=1&subtype=0#backchannel=0 - rtsp://captica:{PASSWORD}@192.168.140.234:554/cam/realmonitor?channel=1&subtype=0#backchannel=0
- ffmpeg:facade_west#video=h264#audio=acc - ffmpeg:facade_west#video=h264#audio=acc
facade_west_detect: facade_west_detect:
- rtsp://captica:password!@192.168.140.234:554/cam/realmonitor?channel=1&subtype=2#backchannel=0 - rtsp://captica:{PASSWORD}@192.168.140.234:554/cam/realmonitor?channel=1&subtype=2#backchannel=0
#- ffmpeg:facade_west_detect#video=h264 #- ffmpeg:facade_west_detect#video=h264
#facade_door: #facade_door:
# - rtsp://ghsvwl0002:capticaTest123@192.168.178.101:554/mpeg/720p/media.amp # - rtsp://ghsvwl0002:capticaTest123@192.168.178.101:554/mpeg/720p/media.amp
@ -144,10 +160,6 @@ cameras:
width: 1280 width: 1280
height: 720 height: 720
fps: 5 fps: 5
# Front door camera (Dahua)
motion: # konservativ, aber nicht träge
threshold: 19
contour_area: 1300
# --- Front (Dahua IPC-4K Color) --- # --- Front (Dahua IPC-4K Color) ---
facade_north: facade_north:
@ -166,9 +178,7 @@ cameras:
width: 1280 width: 1280
height: 720 height: 720
fps: 12 fps: 12
motion:
threshold: 19
contour_area: 1300
# Personen „scharf“ zusätzlich pro Kamera (falls nötig, sonst global reicht) # Personen „scharf“ zusätzlich pro Kamera (falls nötig, sonst global reicht)
# objects: # objects:
# filters: # filters:
@ -192,9 +202,6 @@ cameras:
width: 1280 width: 1280
height: 720 height: 720
fps: 12 fps: 12
motion:
threshold: 19
contour_area: 1300
facade_east: facade_east:
enabled: true enabled: true
@ -212,9 +219,6 @@ cameras:
width: 1280 width: 1280
height: 720 height: 720
fps: 12 fps: 12
motion:
threshold: 19
contour_area: 1300
facade_south: facade_south:
enabled: true enabled: true
@ -232,9 +236,6 @@ cameras:
width: 1280 width: 1280
height: 720 height: 720
fps: 12 fps: 12
motion:
threshold: 19
contour_area: 1300
facade_west_2: facade_west_2:
enabled: true enabled: true
@ -252,13 +253,6 @@ cameras:
width: 1280 width: 1280
height: 720 height: 720
fps: 12 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: facade_west:
enabled: true enabled: true
@ -276,9 +270,6 @@ cameras:
width: 1280 width: 1280
height: 720 height: 720
fps: 12 fps: 12
motion:
threshold: 19
contour_area: 1300
version: 0.16-0 version: 0.16-0