this post was submitted on 04 Mar 2024
133 points (95.2% liked)

Privacy

31186 readers
560 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 4 years ago
MODERATORS
 

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
[–] Deello@lemm.ee 26 points 6 months ago (2 children)

Reolink cameras look like they check all of your boxes. They can be self contained systems with a "recorder box" (actual term is NVR) that you keep on your property out of harms way or it can be a DIY PC with a program called Blue Iris. There is a variety of cameras to choose from with different features like Wifi, POE, PTZ, solar powered, etc. Spend as little or as much as you want. As you mentioned in your post, this will be pricey up front but will be cheaper in the long run.

[–] halfwaythere@lemmy.world 6 points 6 months ago (3 children)

Reolink is a Chinese company. Not known for their privacy. My experience with their cameras is the quality is meh and their software is even more meh. It amazes me how often they get recommended. I guess it's due to their cheapness.

[–] amju_wolf@pawb.social 12 points 6 months ago

Their quality is adequate for the price and they are open enough to be used with any NVR.

If you are worried about privacy you should segment the cameras onto their own network (VLAN) or at the very least block them on the firewall from accessing the internet, which you should do anyway.

[–] synestine@sh.itjust.works 9 points 6 months ago

It's more because they provide an ONVIF interface or an RTSP stream that makes them self-hosting darlings. Them being Chinese white-labels and cheap is mainly a side-bonus.

What are your recommendations if not them?

[–] pishadoot@sh.itjust.works 6 points 6 months ago

You're not wrong about reolinks, amcrest, hikvision, etc but their price:quality can't be beat and they work well with many different NVR software suites, which makes them popular.

If you're concerned about how they call home (they do, I've sniffed packets on my network to test the rumors and seen it on every one of them), you need to isolate the cameras off of the internet so they are blocked from the outside connection. This can end up being mildly tricky to very complicated depending on your network equipment, the way your LAN is set up at home, whether you want to view your cameras remotely, etc, but it's the most cost effective long term option that is not subscription/cloud based.

I use blue iris on an old computer. It works great. I have unifi network gear, and I tried some of their cameras out but they're not really ONVIF compliant and they're extremely expensive for an equivalent Chinese brand. That's the made in USA price, and tbh Unifi cameras aren't even that expensive, they're more "prosumer" for small business deployments or nerds at home. They have a walled garden ecosystem that I dipped my toe into and didn't care for some of it, but I still use their access points, routers, and switches because they're great quality and really easy to config.

But, if you have never done any of that, you might just want to go with an off the shelf solution or be willing to spend a lot of time reading. You DON'T want to mess up your network security trying to install local cameras if you're not sure what you're doing.

