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

Sammenlign med nuværende Vis sidehistorik

« Forrige Version 2 Næste »

I have 4 Reolink cams, 3 x 510WA and 1 x 510A - seems pretty much the same, just the "WA" hawing Wifi, and the "A" having POE.

I started installing frigate reading the docs and learning from this Youtube video.

The first mistake was to install via DockerHub, now a days the image is at GitHub, so I spend a lot of time on an old version and new documentation.

Second mistake, I started using the config from https://docs.frigate.video/configuration/camera_specific#reolink-cameras and with --shm-size=64m

This gave me ALL sort of trouble, and the cameras stalled within seconds; i tried all sort of streams, https, rstp, rmtp etc etc.

Then I can across this Youtube video, and found that a simple stndard RTSP are working just fine (must be enabled on the Camera) - WITH more memory for 4 cams.

My first


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