How to Build DIY Raspberry Pi 4 surveillance system with MotionEyeOS. We will also be using RPi Zero and IP camera
○○○ LINKS ○○○
3 months free Private Internet Access ►
MotionEyeOS Wiki ►
Raspberry Pi 4 ►
Raspberry Pi HQ Camera for Raspberry Pi 4 ►
Raspberry Pi 16mm Telephoto Lens for HQ Camera ►
Raspberry Pi 6mm Wide Angle Lens for HQ Camera ►
Amcrest ProHD ►
○○○ SHOP ○○○
Novaspirit Shop ►
Amazon Store ►
○○○ SUPPORT ○○○
💗 Patreon ►
○○○ SOCIAL ○○○
🎮 Twitch ►
🎮 Pandemic Playground ►
▶️ novaspirit tv ►
🎮 Novaspirit Gaming ►
🐤 Twitter ►
👾 Discord chat ►
FB Group Novaspirit ►
○○○ Send Me Stuff ○○○
Don Hui
PO BOX 765
Farmingville, NY 11738
○○○ Music ○○○
From Epidemic Sounds
patreon @
Tweet me: @
facebook: @
Instagram @
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission.
Luke'sTech
Nice one Don!
windmill1965
Interesting stuff. You mention that the SD card size limitations make that you have to be careful about video settings and the number of cameras. I recall that you have a NAS on your home network. These also offer software to use as the central point for a surveillance system. And your NAS has a much larger storage capacity. Have you considered using your NAS for this application?
Novaspirit Tech
yup, i will put this on my NAS, but this video shows how to put it all inclusive in one area like the PI
xVnon
@Novaspirit Tech are you able to show how to hook it up to a nas or a storage device and would you ne able to use poe cameras hooked up to a poe switch?
Forrest Rhoads
These are good topics to explore. Perhaps you could double check that the process works when writing to a hard disk on the pi 4
Kevin Shumaker
It will not boot/run from a HD. It is hard-coded to mmcblk0p1 & 2. You can use an attached USB for local storage, HD, Thumb, etc. or any NAS with SMB or FTP support, or cloud storage like GDrive & DropBox.
Vinod Shankar Menon
Thanks for the information! Can we get information on where we can configure this to store on NAS or Cloud Storage?
Budiman JoJo
Are you planning on making a video integrating this with Home Assistant? I would be really grateful if you do 🙏
Kevin Shumaker
The “Community” version of motionEye on Home Assistant isn’t the same as the motionEye or motionEyeOS versions, and is supported by Frenck (Franck Nijhof)
Kevin Shumaker
If Calin Crisan doesn’t thank you, I am. I help support motionEye and motionEyeOS over on Github.
Novaspirit Tech
thank you!
Joseph Swift
Thank you for your work on supporting the project! I use motioneye on a old PC build and recent incorporation of nvenc made it possible to record efficiently at crazy settings, which in turn makes it feasible for a more serious CCTV solution (short of cybersecurity features but hey we all set up VLANs) keep up the good work 🙂
Aciel Gaming
Hey Don,
Thank you for doing this video, which I asked for a month or so ago.
How can we use wired POE IP Cameras? as recording over WiFi can not be reliable & can cause congestion if one doesn’t have good local networking.
Novaspirit Tech
POE IP cameras will require a POE hub, and as for recording wireless, this will be an issue for IP CAMERA with poor connection, not for rpi zero w since those record then transfers to SMB
Aciel Gaming
@Novaspirit Tech Can we use POE Hub/Switch connected to router and then use rtsp stream over ethernet?
Dave Gagliardi
This is a great walk through Don, thanks for doing this!
Jaz808
MotionEyeOS is Great, been using it with a Pi Zero
Davo CC
am curious to see the CPU load and memory load on the Pi hosting this with three streams going – did you SSH into it and run HTOP or Glances, etc.?
Ryzech
I attempted this a year ago but my frickin pi cam cable broke so I could t use it. But I have a USB camera so I might try this sometime soon
Nicholas Souris
I don’t know why, but I love to hear the “hack till it hurts” at the end.
alan stedman
Another great video Don. Any reason not to change the pi zero to a fast network camera and have better frame rates?
Mike Rozman
Great video as always. Can you make a video going over the process for viewing the cameras remotely outside your home network without using port forwarding? I am using a Verizon Hot Spot with my Raspberry pi. The problem is that I can’t get port forwarding to work with the cameras/raspberry pi using port forwarding on the hot spot. If you could make a video showing how to view the cameras remotely without using port forwarding that would be great. Thanks.
Aerox
I’ve used Raspberry Pi’s as main component in all my securitysystems during the past years – and they are SO much better than ANY $300+ surveliance-system! A Raspberry Pi can do everything that ANY premium security system can + whatever custom feature you want – and all this for just a fraction of the price! 😁👍
By installing a pre-configured system from a security company, you put your trust and security in the hands of complete strangers… With Raspberry Pi’s – YOU make the rules and keep control!
Think about it. Do you actually KNOW that the operators are NOT secretly spying on you through your brand new $800 “super secure” surveliancesystem? 🤔
No. You don’t.
– “But what if I disconnect the cameras from my internernet?”
You might ask.
Well, if the systems are depending on a internetconnection in order to work (which btw is a HUGE red flag), then the PCB could include a eSim-module, wich would allow the cameras to re-connect over 4G in the case of a power-outage. And if they’re serious about security – then they already have a solution prepared for a situation like that.
(…And you should include a plan for unexpected power-outages in your system as well)
Joseph Swift
Nice video! I remember after certain update last year, motioneyeos will read wpa_supplicant.conf under root everytime it boots up. It will still remove the file upon reading but if you put another one in it will take it as input. Of course reflashing is kinda best practice here but it’s not necessary anymore.
sean fitzmaurice
Just put together a similar setup. Your video was a great help, thank you. Only thing I did differently was used my NAS for storage rather than relying on the pi’s SD.. uploading lower res files to Dropbox too.
One question: what FPS are you getting on the zero cam?
I can get 30fps on my high quality cam but can’t seem to get the zero cam higher than 5fps or so
Willy Lam
How do you configure static IP.
Pravardhan Udaya Simhaa
Wow! You have explained all the options that are available in motioneyeos in one video.
ארבע מאות עשרים
Dude, you have an incredible lighting setup!
Shaun Denhoff
Great video, thanks! Question, how difficult would it be to get to the underlying OS to run a cron job, something like log rotate, to tar up and export older videos to a central file share? I know I could just install it and see, but I’m out of town with minimal access to the stuff I have at home.