
Wifi dongle (optional, but easier for portability).Raspberry Pi CSI Camera Module (although some of this works with a USB webcam, but I won’t cover this).Raspberry Pi (I used a Model B, although it will work on others).I used the following parts in my Raspberry Pi CCTV system: If you need help doing this, then I highly recommend following the installation and configurationguides created by Calin Crisan, the author and creator of MotionEye OS.

In this guide, I will assume that you have already set up MotionEyeOS and have it running. I had no idea how to mess around with API’s or web hooks, but after perservering (and through trial and error!), I managed to figure it out and I decided to share this. However, I found it a little tricky getting everything working in the way I wanted. However, being notified of any motion detection is something that can be very useful, and MotionEyeOS has a very handy option for custom notifications. One benefit of MotionEyeOS is its ability to detect motion and then start recording / snapping images and this is great for data storage, but you also have the option of accessing a live stream from your camera in case you wanted to check in every now and then. Very recently, MotionPie was renamed MotionEyeOS because the software worked on other platforms than just the Raspberry Pi (plus the author did not like the name!), so if you heard of MotionPie before but wondered why MotionEyeOS is, now you know! This had a nice looking user interface and was simple to setup for people who didn’t want to get bogged down with editing configuration files or the command line.

There are a number of ways to achieve this but when I was looking to setup a CCTV system with my Raspberry Pi, I stumbled on something called MotionPie. With its lower power consumption and relative portability, the Raspberry Pi makes an ideal candidate for a dedicated home CCTV camera.
