Today we are going to show you how to create your own private CCTV system using MotionEyeOS on the Raspberry Pi. This guide is compatible with any Raspberry Pi model however we do recommend using a Raspberry Pi 3 for a single feed. We will explain why.
You may be thinking why not use a Raspberry Pi 4?.
Well, to be fair the Raspberry Pi 4 will do a great job and you could even use multiple USB cameras through a compatible USB hub see our guide here. However, in most cases, if you plan to only use it as a stand-alone camera the Raspberry Pi 4 will be overkill in terms of resources and price. The Raspberry Pi 3 is more than capable to handle one stream and power a single USB camera and USB storage stick.
Difficulty = Easy
Prerequisites & Recommended Parts:
►720p 1 MP USB-powered Camera We recommend this one from ELP:
🌐Amazon USA Link: https://amzn.to/2YYboV7
🌐Amazon UK Link: https://amzn.to/2ZdLexK
►1080p 2 MP USB-powered Camera We recommend this one from ELP:
🌐Amazon USA Link: https://amzn.to/3vwpitY
🌐Amazon UK Link: https://amzn.to/3Gcc9uU
►A Micro SD Card See our best SD Cards here:
►A Raspberry Pi 3 Starter Kit:
🌐Amazon USA Link: https://amzn.to/3Ea8AUv
🌐Amazon UK Link: https://amzn.to/3m4AlaU
►Or a Raspberry Pi 4 Starter Kit.
🌐Amazon USA Link: https://amzn.to/3jtKfkt
🌐Amazon UK Link: https://amzn.to/3jrk7qr
►An external USB flash drive so you can store large video files.
🌐Amazon USA Link: https://amzn.to/3vmchmw
🌐Amazon UK Link: https://amzn.to/3C6ty5M
►Or a Micro SD to USB Adapter:
🌐Amazon USA Link: https://amzn.to/3C3tXWB
🌐Amazon UK Link: https://amzn.to/3G95d1D
►An Ethernet cable:
🌐Amazon USA Link: https://amzn.to/3DQGWvk
🌐Amazon UK Link: https://amzn.to/3jozIap
Recommended USB Camera To Use With MotionEyeOS.
ELP 1megapixel Day Night Vision Indoor and Outdoor CCTV USB Dome.
We have used this camera for many years. We currently have 4 of them in and outside our office and they work flawlessly with MotionEye.
We recommend the 1 Mega Pixel camera for quality and price. It is ideal for general use. It supports 720p. 1280×720 resolution.
If you require a higher resolution there is a 1080p (1920 x 1080) one here:
Amazon.com link: https://amzn.to/3pbeWyp.
Amazon.co.uk link: https://amzn.to/3vjhVpM
Note: If you opt for the higher resolution camera the “Video Resolution” settings will be different from our guide.
They can be fitted outdoors as well as indoors and they come with all fittings and screws ready to be fixed to the wall or door. The installation is simple and they fit flush to the wall with gaps allocated for passing through the USB cable if needed.
The camera supports IR night vision and through the MotionEye interface enables motion detection.
The Camera comes with 5 meters of cable which gives plenty of distance to connect to a Raspberry Pi.
Recommended Software Links:
Bandzip Software: https://en.bandisoft.com/bandizip/
Raspberry Pi Imager: https://www.raspberrypi.com/software/
Motioneyeos downloads page: https://github.com/ccrisan/motioneyeos/releases
Setting up your Software & Hardware.
Step 1 – Download Motioneye OS. Extract & Write The Image To A Micro SD Card.
Go to the Motioneyeos downloads page.
Follow our separate guide here to write the Image to your Micro SD Card: https://www.addictedtotech.net/motioneyeos-download-which-image-do-i-need-to-use/
Step 2 – Connecting Your Hardware
Now that you have MotionEyeOS written to your Micro SD Card you can now connect your hardware.
Insert your Micro SD card into the bottom of your Raspberry Pi.
Now connect your USB devices. Your Camera and Flash drive.
Connect your Raspberry Pi Power Supply into the side of the Pi.
You will need to hard connect your device to the network on first boot at least using an Ethernet cable and put the other end of the connector into your Switch or Router.
If you are intending to connect your Raspberry Pi to the internet through Wifi then you can do this later on from within the configuration settings. Once the Wifi is set up you can disconnect the Ethernet cable.
Once everything is connected you are now ready to connect your Power adapter to a walk socket and your Raspberry Pi will automatically boot into MotionEyeOS.
Step 3 – Finding Your Raspberry Pi’s IP Address.
You will now need to know the IP address of your Raspberry Pi. To find this please follow our guide on how to find your Raspberry Pi IP address on your local network.
Step 4 – Connecting to MotionEye over the network.
To connect to the MotionEye interface you need to open a browser and put your Raspberry Pi’s IP address into the address bar.
You will now be greeted with the MotionEye interface. You should see your Camera feed.
MotionEye comes with two built-in users. The user and the admin account. The user account is what you are automatically logged in to when you first access the MotionEye interface. This user has limited access and is only allowed to view the camera.
You will need to log into MotionEye using the admin account if you want to configure the interface.
To log into the admin account click on the user icon in the top left of the interface.
Enter the default username which is:
Do not enter anything for the password just leave it blank.
Press the “Remember Me” button to turn it “On“.
Now press “Login“.
You should now be able to set up and configure the camera for use.
Step 5 – Configuring and securing MotionEye
In the top left of the interface click on the hamburger menu to be taken to the settings.
Once in the settings menu work your way from the top down to the bottom and apply the appropriate settings.
Learn How To Configure MotionEye
If you would like to know how to configure MotionEye and learn what all the settings do please check out our FREE YouTube episode where we go into detail about how to configure MotionEye.
We need your support.
We hope you enjoyed this episode and that it was helpful and you got benefit out of it.
If you did, please consider supporting our channel by Subscribing to our YouTube channel, and liking and sharing our content.
You can also make a donation via Paypal or become a Patreon if you wish to do so.
You can also follow us on Facebook or Twitter.
If you have any questions or any requests please ask in the comments below or on YouTube.
Last update on 2023-03-14 / Affiliate links / Images from Amazon Product Advertising API