In this segment we are going to "Install motionEyeOS on Raspberry Pi B Plus "

motioneye What is motionEyeOS ?

motionEyeOS is a Linux distribution that turns a single-board computer into a video surveillance system. The OS is based on BuildRoot and uses motion as a backend and motionEye for the frontend.

motioneye
raspberrypi Equipment Required :
raspberrypi Raspberry Pi 3 Model B +
raspberrypi Micro SD Card "Minimum 2 GB"
raspberrypi Power Supply
raspberrypi Ethernet Cord for LAN Connection
raspberrypi USB Camera
raspberrypiOptional :
raspberrypi Raspberry Pi Case
raspberrypi Keyboard
raspberrypi Mouse

motioneye motionEyeOS Installation
motioneye Access motionEyeOS Web Interface
  • Now we use the RaspberyPi IP Address to access the motionEyeOS Web Interface by typing it in the address bar.
  • It will directly take us to the motionEyeOS Login Screen.
  • motionEyeOS Default Login.
    motioneye
 Default Username : admin
 Default Password : blank
  • Once, we logged in to motionEyeOS then we have to do 2 important steps.
  • Set a new password for Admin account.
  • Enable the Advanced Settings.
  • Then click on Apply.
motioneye Connecting USB Camera to motionEyeOS
  • USB camera will be automatically detected by the sytem. No configuration required.
motioneye Connecting Network Camera to motionEyeOS
motioneye
 Camera Type : Network Camera
 URL : Type Camera IP Address
 Username : Type Camera Username {if required}
 Password : Type Camera Password{if required}
 Camera : Automatically Detected
motioneye Setting up Static IP Address
  • To setup the Static IP Address on motionEyeOS, We need to navigate to Network.
  • Now, select IP Configuration and then set it to Manual (Static IP).
    motioneye
  • After the change the IP Address and leave other settings as it is and press Apply.
motioneye Setting up Motion Triggered E-mail Notifications
  • First of all we need to enable Motion Detection.
    motioneye
  • Now from Motion Notifications, we need to enable Send An E-mail.
    motioneye
 Email Addresses : Type e-mail address where you want email notifications, sperated by comma's
 SMTP Server : SMTP Server Address
 SMTP Port : SMTP Port number
 SMTP Account : Your Email Address
 SMTP Password : Your Email Password Address
 From Address : Leave it Blank, or you can choose a Custom Email Address
 Use TLS : Depend on your server
 Attached Pictures Time Span : Set 0 if you don't want picture notification. Otherwise set according to your need. 
motioneye Setup FTP Uploads
  • From Services enable all FTP Options.
 Enable FTP Server : ON 
 Require FTP Authentication : ON 
 Enable FTP Write Support : ON
motioneye
  • Now, we need to navigate to File Storage --> Upload Service and choose FTP Server.
    motioneye
 Upload Media Files : ON
 Upload Pictures : ON
 Upload Movies : ON
 Upload Service : FTP Server
 Server Address : Your Website Address
 Server Port : Default is 21
 Location : Location of Folder where to want to save the files
 Include Subfolder : ON
 Username : User ID
 Password : Password
  • Create a seprate folder for your CAMERA for example CAM01.
  • Once you fill all the details click on Test Service.
  • If all the details are corrrect you will see this Message : Access the Upload Service Succeeded.
motioneye Setup Google Drive Uploads
  • Now, we need to navigate to File Storage --> Upload Service and choose Google Drive.
    motioneye
 Upload Media Files : ON
 Upload Pictures : ON
 Upload Movies : ON
 Upload Service : Google Drive
 Server Address : Your Google Drive Folder Location
 Include Subfolder : Default is 21
 Clean Cloud : ON [If you want to delete the file from cloud when it delete from local storage] 
 Authorization Key : Get it by Clicking on Obtain Key.
/> Authorization Key
motioneye
  • Create a seprate folder for your CAMERA for example CAM01.
  • Once you fill all the details click on Test Service.
  • If all the details are corrrect you will see this Message : Access the Upload Service Succeeded.
motioneye Setup Google Photo Uploads
  • Now, we need to navigate to File Storage --> Upload Service and choose Google Photo.
    motioneye
 Upload Media Files : ON
 Upload Pictures : ON
 Upload Movies : ON
 Upload Service : Google Photo
 Server Address : Your Google Photo Folder Location
 Authorization Key : Get it by Clicking on Obtain Key.
/> Authorization Key
motioneye
  • Create a seprate folder for your CAMERA for example CAM01.
  • Once you fill all the details click on Test Service.
  • If all the details are corrrect you will see this Message : Access the Upload Service Succeeded.
motioneye Accessing motionEyeOS from Outside Network
  • To access the motionEyeOS from Internet, we need to complete 2 steps.
  • Port Forwarding
  • Setup Dynamic DNS [In case you don't have a Static Public IP Address]
motioneye Setting up Port Forwarding on Router
  • To forward the port on the router, we need to know the IP Address of our router.
  • To check the router IP Address we can use the Wireless Network Watcher.
  • It will display the router IP Address as shown below.
    motioneye
  • Type this IP Address to your browser and it will open the login page for your router.
  • Now, you need to enter the username and password and login to your router.
  • If you don't know the username and password of your router you can always ask your ISP.
  • For personal routers you can always check online for default username and password for the router.
  • In my case i need to navigate to services and then move to Port Forwarding, Your's might be different.
  • Then you need to forward Port 8081, to the Raspberry Pi IP Address.
    motioneye
motioneye Setting up Dynamic DNS
  • First of all we need to visit DUCKDNS website to create a Free Dynamic DNS Domain for us.
    duckdns
  • You can use any of the above method to login to DUCKDNS website and create a sub-domain for your website.
  • Once you logged and create a sub-domain for your motionEyeOS and you can visit motionEyeOS by that address.
    motioneye
  • For example in my case i have created meos as my subdomain.
  • So, i can access it as meos.duckdns.org.
  • You can create 5 subdomains on Duck DNS account for free.
Now, You are ready to use motionEyeOs on your Raspberry Pi.
If you come across any issues or have some feedback related to this tutorial, Please share your thoughts.
Smile ("_")