User Tools

Site Tools


software:zoneminder:picamera

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
software:zoneminder:picamera [2021/06/02 16:03] – created rodolicosoftware:zoneminder:picamera [2021/06/06 01:34] (current) rodolico
Line 1: Line 1:
 ====== Raspberry Pi Camera on ZoneMinder ====== ====== Raspberry Pi Camera on ZoneMinder ======
 +
 +I spent a lot of time trying to find some good software to run on a Raspberry Pi to turn it into a camera. Even tried to write my own using Perl, but all the libraries are in Python, so it took too much for a simple project.
 +
 +I found the v4l2rtspserver (https://github.com/mpromonet/v4l2rtspserver) and decided to try it. The author has a good page, but assumes I knew how to configure ZoneMinder (which was mistaken).
 +
 +Anyway, no GUI needed, so I did the Raspberry Pi OS Lite (https://www.raspberrypi.org/software/operating-systems/) and set it up, then did the following. Ended up with a pretty decent camera that is not "phoning home" with all your images.
 +
 +===== Configure Raspberry Pi =====
 +
 +  - Enable wlan by adding the following to /etc/wpa_supplicant/wpa_supplicant.conf<code bash>country=US
 +network={
 +   ssid="your ssid"
 +   psk="your psk"
 +}</code>
 +  - Enable camera interface<code bash>
 +raspi-config
 +# go to Interface, and enable camera
 +</code>
 +  - Verify camera works<code bash>
 +raspistill -v -o test.jpg
 +</code>
  
 ===== Install v4l2rtspserver on camera ===== ===== Install v4l2rtspserver on camera =====
  
 <code bash> <code bash>
 +# get pre-req's
 +apt -y install cmake liblog4cpp5-dev libv4l-dev git
 git clone https://github.com/mpromonet/v4l2rtspserver git clone https://github.com/mpromonet/v4l2rtspserver
 cd v4l2rtspserver cd v4l2rtspserver
software/zoneminder/picamera.1622667786.txt.gz · Last modified: 2021/06/02 16:03 by rodolico