geppetto
Posts: 40
Joined: Mon Sep 19, 2011 8:03 am

Using a Pi to store images from a security camera

Wed Jun 21, 2017 10:28 am

Sorry guys I'm new to all this.... :oops:

I have a security camera on my home network and I want to store the images generated by motion alert on a Pi which will have an attatched WD hard drive...

So could somebody point me in the right direction so I can read up and start the project.
Will I need to install say an FTP server on the Pi to achieve this or is that not the correct approach?

Thanks for any pointers

Phil

User avatar
RaTTuS
Posts: 10558
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Using a Pi to store images from a security camera

Wed Jun 21, 2017 10:37 am

What type of camera ?
how do you log into it to get images
what software is provided
is it an IP camera or analogue
what streams does it provide
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

geppetto
Posts: 40
Joined: Mon Sep 19, 2011 8:03 am

Re: Using a Pi to store images from a security camera

Wed Jun 21, 2017 12:14 pm

Hi
It's a Foscam WIFI IP camera and I use either the app on my iPad or the provided Windows software to view it's output.
What I need, is some where to store the snippets of video or single image snapshots generated by the camera when it
detects motion.

I was looking in the "save" settings on the camera GUI and it can save to an SD card inside the camera but that goes if
somebody steals it. Also, I noticed that I can set it up to FTP these captures and so my interest in using a Pi to receive and
store them..

As I say, I'm not to technical but if I'm on the right lines, I'm prepaired to put the work and learning in..

Thanks for your response

Phil

jgreen71
Posts: 92
Joined: Wed May 01, 2013 12:29 pm
Location: Clarksville, IN

Re: Using a Pi to store images from a security camera

Wed Jun 21, 2017 12:24 pm

geppetto wrote: Also, I noticed that I can set it up to FTP these captures and so my interest in using a Pi to receive and
store them.
I would say that this is your best bet. Set up an FTP server on the PI to store the images, and have the camera push the images there.

A quick Google also shows that the camera may have its own internal web server. A bit of peeking around might let the PI scrape the images from the camera that way.

geppetto
Posts: 40
Joined: Mon Sep 19, 2011 8:03 am

Re: Using a Pi to store images from a security camera

Wed Jun 21, 2017 12:35 pm

Thank you

Forgot to post the model of the camera......FOSCAM FI9900P Outdoor HD WiFi IP Camera

They do a fairly cheap (£54) NVR for it which needs a hard drive adding but to access that needs a mouse/keyboard and monitor.
I guess it's Linux based but the Pi will be much cheaper to run 24/7.

Looking forward to getting stuck into this project as I have a spare Pi3 and an original unused WD 314G drive that WD brought out for the Pi

Phil

geppetto
Posts: 40
Joined: Mon Sep 19, 2011 8:03 am

Re: Using a Pi to store images from a security camera

Sun Jun 25, 2017 10:31 am

YAY!
Got it working...
Used a Pi3 with latest Raspian.
Installed a basic setuo of VSTPD as per instructions here..
http://choccyhobnob.com/tutorials/setti ... pberry-pi/
Setup the Foscam and it started uploading motion captures to the Pi in it's Home folder.

Next, I installed a Raspian image on my WD Pi drive (314Gb) and followed instructions here to
run my Pi from the drive...
https://www.raspberrypi.org/documentati ... des/msd.md

So, I now have no SD card in the Pi, it boots from the WD drive and the Foscam now has over 289Gb to
fill up :)
I monitor what's on the images using FileZilla..

All easy peasy to most of you folk but to this 71 year old Linux numpty it was a task but good outcome.
Going to learn now how to maybe tweak/improve it all..

Phil

Return to “Networking and servers”