I’m looking into self hosted and open source nvr options and frigate looks like the right fit for me. I’m curious what hardware others are running it on and how many cameras they have. How many people are running it in home assistsnt?

  • @[email protected]
    link
    fedilink
    English
    1410 months ago

    I read the title as “NVR hardware for a frigate” and was like WTF kind of self-hosting are you doing with military hardware on a warship.

    Now I kind of want a warship.

  • Rootiest
    link
    fedilink
    English
    4
    edit-2
    10 months ago

    I just run it on an old mini-pc that had a free pcie slot for a Google Coral chip

    About 5 cameras, nothing crazy.

    And yes I use it with home assistant as well

  • vatw
    link
    fedilink
    English
    410 months ago

    I found a used HP business small form factor i5 6th or 7th gen intel for very cheap, slapped a few SATA drives in the thing, and one of the M.2 Coral TPUs.

    it is running 20-30% CPU load with 6 cameras on it - but they standard HD - I pumped one at 4k, and it loaded up much higher, so I scaled back to all 1080p or less. The TPU doesn’t even hit 1% from what i’ve seen. I should probably load a better TFLite model. Nothing mission critical - mostly a novelty.

    not the most power efficient setup.

  • @[email protected]
    link
    fedilink
    English
    410 months ago

    The hardware isn’t super important if you can get a Google Coral TPU. You can run Frigate on a Raspberry Pi that way. Without the TPU, it can be fairly CPU intensive.

    I run Frigate on an old laptop and before the TPU it would run really hot. After it runs much cooler.

    • @[email protected]
      link
      fedilink
      English
      210 months ago

      Same, old laptop 8th gen Intel i7, TPU, Hass and multiple other dockers including wyze bridge with 6 cheap wyze cameras.

  • TrenchcoatFullOfBats
    link
    fedilink
    English
    310 months ago

    I have 4 ethernet cameras feeding into Frigate inside HAOS. HAOS is running in a Proxmox VM with 4 cores, 4GB RAM, 128GB storage and an m.2 Coral TPU passed through.

    The host machine is a Lenovo m910q with an i7-6700T processor that pulls about 35w, 32GB RAM and 1 TB NVMe.

    Frigate is set to retain clips for 5 days, after which they are deleted. I have a Samba Backup job that runs every night and retains 10 days of backups.

    With this setup, disk space never exceeds 50%, and CPU usage never exceeds 35%.

    • @Vendetta9076
      link
      English
      310 months ago

      What resolution are your clips that you have 500gb of video from 10 days.

      • TrenchcoatFullOfBats
        link
        fedilink
        English
        110 months ago

        Clips are 1080p, and total storage for the entire VM is 128gb, not 1TB. Total disk usage for the HAOS VM does not exceed 64GB for clips retained for 10 days.

        • @Vendetta9076
          link
          English
          110 months ago

          Oh I must have misread. That makes much more sense.

  • TheHolm
    link
    fedilink
    English
    3
    edit-2
    10 months ago

    I would add, Corral TPU is nearly essential. But do not forgot about video decoding acceleration. I’m running couple of 4k H.265 cameras without HW acceleration, and ffmpeg consumes good amount of CPU out of my Ryzen 3600. So pick hardware which can decode streams from your cameras.

  • @[email protected]B
    link
    fedilink
    English
    3
    edit-2
    10 months ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    NUC Next Unit of Computing brand of Intel small computers
    NVMe Non-Volatile Memory Express interface for mass storage
    NVR Network Video Recorder (generally for CCTV)
    PCIe Peripheral Component Interconnect Express
    SATA Serial AT Attachment interface for mass storage
    UDP User Datagram Protocol, for real-time communications

    [Thread #103 for this sub, first seen 2nd Sep 2023, 07:15] [FAQ] [Full list] [Contact] [Source code]

  • walden
    link
    fedilink
    English
    2
    edit-2
    10 months ago

    I have it running in a Dell Optiplex that I bought used with an i7-4790 and a Coral Mini-PCIe. I had to buy an adapter for the Mini-PCIe, but that depends on your motherboard.

    I only have 2 cameras – a 1080p Amcrest wifi cam, and a 4MP Amcrest wired camera. For the 4MP camera, I use a lower resolution sub-stream for motion detection, because motion detection is CPU only. Once Frigate detects motion, it then sends everything to the Coral for object detection. That’s my understanding, at least.

    Frigate is wonderful.

  • @[email protected]
    link
    fedilink
    English
    210 months ago

    I’ve got 3 Wyze cam v3s running the wyze mini hacks firmware sectioned off in a VLAN that can only reach Frigate (no internet).

    I have frigate running on a cheap Lenovo M900 I got on ebay for $65 that has an i7 and 8gb of memory and it actually does fairly well without the Google coral USB TPU as long as that was the only service on that system. Trying to run Frigate on my NUC with other services without a TPU caused some issues with CPU usage but with a TPU I would bet it’ll all run on the one system.

    Home assistant works exceptionally well for notifying, one of my cameras I have on UDP since the signal isn’t great and get a couple artifacts that trip it up but other than that it has been much quicker to notify and more reliable than anything in the consumer market I’ve tried so far.

  • @[email protected]
    link
    fedilink
    English
    2
    edit-2
    10 months ago

    4 2K cameras running in an RPi 4 container. I do have a coral TPU so that helps offload a great deal of the processing. Runs great! I use the add on HA for the integration only.