Server Settings
-
Docu:
mankier
motion-project.github
FAQ
sudo apt-get install motion -y
-
show Format Video Capture
v4l2-ctl -V
or
v4l2-ctl --list-formats-ext
-
change config
sudo nano /etc/motion/motion.conf
change to
daemon on
stream_localhost off
target_dir /home/pi/Monitor
framerate 10
v4l2_palette 9
width 352
height 288
-
folder settings:
mkdir /home/pi/Monitor
sudo chgrp motion /home/pi/Monitor
chmod g+rwx /home/pi/Monitor
sudo chmod g+rwx /var/log/motion/
by problems try
sudo chmod 777 /var/log/motion/
and start
sudo motion start
192.168.5.120:8081/
- run as a daemon on startup
sudo nano /etc/motion/motion.conf
set daemon on
daemon on
sudo systemctl enable motion
reboot
sudo service motion status