Page 1 of 1

Using motion, cannot find images

Posted: Wed Apr 20, 2016 2:36 pm
by atomickarma
Hi. Using PiCam module on RPi 2, setup with motion (using bcm2835-v4l2) and able to view feed.

However, unable to find captured images! motion.conf indicates they're stored in /var/lib/motion, but directory is permanently empty, both via command line and GUI. Could this be a permissions issue? Tails doesn't report anything about writing the image, which must be saved somewhere for it to be viewed from another device.

Additionally, motion seems to go to sleep after a few minutes, requiring me to stop and start the service. Any thoughts on either (or both) of these?

Re: Using motion, cannot find images

Posted: Wed Apr 20, 2016 2:50 pm
by MarkHaysHarris777
atomickarma wrote:Hi. Using PiCam module on RPi 2, setup with motion (using bcm2835-v4l2) and able to view feed.

However, unable to find captured images!
Did you follow this write-up?

A simple google search for setting up motion on the Raspberry PI gets several good hits; see what you can find.

Re: Using motion, cannot find images

Posted: Thu Apr 21, 2016 6:44 am
by atomickarma
MarkHaysHarris777 wrote:
atomickarma wrote:Hi. Using PiCam module on RPi 2, setup with motion (using bcm2835-v4l2) and able to view feed.

However, unable to find captured images!
Did you follow this write-up?

A simple google search for setting up motion on the Raspberry PI gets several good hits; see what you can find.
I've seen a lot of pages, but never this one - checking it now. Thanks Mark.

Re: Using motion, cannot find images

Posted: Thu Apr 21, 2016 8:07 am
by atomickarma
Turns out this needed some sleep and logic. /var/lib/motion wasn't owned by motion, so images were being captured, streamed, and not saved for about 30 seconds before it gave up. Two issues were connected, and fixed with

sudo chown motion: /var/lib/motion