This repo contains our efforts to make a smart security system.
The following hardware was used to for the Vigilo Security System:
- Raspberry Pi 3 B+ Starter Kit Amazon
- Adafruit Magnetic Sensor Amazon
- Logitech C270 Webcam Amazon
- USB Hub with External Power Amazon
- Jumper Wires Amazon
To install dependencies run the following commands on your RasberryPi (running Raspbian):
-
ARP Scan:
sudo apt-get install arp-scan -y
-
FS Webcam:
sudo apt-get install fswebcam -y
-
Python Libraries:
- To install of the pythond dependencies run from the root directory:
pip3 install -r requirements.txt
Alternatively, you can run
pip3 install imgurpython
andpip3 install twilio.rest
- To install of the pythond dependencies run from the root directory:
Create a file at ./src/credentials.ini
and populate with relevant credentials:
[Imgur]
USERNAME = *****
PASSWORD = *****
CLIENT_ID = *****
CLIENT_SECRET = *****
ACCESS_TOKEN = *****
REFRESH_TOKEN = *****
[Twilio]
SID = *****
TOKEN = *****
TO = *****
FROM = *****
[User]
NAME = *****
MAC = *****
PICTURE *****