Frigate - did I go the wrong way?

Ok so I’ve spent an overly long time setting up Frigate with a coral TPU and getting it exactly how I want it. But, I’ve set it up on my proxmox server, not my home assistant.

Did I do it wrong? :smiley: Wondering now if the better way would have been to install it on my home assistant box… but my thinking was to put it on something more powerful.

So, having only really set it up and not yet integrated it with HA and/or MQTT, will I still be able to do everything the way I have it? I guess go2rtc (which I eventually realised I should set the streams up in, rather than Frigate directly) will relay the video to HA etc anyway, so I guess that plus MQTT it’s gonna be like it’s on the same box in a way anyway?

1 Like

Frigate bundles go2rtc. I literally have go2rtc config inside frigate config

You should use streams from go2rtc for record. If your detect streams will be streamed to multiple devices you can set them up im go2rtc as well

Rather frigate is on same host as HA is preference. I dont think it makes a difference and unless your HA server allows for dedicated HDD for frigate I would leave them seperate. Surveillance Storage is continuously being overwritten and heavy wear. I always expect them to fail at any moment. I keep any config/important files on seperate disk from camera storage when possible

1 Like

Thanks @tmjpugh. I’ve got all my streams running through go2rtc. Can’t imagine what it looks like with the configs combined though.

The only thing i"m struggling with now is why live view insists on using the low res streams, despite having set the high res stream names from g2r as the stream_name under live. But everything else is working so far… the latency is impressively low.

sample below

################################
#           AUTH               #
################################
auth:
  failed_login_rate_limit: 1/second;5/minute;20/hour

tls:
  enabled: false


################################
#           MQTT               #
################################
mqtt:
  host: mosquitto
  port: 1883
  topic_prefix: frigate
  client_id: frigate

################################
#          DETECTORS:          #
################################
detectors:
  coral1:
    type: edgetpu
    device: pci:0

################################
#            GO2RTC            #
################################
go2rtc:

  api:
    listen: :1984        # default ":1984", HTTP API port ("" - disabled), i think frigate relies on this using 1984 to start and changes prevents start

  webrtc:
    listen: :8555
    candidates:
      - frigate:8555

  streams:

    Frigate_FrontDr:
      - rtsp://user:[email protected]:554/cam/realmonitor?channel=1&subtype=0

################################
#          CAMERAS             #
################################
cameras:

  Frigate_FrontDr: #name unrelated to go2rtc config, just same for ease
    birdseye:
      mode: motion

    ffmpeg:
      inputs:
       # SD Stream
        - path: rtsp://homeassistant:tn@t$1$$@[email protected]:554/cam/realmonitor?channel=1&subtype=1
          roles:
            - detect
      # RESTREAM    
        - path: rtsp://frigate:8554/Frigate_FrontDr # frigate IP: port / use the camera name from go2rtc here
          roles:
            - record

post config