Cams, anyone?
from jabeez@lemmy.today to selfhosted@lemmy.world on 17 Nov 21:38
https://lemmy.today/post/41931498

Hey all, just wondering if anyone has any good self-hosted security cam recs? Have plenty of space and server options, and next big thing on my list is to get rid of my battery cloud cams. They have worked well enough I guess for a few years, but really pretty slow and limited, wondering if anyone has experience with any self-hosted solutions, preferably with similar features ie: motion detection, app/webapp, maybe battery op?

#selfhosted

threaded - newest

non_burglar@lemmy.world on 17 Nov 21:53 next collapse

Frigate is popular.

I used to use ZoneMinder, it worked well, but you must be very familiar with onvif, primary/secondary channels, and key frames for it to work well.

I only switched to frigate because of the person/animal detection. It’s ok, but it does need some polish in a few areas like event retention, and it could stand some more approachable documentation.

helix@feddit.org on 18 Nov 05:01 collapse

Used Zoneminder for a 20 camera store CCTV setup and can confirm, it’s complicated but powerful. I wouldn’t use it for less than 4 cams.

The alternative I’d use personally is motion-project.github.io though. Doesn’t make much difference.

Windex007@lemmy.world on 17 Nov 21:55 next collapse

For non cloud cams, someone posted here a while back about thingno firmware, takes cheap cams off the cloud. Works great on a wyze cam and was a gamechanger for me. Sttrroonngglllyyy recommend

SnotFlickerman@lemmy.blahaj.zone on 17 Nov 22:27 next collapse

I had never heard of this so went looking. Super useful stuff here!

A link for anyone interested: thingino.com

Windex007@lemmy.world on 17 Nov 22:54 collapse

I see it supports many cameras, but you need to pull them apart and use a serial hookup to flash the firmware… but for the wyze cams and a few others you can flash them directly with an SD card.

I liked how cheap the wyze cams were but desperately wanted to get them offline. This was my silver bullet.

idunnololz@lemmy.world on 18 Nov 06:11 collapse

Holy sht. I know what im doing this weekend.

swizzlestick@lemmy.zip on 17 Nov 23:03 next collapse

New to me & bookmarked. I am sure I have some crap lying around that this would work with.

Thank you!

empireOfLove2@lemmy.dbzer0.com on 17 Nov 23:06 next collapse

Oh thank god. This solves my problem of no good integrated cam hardware on the market that isn’t cloudified or a huge security hole.

Auli@twit.social on 18 Nov 02:07 collapse

@empireOfLove2 @Windex007 Just keep them off the network. There is no reason for a security camera to have LAN access.

grue@lemmy.world on 18 Nov 02:50 collapse

How you gonna get the video feed off an IP cam and onto your NVR without connecting it to your network?

You’re not seriously suggesting using old analog cameras in 2025, are you?

123@programming.dev on 18 Nov 05:37 collapse

Maybe they mean main network? Lots of people seem to have a separate vlan with strict rules on what they can cobtact for IoT devices nowadays due to how poorly secured they are.

abominable_panda@lemmy.world on 18 Nov 08:05 next collapse

Came here to suggest this. Glad its getting the exposure it deserves

jabeez@lemmy.today on 18 Nov 15:51 next collapse

Thanks, never heard of it, do have an old Wyze cam or two lying around too.

Clent@lemmy.dbzer0.com on 19 Nov 01:42 collapse

Can confirm. Been using Wyze cameras for several years.

I’m not using this particular firmware but I bought them specifically because I could flash them.

Despite the firmware giving control of outbound traffic, I suggest blocking them at the network level.

Mine run on an sd card and if someone removes the sd card and reboots it or the card gets corrupted, it would fall back to factory settings.

I have quite a few of these and they are using very, very cheap sd cards and while none have failed, they most certainly will eventually.

yaroto98@lemmy.world on 17 Nov 22:11 next collapse

Any cam with an rtsp stream is fine. Host frigate on your server point it to the cams you can get audio and video and object detection pretty easily. I also recommend taking an extra step and creating a firewall rule to block the cams’ inbound/outbound internet traffic.

Blue_Morpho@lemmy.world on 17 Nov 22:13 next collapse

Dahua and Hikvision have great cameras but of course you shouldn’t trust them. Block them at the firewall. I bought mine a few years ago and preferred Hikvision for its better built in webserver for initial configuration.

On the hosting side you run Frigate, Zoneminder or BlueIris (Windows) to control the cameras and record their streams.

Auli@twit.social on 18 Nov 02:09 collapse

@Blue_Morpho @jabeez Huh I preferred Dahau. Thought the interface was nicer and the cameras low light looked way better.

Blue_Morpho@lemmy.world on 18 Nov 12:38 collapse

Dahua must have improved their software. I was trying every brand of camera about 8 years ago when I setup my system. The first Dahua I bought required their ActiveX component for Internet Explorer to see the camera output from their web interface!

I agree that Dahua looked better but at the time their web interface was so bad I kept the Hikvisions.

paequ2@lemmy.today on 17 Nov 22:43 next collapse

Frigate + Reolink (or actually Frigate-approved cams)

Kirk@startrek.website on 18 Nov 00:09 next collapse

Amcrest seems to be the cheapest and I have good experience with them and Frigate

BarbecueCowboy@lemmy.world on 18 Nov 03:01 collapse

Used them before, but you have to be kinda careful with Amcrest, every once in awhile they throw one out that is especially shitty to self host.

Kirk@startrek.website on 18 Nov 18:27 collapse

This is a good point, I actually made that mistake once! It required their app to setup.

lemming741@lemmy.world on 18 Nov 10:37 collapse

My amcrest cameras have been good, but hikvision has been even better. They’re sneaky though so make sure they’re on an isolated vlan.

amateurcrastinator@lemmy.world on 18 Nov 23:24 collapse

I have 3 imou dahua chinesium wifi cameras which are working nicely. They would be even better if I could get some cable to them. I think the most important aspect is the onvif protocol, then the encoding should be standard h264 no other bullshit, then cable if possible.

I love frigate so much!

lemming741@lemmy.world on 18 Nov 23:27 collapse

That’s what I like about the hiks I have. They are configurable from the web browser. Some of my amcrest I had to bang an API over curl to keep the time zone set

AMillionMonkeys@lemmy.world on 17 Nov 22:46 next collapse

I have a Reolink PoE camera. It works fine. As far as I can tell, it only uses the internet to check for updates and set the time, but I have it blocked off anyway. Home Assistant was actually causing it to check for updates, too, so that got disabled.
I don’t record, so I can’t help you there.
I will say that is a pain to get Home Assistant to display real-time video instead of a slide show.

spiffpitt@lemmy.world on 17 Nov 23:13 next collapse

you managed to get it in realtime though? may i ask how?

AMillionMonkeys@lemmy.world on 18 Nov 00:13 next collapse

I haven’t, that’s the problem. It seems like it’s possible, but I’ve given up trying for the moment.

JaddedFauceet@lemmy.world on 18 Nov 04:14 collapse

Eh? Shouldn’t it be real time already?

this is my configuration:

  - camera_view: live
    type: picture-glance
    entities: []
    camera_image: camera.cam_profile000_mainstream
    tap_action:
      action: none

I am using ONVIF integration for the camera.

Mine even play audio

breadleyloafsyou@lemmy.zip on 18 Nov 01:19 collapse

that’s weird i have some reolink cameras and they display fine through home assistant

AMillionMonkeys@lemmy.world on 18 Nov 15:27 collapse

It displays fine by default, but the image only updates every several seconds. I’m talking about a live video feed, which needs some kind of special frame which has to be bolted onto HA somehow.

swizzlestick@lemmy.zip on 17 Nov 22:58 next collapse

For hardware, anything that can provide a local rtsp stream is a good place to start. I run cheap and cheerful mix of tapo, unbranded and homebrew esp32 cams. Offload the motion/object detection and alerts to something that can pull in the feeds, and isolate the cams to local network only.

WiFi usually ok, but at least hardwire the power to save future grief.

Using frigate to manage mine, which is running under Homeassistant - another project worth looking up.

A few images, featuring Freddie the visitor:

<img alt="" src="https://lemmy.zip/pictrs/image/9cd36fec-8784-452d-b966-81b9a40ec2d8.webp">

<img alt="" src="https://lemmy.zip/pictrs/image/62f36219-8c46-4c3d-9b84-1df5f6de64a5.webp">

<img alt="" src="https://lemmy.zip/pictrs/image/2ef52a2d-e36c-431b-8915-f71220c258e9.webp">

grue@lemmy.world on 18 Nov 05:30 next collapse

Tell me more about your homebrew esp32 cams, please!

swizzlestick@lemmy.zip on 18 Nov 05:49 next collapse

Gladly. I’ll collate a few bits later - time for work.

swizzlestick@lemmy.zip on 18 Nov 07:18 collapse

Ok so the combination is:

And the finished item:

<img alt="" src="https://lemmy.zip/pictrs/image/44b7df44-1efb-4847-af21-e02f66985fa4.webp">

All assembled, they will give a decent enough feed to frigate for the basics. Just don’t expect miracles in the resolution or framerate departments. 3fps does fine for my use case of tracking critters.

grue@lemmy.world on 18 Nov 15:38 collapse

Neat, thanks!

I’m not thrilled about the camera quality (compared to a purpose-built surveillance cam with 4k and good low-light performance) and I wish it had PoE, but damn, can’t beat that price!

(Side note: does anybody else find it weird that PoE is so uncommon and/or adds so much to the cost of these IoT dev boards? I get that normal people don’t want the hassle of running cable, but it feels like the hole in the market is bigger than it should be.)

swizzlestick@lemmy.zip on 18 Nov 17:45 collapse

It would definitely be a size thing for adding Ethernet (PoE or otherwise) to small boards like these. The ones I am using are already bigger than they ought to be - the bottom half is just a glorified serial interface and power input for USB. The esp plugs into this through pin/header. If I were less lazy, they could be about half the thickness in a final product. No PoE I suppose also keeps them cheap, which is always good for me. The casings were my first ‘proper’ design and entry into resin printing.

The Tapo kit I have found to be a good balance of price, features and quality. I have a Tapo C310 mounted outdoors at another building, which has done great in all weathers. Initial setup does require the app/service last time I checked, but it can be made to serve RTSP locally after that. Very good for the ~£30 price point.

jabeez@lemmy.today on 18 Nov 15:50 collapse

Thanks, looks cool, frigate certainly seems the way to go.

frongt@lemmy.zip on 18 Nov 00:26 next collapse

Can we pin one of these posts? The same thing gets asked even few days and the answers don’t change nearly that frequently

Cyber@feddit.uk on 18 Nov 07:27 next collapse

Sigh, unfortunately not.

You should see the Linux community asking about which distro to use - now that’s where a pinned post is needed…

dubyakay@lemmy.ca on 18 Nov 07:33 next collapse

I’m fine with repeating “I use Arch btw”

Cyber@feddit.uk on 18 Nov 07:34 collapse

Me too (btw).

Cricket@lemmy.zip on 18 Nov 20:08 collapse

Huh? There’s a post about exactly that pinned at the tops of !linux@lemmy.ml for quite a while. Maybe I’m misunderstanding what you’re saying.

Cyber@feddit.uk on 18 Nov 23:26 collapse

Well, slap me sideways with a boxed edition of Windows XP SP3.

I never knew that!

Thanks for sharing.

Cricket@lemmy.zip on 19 Nov 00:53 collapse

Haha, no problem!

jabeez@lemmy.today on 18 Nov 17:02 collapse

Really? Sorry, didn’t see any others going back weeks, you have a link to another I could check out?

