Skip to content

Instantly share code, notes, and snippets.

@kevincolten
Last active July 17, 2017 21:58
Show Gist options
  • Save kevincolten/f575ea3cfe7cf7fb7a6bb3893d9d4ccb to your computer and use it in GitHub Desktop.
Save kevincolten/f575ea3cfe7cf7fb7a6bb3893d9d4ccb to your computer and use it in GitHub Desktop.
Motion camera

Receive email if movement

  1. Download Raspbian Jessie Lite
  2. Use Etcher to burn OS image to SD Card
  3. Install motion-mmal
sudo apt-get install -y libjpeg-dev libavformat56 libavformat-dev libavcodec56 libavcodec-dev libavutil54 libavutil-dev libc6-dev zlib1g-dev libmysqlclient18 libmysqlclient-dev libpq5 libpq-dev
wget https://www.dropbox.com/s/6ruqgv1h65zufr6/motion-mmal-lowflyerUK-20151114.tar.gz
tar -zxvf motion-mmal-lowflyerUK-20151114.tar.gz
  • test ./motion -c motion-mmalcam-both.conf
  1. Install Node-RED bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment