Untitled

 avatar
unknown
plain_text
a year ago
4.5 kB
5
Indexable
database:
  path: /config/frigate.db

mqtt:
  host: 192.168.1.184
  user: MQTT
  password: tomaat66
  topic_prefix: frigate
  # Optional: client id (default: shown below)
  # NOTE: must be unique if you are running multiple instances
  client_id: frigate

detectors:
  ov:
    type: openvino
    device: AUTO
    model:
      path: /openvino-model/ssdlite_mobilenet_v2.xml

model:
  width: 300
  height: 300
  input_tensor: nhwc
  input_pixel_format: bgr
  labelmap_path: /openvino-model/coco_91cl_bkgr.txt

go2rtc:
  streams:
    tree-cam:
      - rtsp://homeassistant.local:8554/tree-cam
    gardendoor-cam:
      - rtsp://homeassistant.local:8554/garden-door-cam
    bedroom-cam:
      - rtsp://homeassistant.local:8554/bedroom-cam
    poolpole-cam:
      - rtsp://homeassistant.local:8554/pool-cam
    arch-cam:
      - rtsp://homeassistant.local:8554/arch-cam
    babybox-cam:
      - rtsp://homeassistant.local:8554/baby-box-cam
    versatile-cam:
      - rtsp://homeassistant.local:8554/versatile-cam

record:
  enabled: true
  # Optional: Number of minutes to wait between cleanup runs (default: shown below)
  # This can be used to reduce the frequency of deleting recording segments from disk if you want to minimize i/o
  expire_interval: 60
  retain:
    days: 10
    mode: all

  events:
    pre_capture: 5
    post_capture: 5
    retain:
      default: 21
      mode: motion

snapshots:
  # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
  enabled: true
  retain:
    # Required: Default retention days (default: shown below)
    default: 21

ffmpeg:
  hwaccel_args: preset-vaapi

cameras:
  tree-cam:
    ffmpeg:
      inputs:
      - path: rtsp://homeassistant.local:8554/tree-cam
        roles:
        - record
        - detect
    motion:
      threshold: 60
      mask:
      - 0,720,1280,720,1280,638,919,641,929,0,0,0
    objects:
      track:
      - person
      - cat
      - dog
    detect:
      width: 1280
      height: 720
      enabled: true

  gardendoor-cam:
    ffmpeg:
      inputs:
      - path: rtsp://homeassistant.local:8554/garden-door-cam
        roles:
        - record
        - detect
    motion:
      threshold: 60
      mask:
      - 942,373,1280,720,1280,0,701,0,768,417
      - 1280,720,1280,469,1115,442,992,720
    objects:
      track:
      - person
      - cat
      - dog      
    detect:
      width: 1280
      height: 720
      enabled: true

  bedroom-cam:
    ffmpeg:
      inputs:
      - path: rtsp://homeassistant.local:8554/bedroom-cam
        roles:
        - record
        - detect
    motion:
      threshold: 55
      mask:
      - 1245,675,1242,720,1138,720,1136,681
      - 78,720,373,720,285,636,62,432
    objects:
      track:
      - person
      - cat
      - dog
    timestamp_style:
  # Optional: Position of the timestamp (default: shown below)
  #           "tl" (top left), "tr" (top right), "bl" (bottom left), "br" (bottom right)
      position: bl
    detect:
      width: 1280
      height: 720
      enabled: true

  poolpole-cam:
    ffmpeg:
      inputs:
      - path: rtsp://homeassistant.local:8554/pool-cam
        roles:
        - record
        - detect
    motion:
      threshold: 50
      mask:
      - 1247,675,1244,720,1112,720,1112,676
    objects:
      track:
      - person
      - cat
      - dog
    detect:
      width: 1280
      height: 720
      enabled: true

  arch-cam:
    ffmpeg:
      inputs:
      - path: rtsp://homeassistant.local:8554/arch-cam
        roles:
        - record
        - detect
    motion:
      threshold: 50
      mask:
      - 1110,720,1250,720,1247,667,1107,671
    objects:
      track:
      - person
      - cat
      - dog
    detect:
      width: 1280
      height: 720
      enabled: true

  babybox-cam:
    ffmpeg:
      inputs:
      - path: rtsp://homeassistant.local:8554/baby-box-cam
        roles:
        - record
    detect:
      width: 1280
      height: 720
      enabled: false

    motion:
      mask:
      - 2478,1360,2472,1414,2276,1413,2271,1363
  versatile-cam:
    ffmpeg:
      inputs:
      - path: rtsp://homeassistant.local:8554/versatile-cam
    record:
      enabled: false
    detect:
      width: 1280
      height: 720
      enabled: false
    motion:
      mask:
      - 1249,675,1251,720,1114,720,1113,673
Editor is loading...