May 4, 2017

Setup Motion on raspberry pi

Use the following procedure to setup motion on a raspberry pi zero w.


  1. Setup raspbian on SD card via https://www.raspberrypi.org/documentation/installation/installing-images/README.md
  2. Update config to enable it to boot as a network gadget https://gist.github.com/gbaman/975e2db164b3ca2b51ae11e45e8fd40a
  3. ssh pi@rasberrypi.local
  4. run raspi-config
    1. reset password
    2. rename host zero
    3. enable camera module (under interfaces)
    4. Reboot
  5. ssh pi@zero.local
  6. sudo apt-get update
  7. sudo apt-get upgrade
  8. sudo apt-get install motion
  9. Edit /etc/default/motion
    1. start_motion_daemon=yes
  10. Add /etc/modules
    1. # camera with v4l2 driver
    2. bcm2835-v4l2
  11. restart



No comments: