Raspberry PI remote Web Server

Equipment Required:

1. Raspberry Pi
2. 8GB SD Card
3. Ethernet Card
4. Web Camera

In order to make a raspberry pi remote web cam server, we have to install a package known as motion. Motion is a program that monitors the video signal from camera. It also able to detect whether a part of the picture has changed or not.

First step is to download and install motion:

sudo apt-get install motion

Now we have to make some configuration changes

Open motion.conf (/etc/motion/motion.conf) through nano or vim

Make the changes for the following lines:

daemon on

webcam_localhost off

webcam_maxrate 100

framerate 100

width 640

height 480

Then edit the motion file (/etc/default/motion) and change it to the following:

start_motion_daemon=yes

start the service

sudo service motion start

Now open it in browser:

<ipaddr>:8081




Comments

Popular posts from this blog

bb.utils.contains yocto

Difference between RDEPENDS and DEPENDS in Yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig