atomickarma
Posts: 6
Joined: Thu Apr 14, 2016 1:57 pm

Using motion, cannot find images

Wed Apr 20, 2016 2:36 pm

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?

User avatar
MarkHaysHarris777
Posts: 1820
Joined: Mon Mar 23, 2015 7:39 am
Location: Rochester, MN
Contact: Website

Re: Using motion, cannot find images

Wed Apr 20, 2016 2:50 pm

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.
marcus
:ugeek:

atomickarma
Posts: 6
Joined: Thu Apr 14, 2016 1:57 pm

Re: Using motion, cannot find images

Thu Apr 21, 2016 6:44 am

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.

atomickarma
Posts: 6
Joined: Thu Apr 14, 2016 1:57 pm

Re: Using motion, cannot find images

Thu Apr 21, 2016 8:07 am

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

Return to “Camera board”