Fast and Soiled CCTV with Raspberry Pi, MotionEyeOS + Webcam

On this article, I’ll stroll via the method of organising MotionEyeOS on a Raspberry Pi, utilizing an affordable USB webcam to create a DIY CCTV system.

MotionEyeOS is a pre-configured Linux distribution that turns your Raspberry Pi into a house CCTV system.  You possibly can arrange a number of cameras and set them to detect movement or file on a timer, and ship the ensuing images and movies to you through e-mail or save them to on-line storage.

What You’ll Want

  • A Raspberry Pi
  • A USB Internet digicam (or cameras)
  • A wired community to set issues up
  • A cup of tea to drink whereas issues set up
motioneyeos 0

Raspberry Pi, USB Webcam, and creepy teacup are all current.


Downloading and Putting in MotionEyeOS for Raspberry Pi

motioneyeos 1

Download the latest MotionEyeOS release from their GitHub. Ensure you get the newest model for the entire latest options and fixes.

motioneyeos 2

I’m utilizing Balena Etcher to put in writing the downloaded set up picture to an SD card to be used in my Raspberry Pi. Merely open Etcher and choose a disk picture and machine to put in writing it to.


motioneyeos 3

It could take some time to put in writing the picture – time for that cup of tea.


motioneyeos 4

When it’s accomplished, shut Etcher and insert the newly-written SD card into your Raspberry Pi.

motioneyeos 5

Your Pi will should be related to your LAN through Ethernet cable for this subsequent bit. You’ll additionally must know the IP deal with of your Raspberry Pi – we’ve previously detailed how to do that here. As soon as you’ve sorted all of that, head to http://<your-raspberry-pi-ip-address>.

Logging in to MotionEyeOS

By default, MotionEyeOS has two customers configured

  • Username ‘admin,’ with no password
  • Username ‘consumer,’ additionally with no password

The consumer will solely have permission to view video streams and can't edit the configuration.

Ensure you change the passwords to each accounts to forestall snooping!



motioneyeos 6

That is what you’ll see after logging in to MotionEyeOs. On the left, a panel for configuration – and on the proper, a currently-empty panel that can show video feeds.
I received’t cowl the entire configurations – save to say that you just in all probability need to set a static IP deal with in order that the place to entry your CCTV system sooner or later, quite than having to look it up each time.  I’ll cowl this additional alongside within the article.

Including a USB Digital camera to MotionEyeOS

A CCTV system wants to have the ability to see. So plug in your USB net digicam and wait just a few seconds earlier than clicking the message so as to add it to the system within the right-hand panel within the net UI.

motioneyeos 7

The ‘Add Digital camera’ dialog. Go away ‘Digital camera Sort’ as-is and choose the USB webcam from the dropdown. Most generic USB cameras ought to be suitable.


motioneyeos 8

Success! The digicam is reside.  Digital camera feeds will present within the right-hand panel as soon as added.  My digicam is watching a duck.

Further Configuration

motioneyeos 9

Scroll right down to the ‘Community’ part to arrange a Static IP deal with in your MotionEyeOS CCTV system so you'll find it on the community.


motioneyeos 10

The ‘Providers’ part can be utilized to configure how your system ought to be accessible on the community. SFTP and SAMBA are file-sharing protocols that can allow you to copy video recordings off the machine over your native community.

motioneyeos 12

Further ‘File Storage’ might be configured – together with cloud companies like DropBox.  This may make your recordings accessible to you wherever – and hold your recording secure if you're robbed, and the thief occurs to steal your Raspberry Pi as effectively.


motioneyeos 11

Cameras might be individually tweaked to account for lighting and positioning.

motioneyeos 13

Movement detection choices might be configured to set off recording based mostly on movement in sure areas of the recording.


motioneyeos 14

Notifications through e-mail might be arrange – or webhooks might be configured if you wish to hook MotionEyeOS into your individual DIY dwelling automation system.

So there it's! My duck is below shut surveillance.

MotionEyeOS is a cheap strategy to construct a house CCTV system.  The Raspberry Pi 4 has 4 USB ports on it, so you might add as much as 4 USB cameras and use some USB extension cables to place them to observe your vacation shack or storage.

Business cloud CCTV programs can run a whole bunch of {dollars} and require month-to-month subscriptions – combining a Raspberry Pi, MotionEyeOS, and a Dropbox account can obtain this for a lot much less.

USB webcams might be discovered for pennies on on-line public sale websites, and MotionEyeOS additionally helps quite a lot of networked cameras if you wish to develop your system outdoors of the attain of USB cables.

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *