Repository for Ideas & Research
Open Source GIS, Hydrologic Modeling, Optimization

How to set up Motion on the Raspberry Pi Zero W

# Update the firmware and kernel modules
sudo rpi-update

# Create /dev/video0
sudo modprobe bcm2835-v4l2

# May need to upgrade Raspbian
sudo apt-get update
sudo apt-get upgrade

# Install Motion
sudo apt-get install motion

# Modify the Motion config file
sudo vi /etc/motion/motion.conf

# Run Motion
sudo motion