SkillAgentSearch skills...

Creeper

Makeshift Raspberry Pi Security Camera System

Install / Use

/learn @denvaar/Creeper
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

creeper

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 :---------------------------:|:-------------------------: <img width="430" alt="creeper" src="https://user-images.githubusercontent.com/10538978/28256157-bc63a8c6-6a7c-11e7-909a-0dfbb285d66e.png"> | <img width="330" alt="creeper" src="https://user-images.githubusercontent.com/10538978/28256176-f6d24d82-6a7c-11e7-9550-a65b17f3cbd6.jpg">

Features

  • Captures video and detects motion using OpenCV library.
  • Streams video to web page via motion JPEG.
  • Allows clients to control camera from web page.
  • Allows multiple clients to view live stream.
  • Encodes and saves video files when motion is detected.
  • Sends a text message with video attachment when motion is detected.

Setup

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=youremail@gmail.com
export EMAIL_PASSWORD=youremailpassword
export SMS_PHONE_NUMBER=1111111111@mms.att.net
# 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

License

MIT

Related Skills

View on GitHub
GitHub Stars29
CategoryDevelopment
Updated2y ago
Forks5

Languages

Python

Security Score

80/100

Audited on Feb 4, 2024

No findings