This document describes a motion-based intrusion detection system using a Raspberry Pi, sensor, camera, and email client. The system works as follows:
1. A passive infrared sensor detects any motion in a restricted area and sends a signal to the Raspberry Pi.
2. When motion is detected, the Raspberry Pi uses the connected camera to record a video of the area with the date and time as the file name.
3. The recorded video is then emailed to the user using a Mutt email client. This notifies the user of any intrusion and provides a video of the event.