raspberry pi security camera

Forum for questions and support relating to the 1.30.x releases only.
Post Reply
cTurtle98
Posts: 16
Joined: Sun Nov 13, 2016 3:18 am
Location: Santa Cruz, CA, USA
Contact:

raspberry pi security camera

Post by cTurtle98 » Sun Apr 23, 2017 3:05 am

I am using a raspberry pi zero w and a camera module and a dummy security camera to make my own security camera

should I find some way of making the raspberry pi stream its camera like its an ip camera and have my zoneminder server connect to it
or
should I install zoneminder on the pi using the guider here (https://wiki.zoneminder.com/Raspbian) and set it up using the guide here (http://zoneminder.readthedocs.io/en/sta ... erver.html)

also im not quite sure what to do for the multi server install to make my raspberry pi connect to my zoneminder server so if the second option is the better one I will need some help making that work.

currently I have an old computer I am using as a server with some usb webcams plugged into it so I can see around my room when im not home

Thanks,
cTurtle98

rockedge
Posts: 1147
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

Re: raspberry pi security camera

Post by rockedge » Sun Apr 23, 2017 3:51 am

set up the raspberry with zoneminder run the camera module as a local camera. Then using the second old machine run zoneminder and use the stream from the ZM feed from the raspberry, so the second machine is the zm server and the raspberry is using ZM to act like a network camera.

User avatar
iconnor
Posts: 1228
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: raspberry pi security camera

Post by iconnor » Sun Apr 23, 2017 12:13 pm

First off, keep the mysql db on the old server, to free up ram on the pi. nfs mount the zoneminder events dir from the old server onto the pi so that all the events are stored on the old server. (You might use samba instead.).

The multi-server setup is easy. GO to options -> Servers. Add entries for each server. Edit /etc/zm/zm.conf on each server and set the name as appropriate. Done.

User avatar
knight-of-ni
Posts: 2268
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: raspberry pi security camera

Post by knight-of-ni » Sun Apr 23, 2017 12:38 pm

I would not recommend installing ZoneMinder directly on any flavor of Raspberry Pi Model 1, including the zero.
512MB ram and a single cpu core isn't going to be enough, even if you are using the gpu to process the picam stream.

Instead, just make a camera, and install ZoneMinder on some other machine.
Here is how I did it: http://zoneminder.blogspot.com/p/rasbpe ... amera.html
If you are running raspbian, rather than Fedora, all you have to do is ensure the v4l2 driver is working with your camera, and then install v4l2rtpserver off github. Then go program your new camera in ZoneMinder.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests