Live data from Hacker News

Ask HN: How do you do home surveillance?

news.ycombinator.com

11–20 of 104 posts

Re: Ask HN: How do you do home surveillance?

#11
I'd recommend installing your own router. Mine is from Ubiquiti and they start at $50 ish. Dedicate a network/port/vlan to untrusted devices, don't allow any incoming or outgoing to that network except for anything you explicitly want and set up.

Then buy whatever IP camera you like. I bought 4 of the Reolink cameras for $50 ish each. Rated for outdoor use, power over ethernet, motion detection (can edit the sensitive area if you like), can be streamed to any RTSP client (like say most security software), etc. Generally plays well with others and doesn't depend on a cloud for anything.

So cameras -> RTSP -> whatever software you want.

Re: Ask HN: How do you do home surveillance?

#12

When I first brought my puppy home I set up a Raspberry Pi with a Camera module to spy on him during the day. I had it stream to a private YouTube channel, but there's no reason it couldn't stream to anywhere you like. You could also use the IR camera and a good enough IR lamp to give you coverage at night as well. Use a PIR if you want motion sensing added on. https://projects.raspberrypi.org/en/projects/infrared-bi…

Was the puppy doing something interesting while alone?

Re: Ask HN: How do you do home surveillance?

#13
I use Zoneminder. That has support for a lot of different cameras and then you only have to connect to the one frontend regardless of the cameras themselves. It takes a fair bit of tweaking but it has been around for a very long time. This:

https://wiki.zoneminder.com/index.php/Understanding_ZoneMind...?

gives some handy hints on zoning.

Re: Ask HN: How do you do home surveillance?

#14
post #12

When I first brought my puppy home I set up a Raspberry Pi with a Camera module to spy on him during the day. I had it stream to a private YouTube channel, but there's no reason it couldn't stream to anywhere you like. You could also use the IR camera and a good enough IR lamp to give you coverage at night as well. Use a PIR if you want motion sensing added on. https://projects.raspberrypi.org/en/projects/infrared-bi…

Was the puppy doing something interesting while alone?

Puppies left alone destroy homes, worlds and galaxies, so he surely done something interesting. ;)

Re: Ask HN: How do you do home surveillance?

#16
MotionEye and docker.

I started off with a couple of Chinese WiFi cameras. I needed to hack a perl script to get at its stream; https://gist.github.com/opless/d1effc2eefdf2dfe3b1a6418979bc...

Now I use eBay'd Axis POE cameras dumping continuous video to a samba share, and motion eye to capture a frame every second and video when motion triggered.

All very overkill but worthwhile as it's caught vandals, bike thieves and trespassing landlords.

A pfsense router with haproxy sorts out the SSL website to the docker containers part.

Re: Ask HN: How do you do home surveillance?

#17
An aside - I am lucky enough to live somewhere where no security is needed. I don't even have lockable doors or windows. I only mention this because it hasn't struck me for a long time how different life felt when I lived in a city (there've been a few - London, Glasgow, Sydney, Brisbane). Locking a door would seem really odd to me here.

I did though once set up a timelapse cam to try & trace where a bush rat was getting in the house.

Re: Ask HN: How do you do home surveillance?

#18
post #16

MotionEye and docker. I started off with a couple of Chinese WiFi cameras. I needed to hack a perl script to get at its stream; https://gist.github.com/opless/d1effc2eefdf2dfe3b1a6418979bc... Now I use eBay'd Axis POE cameras dumping continuous video to a samba share, and motion eye to capture a frame every second and video when motion triggered. All very overkill but worthwhile as it's caught vandals, bike thieves a…

The bad bits of my journey...

Raspberry PIs, other SBCs and usb webcams/noIR are an exercise in futility, as the inbuilt camera interface and v4l lags horribly at reasonable resolutions.

USB webcams can behave oddly if you stream constantly and are close to using the bandwidth of USB2

Zoneminder is memory hungry and will suck CPU like no tomorrow. But has a decent user interface, if you keep lots of data.

MotionEye can be configured to be unable to play back its captures which is a bug imho.

Re: Ask HN: How do you do home surveillance?

#19
When we got a new puppy, I wasn't bothered about recording and I didn't want my video sitting on some dodgy 3rd party cloud, so I dug out some old half-broken iPhones, plugged them into permanent power and run https://apps.apple.com/gb/app/icam-webcam-video-streaming/id... on them.

Worked very well.

Re: Ask HN: How do you do home surveillance?

#20
I started by using a NVR off AliExpress. It worked well until I added a camera from a different vendor, same brand though and it refused to be reliable and had frequent disconnections.

Moved onto ZoneMinder and after hours of setup I felt the UI wasn't good enough for a non-tech person. I want others in my family access the feeds with ease, ZoneMinder does not cut it.

While I was experimenting with cameras, I was also getting into HomeAssistant which had motionEye as a supported service. It was easy to add cameras and almost any camera could be hacked to have RTSP support and motionEye.

Motion-detection could be enabled on the Raspberry Pi's motionEye, offloading compute off the cameras. This was important for me as many of my cheap Chinese cameras lag/hang/shutdown on load.

The Raspberry Pi also has Pi-Hole installed which I configured to block all IPs and domains being used by the IP cameras thereby limiting its access to local network only.

As I kept adding cameras (10+), performance on Raspberry Pi started getting affected, so I added another Raspberry Pi and installed motionEye on it. Setup MQTT on motionEye to send notifications to HomeAssistant on motion/human detection. Added multiple HDDs (4) so cameras can write with less conflicts.

I still haven't got some cameras (Xiaomi) into this setup as I don't want to hack them yet. (The open firmware(s) lack features). But they do backup recordings to the same Raspberry Pi NFS and I plan to find something which can show motionEye and Xiaomi videos in one interface.

Post reply on HN