Config zu Frigate in HA mit 2 Reolink kameras

Hallo zusammen

Hat jemand eine Muster config von Frigate mit 2 Reolink Kameras in Home Assistant das auf einem Intel NUC läuft

Vielen Dank Sascha

Habe Frigate getrennt von HA im Docker laufen. Hier ist wichtig, dass die config einigermaßen passt, sonst läuft es gar nicht erst an.

Hier mal meine Konfig. Ist zwar nur eine Reolink, aber du müsstest den Teil “Gargenkamera” eigentlich nur hochkopieren. Username und Password musst du natürlich ersetzen und IPs anpassen. Es ist zu Testzwecken noch recht viel auskommentiert, da ich auch noch dran optimiere, aber grundsätzlich bin ich schon sehr zufrieden…

mqtt:
  host: ***.***.***.*** #IP mqtt Broker von HA
  port: 1883
  user: hier dein username rein ohne "" o.ä
  password: hein dein pw rein ohne "" o.ä

record:
  enabled: True
  retain:
    days: 5
    mode: motion
  events:
    retain:
      default: 7
      mode: active_objects

# falls du coral usb beschleuniger hast, sonst in die Doku schauen und ändern
detectors:
  coral:
    type: edgetpu
    device: usb


go2rtc: #hinzugefuegt Test
  streams: #hinzugefuegt Test
    rtsp_cam: #hinzugefuegt Test
      - rtsp://username:password@192.168.178.125:554/h264Preview_01_main # <- stream which supports video & aac audio.
      - "ffmpeg:rtsp_cam#audio=opus" # <- copy of the stream which transcodes audio to opus
    rtsp_cam_sub:
      - rtsp://username:password@192.168.178.125:554/h264Preview_01_sub # <- stream which supports video & aac audio.
      - "ffmpeg:rtsp_cam_sub#audio=opus" # <- copy of the stream which transcodes audio to opus
#ffmpeg:
#  hwaccel_args: preset-intel-qsv-h264

snapshots:
  # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
  enabled: True
  # Optional: save a clean PNG copy of the snapshot image (default: shown below)
  clean_copy: True
  # Optional: print a timestamp on the snapshots (default: shown below)
  timestamp: False
  # Optional: draw bounding box on the snapshots (default: shown below)
  # bounding_box: False
  # Optional: crop the snapshot (default: shown below)
  # crop: False
  # Optional: height to resize the snapshot to (default: original size)
  # height: 175
  # Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
  # required_zones: []
  # Optional: Camera override for retention settings (default: global values)
  retain:
    # Required: Default retention days (default: shown below)
    default: 10
    # Optional: Per object retention days
    objects:
      person: 15

objects:
  # Optional: list of objects to track from labelmap.txt (default: shown below)
  track:
    - person

cameras:
  Garagenkamera: # <------ Name the camera
    enabled: True
    ffmpeg:
      output_args:  #hinzugefuegt Test
        record: preset-record-generic-audio-copy #hinzugefuegt Test
      inputs:
        - path: rtsp://username:password@192.168.178.125:554/h264Preview_01_main
          roles:
            - detect
    detect:
      enabled: True # <---- disable detection until you have a working camera feed
      #width: 640 # <---- update for your camera's resolution
      #height: 480 # <---- update for your camera's resolution
      #width: 2560 # <---- update for your camera's resolution
      #height: 1920 # <---- update for your camera's resolution
      width: 2048 # <---- update for your camera's resolution
      height: 1536 # <---- update for your camera's resolution
    
    record:
      enabled: True
      retain:
        days: 3
        mode: active_objects
      events:
        retain:
          default: 7
          mode: active_objects
        required_zones:
          - zone_0
    snapshots:
      required_zones:
        - zone_0
    zones:
      zone_0:
        coordinates: 2048,1536,2048,351,1412,624,0,1177,0,1536
    live:
      stream_name: rtsp_cam_sub #hinzugefuegt Test
  
#  Indoorkamera: # <------ Name the camera
#    enabled: True
#    ffmpeg:
#      inputs:
#        - path: rtsp://192.168.178.140/ch0_0.h264
#          roles:
#            - detect
#    detect:
#      enabled: True # <---- disable detection until you have a working camera feed
#      width: 1920 # <---- update for your camera's resolution
#      height: 1080 # <---- update for your camera's resolution
#    
#    record:
#      enabled: True
#      retain:
#        days: 1
#        mode: active_objects
#      events:
#        retain:
#          default: 2
#          mode: active_objects
        

    mqtt:
      # Optional: Enable publishing snapshot via mqtt for camera (default: shown below)
      # NOTE: Only applies to publishing image data to MQTT via 'frigate/<camera_name>/<object_name>/snapshot'.
      # All other messages will still be published.
      enabled: True
      # Optional: print a timestamp on the snapshots (default: shown below)
      timestamp: True
2 „Gefällt mir“