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?

TheHolm
link
fedilink
English
3
edit-2
1Y

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.

walden
link
fedilink
English
2
edit-2
1Y

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.

Rootiest
link
fedilink
English
4
edit-2
1Y

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
41Y

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.

TrenchcoatFullOfBats
link
fedilink
English
31Y

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%.

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

TrenchcoatFullOfBats
link
fedilink
English
11Y

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.

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

@zerodawn@leaf.dance
creator
link
fedilink
English
11Y

So in your case the vm is HAOS and Frigate is running inside that?

TrenchcoatFullOfBats
link
fedilink
English
11Y

Yes, that’s correct.

@cecilkorik@lemmy.ca
link
fedilink
English
131Y

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.

What has happened in between?

@zerodawn@leaf.dance
creator
link
fedilink
English
11Y

That would be one hell of a project

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.

@Alfiegerner@lemm.ee
link
fedilink
English
21Y

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

@Decronym@lemmy.decronym.xyz
bot account
link
fedilink
English
3
edit-2
1Y

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]

@radau@lemmy.dbzer0.com
link
fedilink
English
21Y

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.

@erte@lemmy.world
link
fedilink
English
2
edit-2
1Y

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.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 215 users / day
  • 438 users / week
  • 1.15K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.71K Posts
  • 74.7K Comments
  • Modlog