One thing that hasn't been mentioned yet is an RF/analogue camera kit. It's not as easy to set up as POE (two cords to each camera and they're way bigger so running them through walls will do more damage that you have to patch later) you can get an all-in-one NVR+4/8/12/16 etc camera kit with as many bells and whistles as you want. It will be cheaper as well and you don't have to worry about network bandwidth issues because it's analog. The feeds are super nice.

[–] thayer@lemmy.ca 3 points 6 months ago

While Reolink hardware is perfect for Blue Iris and other self-hosted solutions, I try to warn everyone that Reolink's own Android app now captures your device's clipboard whenever accessed. The same may be true for their desktop or iOS apps, I don't know.

I have several Reolink cameras and I've been happy with their overall image quality and capabilities, but I do not trust their software whatsoever and recommend keeping them isolated from the internet entirely.

[–] pixxelkick@lemmy.world 20 points 6 months ago* (last edited 6 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!

[–] pacoboyd@lemm.ee 5 points 6 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.

[–] timbuck2themoon@sh.itjust.works 18 points 6 months ago (1 children)

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

[–] Catsrules@lemmy.ml 3 points 6 months ago

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

[–] Tosti@feddit.nl 13 points 6 months ago (2 children)

A lot of the more modern NVR systems can be accessed from the internet. So you can use these.

Synology has security station on their NAS systems (although there is some licensing nowadays depending on model and number of cameras.

Ubiquity also offers local storage for their system, that also offers a bellcam (like ring) and different in and outdoor camera models.

Good luck!

[–] BearOfaTime@lemm.ee 3 points 6 months ago

Hell, I had a Harbor Freight system years ago that was all local (with a DVR), with an app I could view remotely.

Had to open some ports on my firewall/router, of course, so not ideal, and not what I'd recommend today.

If I still had that system, I'd use Tailscale to access it.

[–] MostRegularPeople@lemmy.world 1 points 6 months ago (2 children)

Thank you! I'll check those out!

[–] wildbus8979@sh.itjust.works 4 points 6 months ago* (last edited 6 months ago)

Another brand you might want to look into is Reolink. Whether it's just for the cameras (with something like frigate & home assistant) or cameras and NVR combo.

[–] pishadoot@sh.itjust.works 2 points 6 months ago

Check out the YouTube channel the hook up, dude does really great comparison vids of different camera models and brands

[–] Psiczar@aussie.zone 12 points 6 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.

[–] jeremyparker@programming.dev 2 points 6 months ago (1 children)

How long does it take to fill that storage?

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.

[–] RaoulDook@lemmy.world 8 points 6 months ago (1 children)

Most cameras that can support RTSP streaming can be used for self-hosting, then you just need a good video recording / storage system. I used a mix of 3 different types of cameras, streaming RTSP to be recorded by Zoneminder.

You can research the different NVR / recording systems to find what suits you.

[–] digdilem@lemmy.ml 2 points 6 months ago

Zoneminder

Indeed. I've been using ZM for personal and commercial camera setups (for up to 32 cameras) since around 2006. Great piece of software - does what it does quietly and without fuss and is completely free.

[–] Saik0Shinigami@lemmy.saik0.com 8 points 6 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.)

[–] ryannathans@aussie.zone 7 points 6 months ago (1 children)

I use ubiquiti cameras and nvr for this purpose, might not be open source but I keep all the footage locally, it's easy to use and feature rich

[–] USSEthernet@startrek.website 1 points 6 months ago

I 2nd this as I use them too. However, Ubiquiti devices are not cheap.

[–] Charger8232@lemmy.ml 7 points 6 months ago

On a related topic, Insecam is a website that shows live streams from insecure cameras. It's a great example on why privacy matters in every aspect of your life, even if you don't think it affects you personally.

[–] TCB13@lemmy.world 7 points 6 months ago* (last edited 6 months ago) (14 children)

Cameras in general aren't as easy as cheap plugs to deal with. There's the OpenIPC project but it seems only to support very specific chips that are sometimes older, hard to find or not price/feature competitive like something such as what TP-Link offers.

For what's worth TP-Link Tapo cameras (TC70, 71 etc.) aren't that bad when it comes to privacy, there isn't much "cloud". They do require you to use their mobile app and cloud to setup the camera but afterwards you can just run them on an isolated VLAN / firewall them from the internet completely and you'll still be able to use all of the camera's features. Those cameras provide a generic rtsp stream that even VLC can play and there's also a good HA integration that provides all features of the TP-Link Tapo application like pan / move / download recordings from the camera's SD card and whatnot 100% locally / offline.

I particularly like their cameras because they're really cheap and decent, while not perfect in terms of privacy they've a good trade off when it comes to price but require initial cloud setup. They also have wireless versions, ethernet versions and a cheap PoE splitter will be good for those.

load more comments (14 replies)
[–] DeuxChevaux@lemmy.world 6 points 6 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.

[–] KonekoSalem@lemmy.dbzer0.com 2 points 6 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.

[–] DeuxChevaux@lemmy.world 2 points 6 months ago* (last edited 6 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.

load more comments (1 replies)
[–] bluegandalf@lemmy.ml 6 points 6 months ago

For software I'd recommend using Frigate for ally the processing and then integrating it with Home Assistant.

[–] LWD@lemm.ee 5 points 6 months ago* (last edited 6 months ago)

Unfortunately, even if you're okay with accepting the sunk cost of purchasing a cloud camera with the foreknowledge that it might stop working in the future, there are still huge privacy and security concerns. Just recently, SwitchBot announced people were accidentally accessing each other's cameras. Whoops.

If you're looking for something that doesn't need the cloud to work, I would recommend IP cameras. That's the term you would look for. There's open source software to manage them too. Of course, you need to be decent at security yourself. Unfortunately. So perhaps those cloud companies still have a little bit of a leg up on the average person.

[–] lemmylommy@lemmy.world 4 points 6 months ago (1 children)

You might want to look into Hivision cameras (or oem versions like Annke) and frigate NVR. All you need is a pc and some basic linux knowledge.

[–] MostRegularPeople@lemmy.world 2 points 6 months ago

I have exactly zero Linux knowledge but I know people who do!

[–] ashok36@lemmy.world 4 points 6 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.

[–] Gooey0210@sh.itjust.works 3 points 6 months ago

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

[–] WhiteHotaru@feddit.de 3 points 6 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.

load more comments (1 replies)
[–] InternetCitizen2@lemmy.world 2 points 6 months ago

Going to bookmark some answers here.

[–] GravitySpoiled@lemmy.ml 2 points 6 months ago* (last edited 6 months ago) (2 children)

Haven't read all. Look into home assistant and a camera that works with it (zigbee?)

https://lemmy.world/c/selfhosted is a good forum

[–] paf@jlai.lu 4 points 6 months ago (1 children)

ZigBee are not designed for high bandwidth applications but +1 for Home assistant

load more comments (1 replies)
load more comments (1 replies)
[–] hperrin@lemmy.world 2 points 6 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.

[–] jetsetdorito@lemm.ee 2 points 6 months ago

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

[–] fellowmortal@lemmy.dbzer0.com 2 points 6 months ago* (last edited 6 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@ashok36@lemmy.world 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

[–] BreakDecks@lemmy.ml 3 points 6 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.

[–] fellowmortal@lemmy.dbzer0.com 2 points 6 months ago* (last edited 6 months ago)

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

[–] tired_n_bored@lemmy.world 2 points 6 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.

load more comments
view more: next ›