Chapter 11:

REMOTE SECURITY CAMERA SYSTEM

Setting Up Your Remote Camera Security System with Motion Detection

Follow these steps to configure your remote camera security system with motion detection using the Motion service:

  1. Install the Motion service by running the following command:

    sudo apt-get install motion

  2. Open the Motion configuration file for editing:

    sudo nano /etc/default/motion

  3. Change the 'daemon' option to 'yes' to enable Motion as a background service.

  4. Next, edit the Motion configuration file by running the command:

    sudo nano /etc/motion/motion.conf

  5. In the configuration file, change the following settings:

    • Set 'daemon' to 'yes'

    • Change 'stream_local' to 'no'

  6. Start the Motion service:

    sudo service motion start &

  7. Load the necessary camera driver module:

    sudo modprobe bcm2835-v4l2 &

  8. Access the camera feed by opening a web browser and entering the following address:

    http://ip:8081

    (Replace 'ip' with the actual IP address of your camera system)

Your remote camera security system with motion detection is now configured and ready for use."