Motion on a Raspberry Pi with a USB camera

to test

motion -n stand alone mode

to run in deamon mode

motion -b run in daemon mode

root@raspberrypi:/var/log/motion# motion -b
[0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf
[0:motion] [NTC] [ALL] motion_startup: Logging to file (/var/log/motion/motion.log)

Config you may wanto change

  • check your video device

videodevice /dev/video1

  • set your movie quality

movie_quality 85

  • allow network access to webcontrol

webcontrol_localhost off

  • allow network access to stream

stream_localhost off

  • Change camera text

text_left BC_CAMERA1

 Checking it's working

connect to your browser via port 8080

http://192.168.178.62:8080/