this post was submitted on 18 Nov 2023
92 points (97.9% liked)

Selfhosted

39931 readers
463 users here now

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!

founded 1 year ago
MODERATORS
 

Edit: ideally wifi cameras that I can solar power.

Looking to replace my Arlo cameras with something self-hostable. Arlo lets you store on a USB stick, but there's no way to get out from under their cloud, which gets more expensive all the time.

top 50 comments
sorted by: hot top controversial new old
[–] nbailey@lemmy.ca 20 points 11 months ago (1 children)

You can use pretty much any camera with ZoneMinder as long as it supports ONVIF or RTSP and has the right connectivity and power inputs for you. I did something similar with some cheap TP-link cameras with pretty good results. With motion activated recording, I have just shy of 12 month of recordings stored on a 500G SSD.

https://nbailey.ca/post/nvr/

[–] dev67@lemmy.world 3 points 11 months ago (1 children)

How did you get 12 months onto just 500 Gb? I only have a couple weeks worth on a 1 Tb ☹️ I'm using wyze cams w/ agent i-spy. I assume I need to upgrade my compression skills here.

[–] JustEnoughDucks@feddit.nl 10 points 11 months ago (1 children)

Motion activated recordings.

Continuouse, even h265 recordings, can only 2 weeks or so per terabyte.

Motion activated means he is probably recording 30 minutes per day vs 24 hours.

[–] dev67@lemmy.world 1 points 11 months ago

Ahhh that makes sense. Yea I'm on continuous.

[–] CarbonatedPastaSauce@lemmy.world 14 points 11 months ago (3 children)

I use Reolink cams with BlueIris software. None of it has access to the internet. Works fine.

[–] nottelling@lemmy.world 4 points 11 months ago (1 children)

Reolink looks like a solid answer, thanks.

[–] CarbonatedPastaSauce@lemmy.world 4 points 11 months ago

Do additional research on the models you’re interested in. Unfortunately they don’t all play nice with 3rd party software but the ones that use open standards are good bang for the buck.

[–] canthidium@lemmy.world 4 points 11 months ago* (last edited 11 months ago) (1 children)

Can vouch for this. Been using a bunch of Reolink cameras with BI for years. Be careful with Reolink, though. Some cameras work fine and some don't at all, unless you use some middleman software, which is still hit or miss. Ran into this recently with a camera I got for my garage.

Edit: The Reolink Lumus line is NOT compatible. They don't broadcast rtsp.

[–] AimlessNameless@lemmy.world 2 points 11 months ago (2 children)

The wireless wifi Reolink cameras won't work the way OP wants, only the poe ones have rtsp

[–] canthidium@lemmy.world 4 points 11 months ago

I have a mix of wifi and POE cameras and they all work for me.

[–] CarbonatedPastaSauce@lemmy.world 3 points 11 months ago

2 of my Reolinks are on Wi-Fi and work fine. It depends on the model.

[–] deur@feddit.nl 2 points 11 months ago

I also use this exact setup, works great!

[–] infinitevalence@discuss.online 13 points 11 months ago* (last edited 11 months ago) (1 children)

Most cameras are self hosted but they are not marketed to consumers because they require running cables to them either for power and/or data.

Reolink camera with onvif so support can be connected to Frigate or Shinobi.

Hikvison and Dahua are common Chinese brands that have lots of options across lots of prices points but are treated as insecure or hostile iot devices required closed networks.

Costco often has camera and NVR packages that are passable.

Whenever possible make sure any camera you get is onvif so you can use it with any NVR or software.

[–] TheHolm@aussie.zone 4 points 11 months ago

HIkvision is great. Good value for money. Just do not use the app to configure them, use web gui. And yes, they need to be isolated from rest of network and the internet ( as pretty much any cameras).

[–] Decronym@lemmy.decronym.xyz 7 points 11 months ago* (last edited 11 months ago) (1 children)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
AP WiFi Access Point
IP Internet Protocol
IoT Internet of Things for device controllers
NAS Network-Attached Storage
NVR Network Video Recorder (generally for CCTV)
PoE Power over Ethernet
SSD Solid State Drive mass storage
SSH Secure Shell for remote terminal access
Unifi Ubiquiti WiFi hardware brand
VPN Virtual Private Network

[Thread #289 for this sub, first seen 18th Nov 2023, 23:15] [FAQ] [Full list] [Contact] [Source code]

[–] nilloc@discuss.tchncs.de 1 points 11 months ago* (last edited 11 months ago)

Missed at least two of the more important ones:

Fewer Letters More Letter
RTSP Real Time Streaming Protocol
ONVIF Open Network Video Interface Forum

Still a pretty cool bit idea though. Keep at it!

[–] Prizephitah@feddit.nu 6 points 11 months ago (2 children)
[–] scrubbles@poptalk.scrubbles.tech 12 points 11 months ago (2 children)

I personally recommend against UniFi for security now. Their software just isn't great anymore, and you can't really "selfhost" the protect. You have to have one of their proprietary boxes hosting the protect software. I'm not 100% against that - but I was not aware of that when I bought the first camera and had to buy the box.

As for the software, it's honestly just buggy and laggy. I'm in their system now, but if I could do it all again I'd look at others.

[–] nottelling@lemmy.world 2 points 11 months ago (1 children)

I'm somewhat stuck on Unifi for wifi APs and Routers, because all the other consumer-grade devices can't handle the number of small IoT devices I've got. Netgear and Asus just lose connections with ESP devices and refuse to let them connect after about a dozen. The commercial grade stuff, in addition to being too expensive, is all rack mounted, high power draw and noisy af.

Aside from the fact that my stuff seems stable on the Ubiquiti hardware, I hate the products. The interface is terrible, Unifi insists on hiding the advanced networking behind a halfass gui, the SSH console lacks half the features of even that terrible gui, and every time i try to create a new routed network, the wifi devices stop connecting.

[–] randombullet@feddit.de 1 points 11 months ago (1 children)

I use unifi for wifi because honestly I like the dashboard.

But.. for anything layer 3, I'm using MikroTik. It's extremely powerful without actually running your own router, and many are Poe as well. I'm running a RB5009 which is overkill for me.

I chose RB5009 because it runs DoH, ZeroTier, sub interfaces, it's rack mountable, passively cooled, poe capable, and can handle up to 2.5gb symmetrical. I just wish they had 2 x SFPs so I can use a full 10gb WAN

[–] GlitzyArmrest@lemmy.world 1 points 11 months ago

Was about to mention Mikrotik. They even have a 100GBit switch for under $800 (CRS504-4XQ-IN).

[–] Toribor@corndog.social 1 points 11 months ago

You have to have one of their proprietary boxes hosting the protect software

This was the biggest bummer for me that convinced me not to get into the Unify ecosystem. I already have a robust storage solution at home, I just want to point the cameras to a docker container running on my host with all the storage.

[–] randombullet@feddit.de 1 points 11 months ago

Nah, their software is so infuriating to work with. Even when an SSD it falls to load video clips. Often I have to restart unifi protect on the console or even ssh into it to do and apt update/upgrade to get it working again.

Self hosted might be a little better, but I'm not holding my breath.

[–] ChiefSinner@lemm.ee 6 points 11 months ago (1 children)

Look for something that can do rtsp streaming. Reolink, amcrest, ect. Its all cheap Chinese cameras that almost definitely dial out to some Chinese server.

What I do is have all cameras connected on a wireless router with no internet, use zoneminder on a Linux that is connected to my home network via Ethernet and the camera network via WiFi, and allow https into my home network from my VPN

[–] CazRaX@lemmy.world 2 points 11 months ago

I do the same but with Blue Iris and Windows but yeah I keep those cheap China cams off the Internet.

[–] tvcvt@lemmy.ml 5 points 11 months ago

If you’re looking for something more or less in the same footprint, I understand those cheap Wyze cameras can be used. There are alternative firmwares available that can be flashed to them to open up the rtsp stream to whatever self-hosted recorder you’d like. Haven’t tried it, but have heard it mentioned on the Self Hosted podcast.

[–] i_am_hungry@meganice.online 5 points 11 months ago (1 children)

Frigate is amazing, that's what I'd recommend. I'm using a 5MP Amcrest camera, works very well. The dev doesn't recommend Reolink.

[–] JustEnoughDucks@feddit.nl 2 points 11 months ago

Hikvision are also just rebranded amcrest sold cheaper for consumers. You have to isolate them from the internet, but that goes for pretty much every IP camera.

[–] lazynooblet@lazysoci.al 3 points 11 months ago (2 children)

I've been running https://demo.scrypted.app for a few months. It's pretty slick.

[–] falcon15500@lemmy.nine-hells.net 1 points 11 months ago

Yeah it looks pretty slick but not so much slicker than Frigate that I will pay to be in the beta. :)

[–] cosmic_slate@dmv.social 3 points 11 months ago (1 children)

One of the easier options is going to be Ubiquiti's ecosystem. You'll be tied into it, but the video data is local. You can self-host the Unifi software yourself or grab a Cloud Key G2 Plus, which is a tiny ARM box running Ubiquiti's software. Then you buy Ubiquiti's cameras. At least as of a couple years ago, you could not pair this with any standard camera though.

If you want a fair bit more effort but more flexibility, Zoneminder is an option. Most Amcrest cameras stream a feed over RTSP. You just need to configure Zoneminder to stream the feed.

[–] nottelling@lemmy.world 1 points 11 months ago (2 children)

I already hate Ubiquiti's Unifi networking that I got myself stuck with. I won't do any of their other products.

[–] dezmd@lemmy.world 1 points 11 months ago

Whys that? Stability has improved the last few years, and the value cant be beat with UDM pro and even their lowest cost camera options.

[–] cosmic_slate@dmv.social 1 points 11 months ago

Then there’s the second option I provided with Zoneminder and Amcrest cameras.

[–] TheRealCharlesEames@lemm.ee 3 points 11 months ago (1 children)
[–] infinitevalence@discuss.online 2 points 11 months ago (1 children)

They do but are a poor value next to most other options.

[–] dezmd@lemmy.world 2 points 11 months ago* (last edited 11 months ago) (1 children)

They are an excellent value next to most other otpions if youve ever actually implemented more than one solution.

[–] infinitevalence@discuss.online 1 points 11 months ago

I have and I have done unifi. I don't like being restricted to their NVR or software solutions because it means I to toss the cameras if I want to extend solution with things like ptz or verifocal cameras. Want to add ai/ml detection sorry can't do...

Unifi is good for some people but it's not the solution for everyone. Reolink can also offer similar ecosystem experiences but also while letting you expand your system if wanted.

[–] cmnybo@discuss.tchncs.de 2 points 11 months ago

You can use Zoneminder with pretty much any cameras that work with Linux.

[–] zampson@lemm.ee 2 points 11 months ago* (last edited 11 months ago)

Not sure about wifi cameras, I have a mix of Trendnet and Hikivision POE, sitting on a Vlan with no internet access. For the software I use Blue Iris. Where I have a need for cameras I have only a Windows server and I have found this software to be the best for me.

[–] abominable_panda@lemmy.world 1 points 11 months ago* (last edited 4 months ago)

Many selfhosted NVRs have been suggested. Personally ive tried:

iSpy

Frigate

Zoneminder

Shinobi

Ended up settling on zoneminder at this stage.

For cameras themselves i just want to point out the OpenIPC project - opensource firmware if youre technically inclined

Edit: I'm hesitant to recomment OpenIPC now since the main streamer is closed source. Thingino is fully open and developed by some of the devs who didn't agree with the closed source portion

[–] WindowsEnjoyer@sh.itjust.works 1 points 11 months ago* (last edited 11 months ago) (1 children)

What do you mean "self-hosted security camera" exactly? Open source camera? DIY camera?

Or are you looking for self-hosted NVR software? If so, many people already gave you suggestions. My recommendation - don't focus on ZoneMinder. It's ugly software. Instead, use Shinobi for more classic software or Frigate with Google TPU accelerator. Both lightweight enough.

Myself I have a mix of HikVision and Dahua, recorded/analyzed by Frugate. Everything works like a charm.

And also, I've disabled internet access for all the cameras, so they couldn't call home. ¯\_(ツ)_/¯

[–] nottelling@lemmy.world 3 points 11 months ago (2 children)

I had no real idea how to phrase it, but all these posts have helped. What I was actually focused on when I posted was mainly hardware that can do what the Arlo cameras do:

  • Wifi + battery/solar my house is old and hardwires are a pain in the ass.
  • High def, preferably 4k, but 1080 is ok.
  • Night vision, color or not doesn't matter
  • Motion-activated, and preferably some way to filter out and not trigger on things like passing traffic cars.
  • As small a form-factor as possible.

The Reolink hardware mentioned below seems to fit the bill hardware-wise.

I hadn't even really considered the software, as I don't need a lot of features. All I need is to use motion-activated capture to stream to some local storage, and an ability to view a live-stream when I want one. But it looks like there's a lot of options I need to consider.

[–] ikidd@lemmy.world 2 points 11 months ago (1 children)

You're looking for a self-hosted NVR (Network Video Recorder). The best I've found and use in a number of customer's is Blue Iris, and it'll work with any ONVIF-enabled cameras, but it costs 100/yr and only runs on a windows machine. I have desperately tried open-source NVRs that will work on Linux but none of them are even in the same universe as Blue Iris for functionality and ease of use.

Wireless cameras are generally terrible so if you can hardwire them in any way, I would go with that. People have had fairly good luck with Wyse cameras for wireless, I can't speak to it. See the Selfhosted Podcast for various discussions on cameras to use with NVRs, with a focus on Blue Iris.

[–] WindowsEnjoyer@sh.itjust.works 1 points 11 months ago (1 children)

I have desperately tried open-source NVRs that will work on Linux but none of them are even in the same universe as Blue Iris for functionality and ease of use.

Have you tried Shinobi? I've used it for quite some time until I switched to Frigate. It isn't broken tho.

Also, anything special with Blue Iris? Note that it can be ran on Linux because there is Docker image that uses wine.

[–] ikidd@lemmy.world 1 points 11 months ago* (last edited 11 months ago)

I did have it working under Wine myself, not with docker. The docker image is news to me, I might have to give it a try. What I did notice about running under Wine was that the web interface wouldn't load the good quality version, just the basic HTML version with the sad camera controls and interface. It worked, but wasn't great.

I did try Shinobi, it had a really odd interface. While it worked, I did not find it enjoyable to use and it was pretty rudimentary compared to BI.

[–] WindowsEnjoyer@sh.itjust.works 2 points 11 months ago

For NVR - it looks like you are after Frigate with object detection.

For cameras - as long as it has RTSP support, then you should be fine. Doesn't really matter of what kind of brand it is. You can always block internet access for a camera in your router.

load more comments
view more: next ›