Giter VIP home page Giter VIP logo

spi-box's Introduction

Spi-Box

Motion Activated Security Camera

Steps for PiTalk software installation -

  1. Open Terminal and download the code by writing:

    git clone https://github.com/sbcshop/Spi-Box.git
    
  2. Your code will be downloaded to '/home/pi' directory. You can use 'ls' command to check the list of directories.

  3. Go to 'Spi-Box' directory. Move 'SPi-Box' and 'SPi-Box Config' (shortcut icon) to Desktop

  4. Install 'SSMTP' (SSMTP is for mail configuration) and 'MPACK' (MPACK is used for sending attachements) using commands:

    sudo apt-get install ssmtp
    sudo apt-get install mpack
    
  5. Install MP4Box with:

    sudo apt-get install -y gpac
    
  6. Edit SSMTP configuration file:

    sudo nano /etc/ssmtp/ssmtp.conf
    

    Add the following configuration and save it;

    root=postmaster
    mailhub=smtp.gmail.com:465
    hostname=raspberrypi
    [email protected]
    AuthPass=user_password
    FromLineOverride=YES
    UseTLS=YES
    
  7. Send a test mail using command:

    mpack -s "subject" file_path [email protected]
    

    Example:

    mpack -s "test mail" /home/pi/image.png [email protected]
    
  8. Google will block your sign-in attempts. Check your mail Inbox and allow to less securing apps so that Raspberry can send Emails

  9. Repeat Step 6 for sending a test mail

  10. Double Click on 'SPi-Box Config' icon placed on desktop, and configure it:

  • Tick on "turn on email"
  • Enter the subject
  • Enter the email recipient address
  • Click on "Test Email" for checking configuration is correct
  • Press "save and quit"
  1. Connect the Camera with Raspberry pi and PIR sensor output to 'GPIO 4' i.e. Pin 7 of Raspberry Pi

  2. Enable Camera in Raspberry Pi Configuration and Restart the Raspberry Pi

  3. Double Click on "SPi-Box" icon on Desktop, to run the script and if motion is dectected it will click and image and email it

spi-box's People

Contributors

sbcshop avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.