Popup

Wait! Don’t Go Yet! 👋

Become a Member Today and Unlock Access to All eBooks! 😍

Thousands of eBooks at your fingertips. Read, learn, and grow anytime, anywhere ✨

Install MotionEyeOS on Raspberry Pi – Surveillance Camera System

Do you want to turn your Raspberry Pi into a surveillance camera system? The best way to do it is using MotionEyeOS. In this post, we’ll show you how to get started with MotionEyeOS on your Raspberry Pi.

What is MotionEyeOS?

MotionEyeOS is a Linux distribution that turns your single-board computer into a video surveillance system. The MotionEyeOS supports the following devices:

  • Raspberry Pi (all versions);
  • Banana Pi;
  • Odroid C1/C1+, Odroid C2, Odroid XU4;
  • Pine A64/A64+.
motioeye compatibility

MotionEyeOS Features

MotionEyeOS is the perfect solution for building your own surveillance system, as it is simple to install and features a web-based, user-friendly interface that is responsive in virtually any browser.

It supports most USB cameras, Raspberry Pi camera modules, and IP cameras. Additionally, it brings other useful features when it comes to a surveillance system:

  • Motion detection with email notifications
  • You can set a working schedule
  • Take still images
  • Store your files in an SD card, a USB drive, or upload your files to Google Drive or Dropbox
  • Access your media files through the FTP server or the SFTP server

Parts Required

Top 6

Raspberry Pi eBooks

From Zero to Professional

Raspberry Pi Projects

For this project, we’re using the following parts:

Installing MotionEyeOS

To install MotionEyeOS on your Raspberry Pi 3, follow the next steps.

Formatting your microSD card

You’ll install MotionEyeOS on a microSD card and then insert the microSD card into your Raspberry Pi board. But first, you need to format your microSD card – there are several ways to do this, but we recommend following the next procedure:

  1. Go to https://www.sdcard.org/downloads/formatter_4/ and download the SD Card Formatter software for your operating system.
  2. Install the SD Card Formatter software.
  3. With your microSD card connected to your computer, open the SD card Formatter application, and format your microSD card with the “overwrite format” option.
sd formatter

Downloading the OS Image

Choose the right image for your device: MotionEyeOS releases page. If you’re using the Raspberry Pi 3, choose motioneyeos-raspberrypi3-xxxxxxxx.img.gz.

Writing the Image

Next, extract the image from the .zip folder. Then, you can use Win32DiskImager or Etcher to write the image onto the SD card.

We’re going to use Etcher. If you don’t have Etcher installed, you can click here and install it on your computer.

With the microSD card formatted and connected to your computer, open Etcher. Select the image you’ve gotten previously, select your microSD card, and click Flash!

etcher motioneye

When the flash is completed, your microSD card is ready!

Booting MotionEye on Raspberry Pi

Follow the next steps to boot MotionEyeOS for the first time on your Raspberry Pi.

1. Insert the microSD card in the Raspberry Pi.

2. Connect an Ethernet cable – this is needed on the first boot.

3. Connect a camera. If you’re using the Raspberry Pi camera V2 module, make sure you’ve connected the camera in the right orientation as shown in the following image;

connect camera

4. Apply power to your Pi, and wait for about 2 minutes for the system to be ready.

Now, to access your Raspberry Pi, you need to find your Pi’s IP Address

Finding Your Raspberry Pi IP Address

To find your Raspberry Pi IP address, you can use Angry IP Scanner. The IP you’re looking for is the one with “meye” in the name, as shown in the following figure.

motioneye finding ip

Accessing MotionEye For the First Time

Open your browser and type the Raspberry Pi IP address. You’ll see the MotionEye login page.

motion eye first page

At the first boot, use the following credentials:

  • Username: admin
  • Password: [No password, leave blank]

If you have a camera connected to your Pi, it should be detected automatically, and you should see a live image from the camera. We’ve connected two cameras, a USB camera, and the Raspberry Pi Camera V2 module, and it automatically shows a live image from both.

demo 2 cameras 750px

Initial Setup

You can configure pretty much everything in your web user interface. We recommend taking a look at the following configurations when configuring MotionEyeOS for the first time.

  1. Go to the three-bar menu and open the General Settings.
  2. Enable Advanced Settings.
  3. You can change the admin username and set a password.
  4. You can also set a name for a surveillance user and their corresponding password.
  5. Set your timezone and a hostname.

Click the orange button at the top right, “Apply” to apply the changes – this will require a reboot.

initial setup

You can also enable Wireless Network in the Network menu. You need to enter your network credentials as shown in the following figure.

network motioneye

The software is intuitive to use. Take a look at the menus and see what they can do.

other settings

Wrapping Up

This was just an introduction on how to get started with MotionEyeOS on the Raspberry Pi 3. In this example, we’re using a single device (the Raspberry Pi board) with two cameras, but it can be more useful using a Raspberry Pi 3 as a Hub, and then use several cameras in different locations, each of them connected to a Raspberry Pi Zero W. Learn how to build a CCTV Raspberry Pi Based System with Storage using MotionEyeOS.

We hope you’ve found this post useful. If you want to build your own surveillance system, then MotionEyeOS is the way to go.

You may also like the following projects:

Thanks for reading.

Share your love

🚀 Discover the world of electronics and innovation!

✨ Create, program, and experiment with all your creative ideas with ease.

Spotpear

Leave a Reply

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

Secure Payments
Securing online payments is a shared responsibility, and everyone can contribute.
Free Shipping
You get unlimited free shipping on eligible items with Ebokify, with no minimum spend.
24/7 Support
Sales gifts are helpful tools often used to show appreciation to clients for their purchase.
Gifts & Sales
Our customer care service is offered in the form of 1st or 2nd level support.