this post was submitted on 16 Oct 2023
18 points (95.0% liked)

homeassistant

15325 readers
83 users here now

Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 2 years ago
MODERATORS
 

So I have about 30 Cameras I want to run on my instance. Step by step all of them will record their videos on a local sd card and I will only watch the stream over HA (no hardware nvr). How can I set this up so my phone/laptop will not struggle at all loading these streams?

Right now I am playing them using onvif and or fmpeg and all of my hardware starts to lag heavily when I open the camera sites.

The streams are split up over 3 pages so it's 13/10/7 Streams each.

you are viewing a single comment's thread
view the rest of the comments
[–] Lobotomie@lemmy.world 3 points 2 years ago (2 children)

So basically thin Client + coral tpu with frigate and then homeassistant Integration? How should I Set up the connection to the cameras? Onvif?

[–] MangoPenguin@lemmy.blahaj.zone 1 points 2 years ago* (last edited 2 years ago) (1 children)

You don't need a coral anymore since Frigate supports OpenVINO on 6th gen or newer Intel CPUs. It also supports using QSV for any decoding/encoding that needs to happen.

Frigate uses RTSP for the camera connection.

[–] Lobotomie@lemmy.world 1 points 2 years ago (1 children)

Okay, but does this (or the coral or whatever) make the delivery of 30 (or just 10) simultaneous streams any smoother than just the straight stream from webrtc in homeassistant?

[–] MangoPenguin@lemmy.blahaj.zone 1 points 2 years ago

No, it's just for object recognition to classify recordings.

[–] glimse@lemmy.world 1 points 2 years ago (1 children)

I haven't setup Frigate myself yet so I'm not sure on the specifics but yeah that's the idea! You don't need the tpu for it to work but I plan on getting some because... They're very cool lol. You'd need several to cover 30 cameras, though - I believe they recommend one for every 4 cameras.

But yeah, a cheap thin client will work. The minimum specs for frigate are surprisingly low

[–] MangoPenguin@lemmy.blahaj.zone 1 points 2 years ago (1 children)

You can use OpenVINO now on Frigate and get the same/better performance as a Coral, worth checking out.

[–] glimse@lemmy.world 1 points 2 years ago (1 children)

Whoa, hadn't heard about that. It's all software?

I don't really need what Coral offers, I was just gonna do it for fun....but if I could do it without buying more hardware, that's even better!

[–] MangoPenguin@lemmy.blahaj.zone 1 points 2 years ago* (last edited 2 years ago) (1 children)

Technically it runs in the CPU iGPU hardware accelerator I believe, but as long as you have a 6th gen or newer Intel CPU you don't need a Coral.

[–] glimse@lemmy.world 1 points 2 years ago (1 children)

Hmmm that's not that recent of a chip, I can probably make that work without breaking the bank!

Thanks again for the heads up, I wasn't looking forward to having multiple USB devices on my rack so this will be great

[–] MangoPenguin@lemmy.blahaj.zone 2 points 2 years ago* (last edited 2 years ago)

Yeah you can grab a ready to go dell usff box on eBay with a 7th gen for about $80.