Du ser en gammel version af denne side. Se den nuværende version.

Sammenlign med nuværende Vis sidehistorik

Version 1 Næste »


Starting frigate:

docker run -d \  
  --name frigate \
  --restart=unless-stopped \
  --mount type=tmpfs,target=/tmp/cache,tmpfs-size=1000000000 \
  --device /dev/bus/usb:/dev/bus/usb \
  --shm-size=256m \
  -v /mnt/LaCie/nas/frigate:/media/frigate \
  -v /opt/frigate/config.yml:/config/config.yml:ro \
  -v /etc/localtime:/etc/localtime:ro \
  -e FRIGATE_RTSP_PASSWORD='***********' \
  -p 5000:5000 \
  -p 1935:1935 \
  ghcr.io/blakeblackshear/frigate:master-433bf69-tensorrt


A working/simple config

mqtt:
  host: 10.0.0.183
cameras:
  frigate_front_door_cam:
    ffmpeg:
      inputs:
        - path: rtsp://user:password@10.0.0.151:554//h264Preview_01_main
          roles:
            - detect
        - path: rtsp://user:password@10.0.0.151:554//h264Preview_01_sub
          roles:
            - record
    rtmp:
      enabled: False
    detect:
      width: 640
      height: 480
      fps: 10
    objects:
      track:
        - person
    snapshots:
      enabled: True
      timestamp: false
      bounding_box: True
      retain:
        default: 2
  frigate_garden_cam:
    ffmpeg:
      inputs:
        - path: rtsp://user:password@10.0.0.108:554//h264Preview_01_main
          roles:
            - detect
        - path: rtsp://user:password@10.0.0.108:554//h264Preview_01_sub
          roles:
            - record
    rtmp:
      enabled: False
    detect:
      width: 2560
      height: 1920
      fps: 10
    objects:
      track:
        - person
    snapshots:
      enabled: True
      timestamp: false
      bounding_box: True
      retain:
        default: 2
  frigate_behind_house_cam:
    ffmpeg:
      inputs:
        - path: rtsp://user:password@10.0.0.176:554//h264Preview_01_main
          roles:
            - detect
        - path: rtsp://user:password@10.0.0.176:554//h264Preview_01_sub
          roles:
            - record
    rtmp:
      enabled: False
    detect:
      width: 2560
      height: 1920
      fps: 10
    objects:
      track:
        - person
    snapshots:
      enabled: True
      timestamp: false
      bounding_box: True
      retain:
        default: 2
  frigate_carport_cam:
    ffmpeg:
      inputs:
        - path: rtsp://user:password@10.0.0.191:554//h264Preview_01_main
          roles:
            - detect
        - path: rtsp://user:password@10.0.0.191:554//h264Preview_01_sub
          roles:
            - record
    rtmp:
      enabled: False
    detect:
      width: 2560
      height: 1920
      fps: 10
    objects:
      track:
        - person
        - car
    snapshots:
      enabled: True
      timestamp: false
      bounding_box: True
      retain:
        default: 2
detectors:
  coral:
    type: edgetpu
    device: usb


  • Ingen etiketter