Skip to content

Python script to be run when motion is detected and image is captured

Notifications You must be signed in to change notification settings

jpstratman/motion-detected

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

motion-detected

Python script to be run when motion is detected and image is captured

Run with command python3 /home/pi/.motion/on-motion.py -f file_location replacing file_location with absolute path of image file.

Environment variables must be defined for the following before running:

  • DROPBOX_ACCESS_TOKEN
  • SENDER_EMAIL
  • SENDER_AUTH
  • TWILIO_SID
  • TWILIO_AUTH_TOKEN
  • TWILIO_DESTINATION
  • TWILIO_SOURCE

About

Python script to be run when motion is detected and image is captured

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages