denperss

Frigate config

Sep 26th, 2025
468
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.71 KB | None | 0 0
  1. mqtt:
  2.   host: 192.168 # Replace with your MQTT broker address
  3.   user: mqttnvr # Replace with your MQTT username
  4.   password: ! # Replace with your MQTT password
  5.   topic_prefix: frigate
  6.  
  7.  
  8. go2rtc:
  9.   streams:
  10.    # Name for the stream (used in RTSP URL below)
  11.     livingroom_nest:
  12.      - nest:?
  13.  
  14.     doorbell_nest:
  15.      - nest:?
  16.  
  17.     test_doorbell:
  18.      - rtsp://:8554/hass-webrtc4?mp4
  19.     garage_nest:
  20.      - nest:?
  21.  
  22.   # Optional: Add other go2rtc settings if needed
  23.   # rtsp:
  24.   #   listen: ":8554" # Usually handled automatically by Frigate
  25.  
  26.  
  27. cameras:
  28.   fi_indkorelsen:
  29.     ffmpeg:
  30.      #hwaccel_args:
  31.         #- -c:v
  32.         #- h264_v4l2m2m
  33.        # - preset-vaapi
  34.       input_args:
  35.        - -avoid_negative_ts
  36.         - make_zero
  37.       inputs:
  38.         - path: rtsp://:@192.168.86.90/h264Preview_01_sub
  39.           roles:
  40.            - detect
  41.             - rtmp
  42.     detect:
  43.       width: 640
  44.       height: 480
  45.       fps: 25
  46.     objects:
  47.       track:
  48.        - person
  49.         - car
  50.         - motorcycle
  51.         - cup
  52.         - fire hydrant
  53.         - bicycle
  54.         - cell phone
  55.         - mouse
  56.     snapshots:
  57.       enabled: true
  58.       timestamp: false
  59.       bounding_box: true
  60.       retain:
  61.         default: 2
  62.  
  63.     motion: {}
  64.   nest_doorbell:
  65.     ffmpeg:
  66.       inputs:
  67.         - path: rtsp://127.0.0.1:8554/doorbell_nest
  68.           roles:
  69.            - detect
  70.             - record
  71.             - snapshot
  72.     detect:
  73.       enabled: true
  74.       # ... your detection settings ...
  75.     record:
  76.       enabled: true
  77.       # ... your recording settings ...
  78.  
  79.   nest_livingroom:
  80.     ffmpeg:
  81.       inputs:
  82.         - path: rtsp://127.0.0.1:8554/livingroom_nest
  83.           roles:
  84.            - detect
  85.             - record
  86.             - snapshot
  87.     detect:
  88.       enabled: true
  89.       # ... your detection settings ...
  90.     objects:
  91.       track:
  92.        - person
  93.         - car
  94.         - motorcycle
  95.         - cup
  96.         - fire hydrant
  97.         - bicycle
  98.         - cell phone
  99.         - mouse
  100.  
  101.     record:
  102.       enabled: true
  103.       # ... your recording settings ...
  104.  
  105.   nest_garage:
  106.     ffmpeg:
  107.       inputs:
  108.         - path: rtsp://127.0.0.1:8554/garage_nest
  109.           roles:
  110.            - detect
  111.             - record
  112.     detect:
  113.       enabled: true
  114.       # ... your detection settings ...
  115.     record:
  116.       enabled: true
  117.       # ... your recording settings ...
  118.  
  119. detectors:
  120.   cpu1:
  121.     type: cpu
  122.   cpu2:
  123.     type: cpu
  124.   cpu3:
  125.     type: cpu
  126.  
  127.  
  128. version: 0.16-0
  129. detect:
  130.   enabled: true
  131. semantic_search:
  132.   enabled: true
  133.   model_size: small
  134. face_recognition:
  135.   enabled: true
  136.   model_size: small
  137. lpr:
  138.   enabled: false
  139. classification:
  140.   bird:
  141.     enabled: false
  142.  
Advertisement
Add Comment
Please, Sign In to add comment