this post was submitted on 04 Mar 2024
136 points (95.3% liked)

Privacy

31872 readers
244 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
136
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

My girlfriend is be very interested in putting Blink (Amazon) cameras up around our property. I am not interested in paying Amazon to keep our security footage.

What I'd like to do is have motion activated internet connected cameras around the property that somehow send footage to a server (I don't know if that's the correct term, I'm kind of an idiot) that I keep on the property.

So I have three questions:

  1. is this the right forum to be asking about self hosting security footage?
  2. does anyone here have experience doing this and would they be willing to send some pointers my way?
  3. is this a feasible DIY project or am I better served paying for a service?

I've done a little digging into self hosting and it's not cheap, but I think it will be cheaper than paying a subscription. And safer too, which is rad.

Thank you all!

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 8 months ago

First of all, you can operate a fully FOSS firmware on your cameras: see OpenIPC (it needs some soldering tho). Second, you can try Frigate or ZoneMinder as NVR.

[–] [email protected] 2 points 8 months ago

I've tried a few (MotionEye, Zomeminder, Shinobi) but after all that I have been loving Frigate

[–] [email protected] 2 points 8 months ago* (last edited 8 months ago) (1 children)

I have thought about this from time to time. I want good surveillance, but I also don't want to lose control of the video.

I think that the solution that I favor right now is a Wyze cam V2 or similar flashed with openmiko. edit:(I had to buy wyze v2 cameras from the US on ebay to get v2 versions, user:@ashok36@[email protected] suggests in this comment to use v3 and Wyzemini firmware - this might do the job. clarification: the point is to replace the manufacturer's firmware which will phone home with something open source that you could audit)

These can be attached via USB or wifi interface to a server with zoneminder (https://zoneminder.com/) From there you could think about offsite records too and motion detection etc. [edit: wifi is useful as I don't want to rewire the house - though could be blocked (or the router could be unplugged!) if you are expecting technically savvy criminals. A solution here would be to use an old router on a separate wifi network, put somewhere where most of the property would have been traversed before it could be accessed (e.g. upstairs).]

Having said this, the setup is just fiddly enough that I keep to finding myself finding other stuff to do. [edit: 'Fiddly' is the wrong word, I think its pretty simple, I just find myself wanting more features until the project doesn't happen at all. I'd be clear that this is a feasible DIY project, so long as you accept that 'done' is better than 'perfect']

[edit: One last note - if you host the video yourself, you take responsibility for the security - this means keeping zoneminder and the OS up to date and offsite backups/networks/cameras secure. This is possibly something that a company is better at (but don't bet on it!). However, you are also a smaller attack target (because bad actors only get your video) so blackmailing you with whatever you do in your surveilled place is less valuable than having the same data for 1000s of people. Also, if someone has access to your home network - they can set up man-in-the-middle attacks and steal your bank details - you have to be doing something interesting in front of those cameras for it to be worth more than the contents of your bank account.]

edit:clarity/details

[–] [email protected] 3 points 8 months ago (1 children)

I wanted to add that while Zoneminder isn't going to be as easy or feature-rich as some of the commercial solutions recommended in this thread, this is the only solution that you can trust will remain privacy-respecting. GPL software isn't going to sell you out.

All that can be said about the rest is that they haven't sold their customers out yet.

[–] [email protected] 2 points 8 months ago* (last edited 8 months ago)

Yeah, Zoneminder is pretty mature software. I would say that this shouldn't be an impossible DIY project.

[–] [email protected] 12 points 8 months ago (1 children)

Ubiquiti is good, if you have the money. I have an 8TB HDD in my UDM-PRO recording 24/7 the footage from 6 cameras. It isn’t a cheap solution but it works and it’s local.

[–] [email protected] 2 points 8 months ago (1 children)

How long does it take to fill that storage?

[–] [email protected] 2 points 8 months ago

Depends on your setup, I used to have 4 cameras that only saved when motion was detected and they filled 1tb in about a month.

[–] [email protected] 6 points 8 months ago (1 children)

My cheap and cheerful, but not very secure homebrew solution is a used smartphone, then load any of the motion-detection apps onto it, plus an FTP server app. Then place the phone anywhere within Wi-Fi reach. Run a script once a day on my home server that downloads and deletes the videos from the phone via FTP, and also deletes that footage after 30 days. So the "system" can run indefinitely without running out of memory. The old phones just need to be rebooted once in a while for some odd reason.

[–] [email protected] 2 points 8 months ago (1 children)

Phones and their batteries aren't made for this. Trying to run a phone 24/7 will likely result in the phone dying very quickly and raise the chances of it exploding.

[–] [email protected] 2 points 8 months ago* (last edited 8 months ago) (1 children)

My oldest "security camera" of this type has been online 24/7 since June 2019 and permanently connected to a charger of the smallest type I could find at that time. The battery still holds a charge when I take the phone down for cleaning. Not sure how old the phone itself is (a small Kyocera), probably a 2014 or 2015 model. So, for my requirements, I'd say, it's reasonably reliable.

OTOH, you may be right, and they don't make them like they used to in the olden days, haha.

[–] [email protected] 1 points 8 months ago

Some or maybe even most phones will survive, but there's a reasonable chance of the device going up in flames. Older batteries are even more likely to catch fire, depending on the type.

[–] [email protected] 3 points 8 months ago

Esp-32(or some more appropriate esp) + RPI Camera + Home assistant/Openhab

[–] [email protected] 8 points 8 months ago

Dahua/Loryta + Frigate + Home assistant

You can do object detection and recording with Frigate. Notifications and actions on events with Home Assistant.

You can use just about any camera with Frigate in general, but I prefer Dahua because that's what's tested by the frigate team... and the new PTZ features work great with the Dahua cameras. So a camera can watch a normal area... and if it detects a person (or whatever object you set) will lock onto that person and follow them around until it can't any longer then return to the original "normal" position. It's great.

The downfall is that this requires a lot of initial configuration effort on your end, but the software is all free, with no requirements to pay for anything at all outside of the hardware. Something else to keep in mind is that if you're self-hosting... and the device you host on is stolen, the footage goes with it. There's lots of little boxes on amazon that run Frigate really well. Anything with an N100 for instance will run many streams just fine (I have 3 cameras setup on the little guy for my grandfather to keep an eye on him, using about 1/8th the total resources, so could probably handle up to 10-12 cameras quite easily.)

[–] [email protected] 4 points 8 months ago

I'm using a bunch of wyze cam 3 cameras with the wzmini custom firmware installed and outside connections turned off. They took a while to figure out how to set up since I'd never had to deal with ssh keys before but after set up they are pretty bulletproof.

[–] [email protected] 2 points 8 months ago

Yo I was just thinking about writing something like this. I want to use WebDAV as a backend, so you can just download whatever segment you want. And I think it would be possible to put videos of events in a different directory that it doesn’t purge.

[–] [email protected] 3 points 8 months ago (1 children)

Synology has a whole ecosystem with the option to host the footage on their core NAS Products. It is pricey, thou.

[–] [email protected] 1 points 8 months ago

Came to recommend Synology; I've worked on small systems (4 cameras) and large (30+ cameras). For home use you can probably get away with their smallest NAS which includes free CCTV software (Surveillance Station) which itself includes 2 camera licenses. Adding more cameras beyond those will require a one-time license purchase. While this is not the cheapest route they are easy to setup, manage and use.

[–] [email protected] 20 points 8 months ago* (last edited 8 months ago) (1 children)

I have been using Reolink RC-522s outside in the harsh Canadian cold winters. Even at -40 they kept working and their quality hasn't degraded.

I tried out q few options for NVR software, and I've settled on Frigate NVR, it was pretty painless to setup and "just worked".

Shinobi I found worked at first but three times it shit the bed, silently failed one day, and just stopped working. I'd wipe and re-install and it'd just fail after awhile. Frigate has never had this issue so far.

I use Power over Ethernet for the cameras, so i only had to run 1 single cable (ethernet) to each camera outside, no need to run high voltage which makes it way easier to install.

I use a small mini itx PC as the NVR with a 960ti installed in it for transcoding.

I have a fancy managed 48 port gigabit poe switch which is overkill for just cameras (I have tonnes of other PoE devices on my network as well justifying it), but any "dumb" gigabit poe switch will work for you, as long as you have enough ports for your cameras.

I personally use kubernetes for my machines running self hosted apps, but for most folks that's overkill abd you can just use docker compose!

[–] [email protected] 5 points 8 months ago

Second for Reolink. I'm just using local SDcard storage atm, but might consider something like Frigate, just hasn't been needed yet. Got 3 cameras and 2 doorbells, all hooked into Home Assistant.

[–] [email protected] 18 points 8 months ago (1 children)

Reolink or amcrest cameras paired with (software) frigate, blue iris, motioneye, shinobi, etc etc works fine.

[–] [email protected] 3 points 8 months ago

Yeah i am using Blue Iris paired with Amcrest, Reolink and a few random other cameras. Works really well.

[–] [email protected] 2 points 8 months ago

Going to bookmark some answers here.

load more comments
view more: next ›