corsicanguppy@lemmy.ca on 18 Nov 01:02 next collapse

I just checked out frigate, and I see it crutches on docker. Anything docker-free?

Cyber@feddit.uk on 18 Nov 07:33 collapse

Zoneminder is an option.

It’s been around since before containers were a thing, so fairly stable.

Not used it myself, but when I get around to needing cameras (I’m in a small house in a low crime area), then thats what I’m planning to use.

It has (had?) an integration in MythTv too, so I can see who’s a the door whilst watching TV at the same time.

plateee@piefed.social on 18 Nov 01:41 next collapse

This is maybe controversial, but I love the Ubiquiti security stuff. Cameras (interior and exterior) doorbells, etc, it’s all great. Pricey, but you get what you pay for.

And the data can stay local or be accessible via their services.

I chose to go local only, grabbed their UNVR and populated it with 4x 2TB drives and it has enough space to handle 7 cameras HD history for about a month.

pishadoot@sh.itjust.works on 18 Nov 03:39 next collapse

I’ve experimented with ubiquiti cameras and for the most part I find them very overpriced for their quality point. They’re good cameras, but they’re not ONVIF compatible so if you want to get into their (super overpriced and limited) ecosystem you won’t be able to intermix other cameras easily.

A good example is their doorbell camera. It’s just not good. And they don’t have more than one model, so if you want a good one you’re buying something else, that won’t work in their software, so now you’re using two systems to watch your cameras.

I’m glad they work for you, but I don’t recommend getting into their camera ecosystem.

thehatfox@lemmy.world on 18 Nov 08:31 collapse

UniFi Protect now has limited ONVIF support allowing various 3rd party cameras to work with Protect.

UniFi cameras can have RTSP enabled also, but it requires UniFi Protect to enable the setting.

ikidd@lemmy.world on 18 Nov 19:09 collapse

requires UniFi Protect to enable the setting.

Always some sort of cloud based dicking around with Ubiquiti stuff. I’m so over them.

plateee@piefed.social on 19 Nov 14:01 collapse

Unifi Protect is what runs on the CloudKey/NVR physical device - you don’t need to have it go through to the Internet.

Remember, for better or worse Ubiquiti is positioning themselves as SMB Enterprise security - some companies won’t want their footage to be accessible outside their network.

donkeyass@lemmy.sdf.org on 19 Nov 04:21 collapse

+1 for Ubiquiti. I’ve got a Dream Machine and 5 camera hooked up, it’s great.

hperrin@lemmy.ca on 18 Nov 02:04 next collapse

Reolink cameras are self-hosted. You don’t have to have an account in their app, and nothing is synced to the cloud. It’s all stored locally. They’re expensive cameras by comparison, but a. they’re really high quality, and b. they’re not subsidized by subscription fees.

Hotzilla@sopuli.xyz on 18 Nov 06:20 next collapse

Be careful with reolink, their P2P solution is pretty suspicious. No body really knows how it works and who it shares the data with.

You can disable those features, but it will stop reolink app from working.

They have never explained how the peer-2-peer network works, and it security and privacy is quite unknown.

Reolink is Chinese, which doesn’t really help these concerns.

Better to selfhost frigate and just rtsp cameras there.

hperrin@lemmy.ca on 18 Nov 07:56 collapse

I would assume it’s based on TURN or STUN, since you don’t need to log in. What makes it suspicious?

Edit: I did some reading on their blog, and they only mention something like STUN and specifically say it’s only for connection, not for relaying, so I don’t think they use TURN. In that case, the camera is streaming video directly to your phone, so it sounds like it’s not ever passing through a ReoLink server. The benefit to ReoLink is they only have to run a STUN server, which is incredibly cheap (bandwidth wise), and the benefit to you is that the video never goes through anyone else’s server. The drawback is if you have a really restrictive firewall, or some funky address translation, you might not be able to establish a connection.

Hotzilla@sopuli.xyz on 18 Nov 19:51 collapse

The problem is that it can only be speculated how they work, because they have not published it. That is quite suspicious in my book.

I personally would avoid reolink and use rtsp + frigate + ha, to have full control with known open source selfhosting solution.

I understand that people like the easy setup, but if you already do selfhosting, it isn’t that big jump.

hperrin@lemmy.ca on 18 Nov 19:59 collapse

Sure, but I’ve tried Frigate, and it’s not even close to Reolink in terms of ease of use. It was a giant pain in the ass to get it working to detect people in the camera. And even then, getting a push notification is something I couldn’t even figure out. And using it on a phone is really bad UX.

UnrefinedChihuahua@lemmy.dbzer0.com on 18 Nov 11:33 next collapse

I recently added two reolink cameras to my setup. Out of the box, they would not let me assign them IPs, they did not even try to get an IP from my network. They needed to be connected to via the mobile app the first time, then reconfigured for IP. Wasn’t a great user experience even if the cameras are now fine.

Onboarding a networked device should not require a mobile app, fill stop.

winkerjadams@lemmy.dbzer0.com on 18 Nov 14:03 next collapse

But you still kept the cameras and didn’t return them… Where’s the full stop? lol

UnrefinedChihuahua@lemmy.dbzer0.com on 18 Nov 16:07 collapse

Well I certainly won’t be buying anymore, and I’ll be letting anyone who asks know about my shitty experience, but yeah, you’re right. Partial stop.

hperrin@lemmy.ca on 18 Nov 17:51 collapse

How would you connect them to your network? They have no inputs.

UnrefinedChihuahua@lemmy.dbzer0.com on 18 Nov 19:45 collapse

Well shit I wish someone would have told me that before I directly connected them to my switch via Ethernet.

They’re PoE, rlc-520a. They absolutely have inputs.

hperrin@lemmy.ca on 18 Nov 19:56 collapse

Oh ok. I was thinking wifi. Yeah, that’s strange that they won’t work with direct ethernet.

jabeez@lemmy.today on 18 Nov 12:27 next collapse

Reolink camera

Nice, had heard the name, but looking at their site, didn’t realize they had so many options, and no cloud requirement! Awesome, looking like the likely option, thanks!

d3lta19@lemmy.ca on 18 Nov 14:50 collapse

I had 2 of these for years ran back to Synology surveillance station and they were great. I’ve expanded to 6 cameras now and bought the Reolink NVR. It works great, with good picture quality. Pretty inexpensive setup overall. No downtime. Very happy with Reolink.

black_flag@lemmy.dbzer0.com on 18 Nov 02:19 next collapse

When I needed this I reached for whatever generic rtmp cameras were well rated. Blocked them from external access (including outgoing!) at the firewall level and used Zoneminder and some custom scripts to monitor.

Changer098@lemmy.dbzer0.com on 18 Nov 03:21 next collapse

I tried to use Shinobi as my PVR for a while but dealt with a lot of usability and stability issues. Switching to Frigate has been much better. Configuration can be a bit difficult but it’s rock solid and really great. Plus the home assistant integration is top notch. I’ve had a lot of luck with Amcrest cameras and also managed to use a cheap Tapo camera within my setup.

Cyber@feddit.uk on 18 Nov 07:41 next collapse

Slightly off topic and something I read from somewhere else, but make sure whatever you use can write the date & time onto the camera images, otherwise it isn’t usable for any police / insurance claims.

I’d guess all systems do this now, but just wanted it to be on your checklist of features.

If the camera doesn’t do it, then the storage server must.

(And make sure the clock is sync’d to something 😉)

jabeez@lemmy.today on 18 Nov 12:19 next collapse

Noted, good point, thanks!

irmadlad@lemmy.world on 18 Nov 16:24 collapse

whatever you use can write the date & time onto the camera images, otherwise it isn’t usable for any police / insurance claims.

Weird. I mean, could you just access the properties of said picture to reveal the date taken?

BlindFrog@lemmy.world on 18 Nov 16:51 collapse

Meta data could be edited/unintentionally overwritten

B0rax@feddit.org on 18 Nov 19:12 collapse

Sure, but the same is true for embedded timestamps. Just put a black bar over it with the time and date in white. Claim that the system does it that way, done.

Cyber@feddit.uk on 18 Nov 23:34 collapse

If the timestamps on the current live cctv image looks completely different, then you’re out of luck using it as evidence.

After all, it’s your video evidence, why would you want to fake it if you’re trying to prove that someone stole that Amazon parcel off your front door step…

This isn’t X-Files… 🛸

ikidd@lemmy.world on 18 Nov 19:06 next collapse

Make sure any cameras you get are ONVIF compatible. That’ll give you the widest usability.

And while it’s great to be self-hosted, I’ve never found anything as good as BlueIris for camera software, even if it does cost $50/yr. I run it in a Dockurr/windows container, there’s a few projects out there that make Dockur easier to set up.

jabeez@lemmy.today on 18 Nov 21:18 next collapse

BlueIris

Right on, never heard of it, will check it out for sure…thanks!

antimongo@lemmy.world on 19 Nov 02:32 collapse

I personally use Frigate, which is default free, but has a plus tier for $50 a year (has custom AI training/models instead of default’s standard model).

Personally has all the features I’d want, curious what BlueIris brings, I’ve heard a bit about it.

ikidd@lemmy.world on 19 Nov 03:00 collapse

I’d have to look at Frigate again, but I’ve used BI for a few years now for myself and neighbors that I’ve installed livestock monitoring cameras for. The phone app is quite good, it does very reliable recognition via Deepstack, it’s compatible with so many cameras it isn’t funny, and the automations are very extensive. Setting up schedules is pretty intuitive.

The geofencing is terrible, but that’s about my biggest complaint with it, besides having to install it on a Windows VM. I did have it working in Wine years ago, but it wasn’t very stable.

Cricket@lemmy.zip on 18 Nov 20:13 next collapse

For the cameras themselves, if you would be interested in DIY solutions and have some old spare Raspberry Pis around, you can turn them into streaming IP cameras and have some control over what camera specs and lenses you use. I can’t tell you how they compare to purpose-built cameras though.

jabeez@lemmy.today on 18 Nov 21:16 collapse

Have seen some camera projects with Pis that look fun, would def like to try some one day.

CmdrShepard49@sh.itjust.works on 19 Nov 06:03 collapse

It sounds like a fun project but I dont know if I’d rely on it for security purposes. Plus with the cost of Pis now you might as well but a full fledged camera.

jabeez@lemmy.today on 19 Nov 13:12 collapse

For sure, that would be something just for fun, not main usage.

brightandshinyobject@lemmy.world on 19 Nov 01:17 next collapse

I found out reolink cameras have an official integration partnership with home assistant. I just installed my front door camera.

jabeez@lemmy.today on 19 Nov 12:54 collapse

Nice, use HA as well, leaning about 99% towards just getting a couple of their doorbell cams, one for each door, and calling it good.

CmdrShepard49@sh.itjust.works on 19 Nov 06:02 next collapse

I have Amcrest PoE cameras hooked to an Amcrest NVR for 24/7 recording and also Frigate running separately tied to Home Assistant to record clips and send notifications when people are out front/back of my house. It all works really well thus far after about a year of use.

jabeez@lemmy.today on 19 Nov 13:11 collapse

Nice, checked them out, look like really nice cams, leaning towards battery doorbells to not have to deal with any wiring. Would love to have PoE, but sounds like a lot of work!

excursion22@piefed.ca on 19 Nov 14:21 collapse

Gonna throw in another Reolink recommendation. I use Blue Iris as my NVR and have both that and the Reolink integrations in Home Assistant for motion notifications and lighting control. The cameras are durable (even in my very cold temps like -30C) and have really good image quality. If you don’t have an NVR or Home Assistant, the built-in motion detection and app is still pretty good and you can just pop an SD card in for recording.