Makeshift Raspberry Pi Security Camera System
Makeshift Raspberry Pi Security Camera System
This also works with a Macbook camera, and probably any machine with a camera device.
More information on my blog post.
Streaming & motion detection | SMS text notifications |
---|---|
Install ffmpeg and make sure it's in your PATH
.
Install Python3
Install python dependencies (preferably inside a virtual environment.) Packages can be found in requirements.txt
:
pip install -r requirements.txt
Set the following environment variables:
export [email protected]
export EMAIL_PASSWORD=youremailpassword
export [email protected]
# this can be whatever you like:
export OUTPUT_FILE_PREFIX=motion
SMS_PHONE_NUMBER
should use the appropriate SMS gateway address for your carrier.
Start the server:
python main.py
MIT