{"id":4801,"date":"2013-06-25T05:49:41","date_gmt":"2013-06-25T05:49:41","guid":{"rendered":"http:\/\/178.62.14.192\/?p=4801"},"modified":"2013-06-25T05:49:41","modified_gmt":"2013-06-25T05:49:41","slug":"use-zoneminder-on-the-raspberrypi-with-the-camera-module","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=4801","title":{"rendered":"Use Zoneminder on the #RaspberryPi with the camera module"},"content":{"rendered":"<p><a href=\"http:\/\/www.raspberrypi.org\/phpBB3\/viewtopic.php?t=43698&amp;p=375994#p375994\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone alignleft\" alt=\"\" src=\"https:\/\/i0.wp.com\/www.zoneminder.com\/sites\/zoneminder.com\/files\/ZoneMinderSmall.gif?resize=175%2C75\" width=\"175\" height=\"75\" \/>Over on the Foundation forum<\/a>, a chap called &#8216;jimmyst&#8217; has been working on getting Linux-based security surveillance software\u00a0<a href=\"http:\/\/www.zoneminder.com\/\">Zoneminder <\/a>to work with the Raspberry Pi camera module. Here&#8217;s <a href=\"http:\/\/www.raspberrypi.org\/phpBB3\/viewtopic.php?t=43698&amp;p=375994#p375994\">what he wrote<\/a>&#8230;<\/p>\n<hr \/>\n<p><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">Here is some progress I made on using Raspberry Pi camera as an IP camera for Zoneminder. I decided to try mjpg-streamer (<\/span><a class=\"postlink\" style=\"color: #8b0000; text-decoration: underline; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" href=\"http:\/\/sourceforge.net\/projects\/mjpg-streame\">http:\/\/sourceforge.net\/projects\/mjpg-streame<\/a><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">). You can also check this blog\u00a0<\/span><a class=\"postlink\" style=\"color: #8b0000; text-decoration: underline; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" href=\"http:\/\/www.phillips321.co.uk\/2012\/11\/05\/raspberrypi-webcam-mjpg-stream-cctv\/\">http:\/\/www.phillips321.co.uk\/2012\/11\/05 &#8230; ream-cctv\/<\/a><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\u00a0on very similar topic but utilizing USB camera, thanks phillips321.<\/span><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">Here are the steps of what I did:<\/span><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">1. Get the source code for the mjpg-streamer and build it. I did that on the rpi itself in the home folder (\/home\/pi). Feel free to use any place you find appropriate for your experiments<\/span><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><\/p>\n<dl class=\"codebox\" style=\"margin-bottom: 1.5em; padding: 3px; background-color: #ffffff; border: 1px solid #d8d8d8; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px;\">\n<dt style=\"line-height: 2em; font-weight: bold; text-transform: uppercase; border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; margin-bottom: 3px;\">CODE:\u00a0<a style=\"color: #8b0000; text-decoration: underline;\" href=\"http:\/\/www.raspberrypi.org\/phpBB3\/viewtopic.php?t=43698&amp;p=375994#\">SELECT ALL<\/a><\/dt>\n<dd style=\"line-height: 2em; margin: 0.5em auto;\"><code style=\"padding: 5px 4px 3px; font-family: Monaco, 'Andale Mono', 'Courier New', Courier, mono; font-size: 0.9em; color: #8b8b8b; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: #f7f7f9; border: 1px solid #e1e1e8; overflow: auto; display: block; height: auto; max-height: 200px; line-height: 1.3em; margin: 2px 0px;\">svn co https:\/\/mjpg-streamer.svn.sourceforge.net\/svnroot\/mjpg-streamer mjpg-streamer<br \/>\ncd mjpg-streamer\/mjpg-streamer<br \/>\nmake USE_LIBV4L2=false clean all<br \/>\nsudo make DESTDIR=\/usr install<br \/>\n<\/code><\/dd>\n<\/dl>\n<p><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">NOTE: the subversion (svn) is not installed by default in raspbian, so if you did not installed it already you will need to do:<\/span><\/p>\n<dl class=\"codebox\" style=\"margin-bottom: 1.5em; padding: 3px; background-color: #ffffff; border: 1px solid #d8d8d8; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px;\">\n<dt style=\"line-height: 2em; font-weight: bold; text-transform: uppercase; border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; margin-bottom: 3px;\">CODE:\u00a0<a style=\"color: #8b0000; text-decoration: underline;\" href=\"http:\/\/www.raspberrypi.org\/phpBB3\/viewtopic.php?t=43698&amp;p=375994#\">SELECT ALL<\/a><\/dt>\n<dd style=\"line-height: 2em; margin: 0.5em auto;\"><code style=\"padding: 5px 4px 3px; font-family: Monaco, 'Andale Mono', 'Courier New', Courier, mono; font-size: 0.9em; color: #8b8b8b; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: #f7f7f9; border: 1px solid #e1e1e8; overflow: auto; display: block; height: auto; max-height: 200px; line-height: 1.3em; margin: 2px 0px;\">sudo apt-get install subversion<br \/>\n<\/code><\/dd>\n<\/dl>\n<p><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">or whatever the name of the package is in debian\/raspbian. Alternatively you can fetch the code on your host machine and then scp it to raspberry pi. Honestly this is what I did. If you decide to go that route one more word of caution:\u00a0<\/span><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc; font-weight: bold;\">make sure the rpi clock is properly ntp synced and there is no difference between the time on the host machine and the rpi.<\/span><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\u00a0Otherwise the copy may get time in the future related to the rpi clock which will cause issues building the code.<\/span><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">2. It is time to start the raspberry pi camera. I use the following command:<\/span><\/p>\n<dl class=\"codebox\" style=\"margin-bottom: 1.5em; padding: 3px; background-color: #ffffff; border: 1px solid #d8d8d8; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px;\">\n<dt style=\"line-height: 2em; font-weight: bold; text-transform: uppercase; border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; margin-bottom: 3px;\">CODE:\u00a0<a style=\"color: #8b0000; text-decoration: underline;\" href=\"http:\/\/www.raspberrypi.org\/phpBB3\/viewtopic.php?t=43698&amp;p=375994#\">SELECT ALL<\/a><\/dt>\n<dd style=\"line-height: 2em; margin: 0.5em auto;\"><code style=\"padding: 5px 4px 3px; font-family: Monaco, 'Andale Mono', 'Courier New', Courier, mono; font-size: 0.9em; color: #8b8b8b; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: #f7f7f9; border: 1px solid #e1e1e8; overflow: auto; display: block; height: auto; max-height: 200px; line-height: 1.3em; margin: 2px 0px;\">raspistill -w 640 -h 480 -q 80 -e jpg -n -o \/tmp\/rpi-img.jpg -tl 500 -t 999999999 &amp;<br \/>\n<\/code><\/dd>\n<\/dl>\n<p><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">Which takes still pictures every 500ms (two in a second) and store them in the \/tmp folder under the file name rpi-img.jpg. I believe for security monitoring more than VGA resolution would be overkill this is why I use 640&#215;480 capture and 2 frames per second I believe are quite enough to capture any bad happenings.\u00a0<\/span><img data-recalc-dims=\"1\" decoding=\"async\" style=\"max-width: 100%; border: 0px; max-height: 15em; margin: 0px; clear: both; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" title=\"Wink\" alt=\";)\" src=\"https:\/\/i0.wp.com\/www.raspberrypi.org\/phpBB3\/images\/smilies\/icon_e_wink.gif?w=560\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\u00a0That is my opinion, please feel free to play with that command and adjust it to your liking. Just keep in mind that every still is written to the file system (\/tmp folder) which, if I am not wrong, appears on raspbian is configured to be on the sd card. Writing to the flash is not the fastest operation, so it very likely will be the bottle neck and if the resolution is higher that will increase the toll. Also the flash memory has relatively low number of writes limit and regardless the all great effort to improve it and implement sophisticated ware-leveling algorithms, still writing too often large file to the SD card would eventually fry it. You were warned!\u00a0<\/span><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">NOTE: One improvement on that approach would be to use RAM based filing system as destination for the image file. This will definitely mitigate any flash wearing concerns but also will improve the performance. If somebody knows how to create file system in RAM for that purpose please post instructions. I do not plan to look further on that because have different plans (see bottom of this post).<\/span><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">3. Now let&#8217;s fire up the mjpg-streamer and see how good we are doing:<\/span><\/p>\n<dl class=\"codebox\" style=\"margin-bottom: 1.5em; padding: 3px; background-color: #ffffff; border: 1px solid #d8d8d8; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px;\">\n<dt style=\"line-height: 2em; font-weight: bold; text-transform: uppercase; border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; margin-bottom: 3px;\">CODE:\u00a0<a style=\"color: #8b0000; text-decoration: underline;\" href=\"http:\/\/www.raspberrypi.org\/phpBB3\/viewtopic.php?t=43698&amp;p=375994#\">SELECT ALL<\/a><\/dt>\n<dd style=\"line-height: 2em; margin: 0.5em auto;\"><code style=\"padding: 5px 4px 3px; font-family: Monaco, 'Andale Mono', 'Courier New', Courier, mono; font-size: 0.9em; color: #8b8b8b; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: #f7f7f9; border: 1px solid #e1e1e8; overflow: auto; display: block; height: auto; max-height: 200px; line-height: 1.3em; margin: 2px 0px;\">mjpg_streamer -b -i \"input_file.so -f \/tmp -n rpi-img.jpg -d 200\" -o \"output_http.so -w \/usr\/www -p 8090\"<br \/>\n<\/code><\/dd>\n<\/dl>\n<p><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">This will start the streamer instructing it to check every 200ms for new image being written to our image file \/tmp\/rpi-img.jpg and steam it in mjpeg format on port 8090. Again feel free to experiment with that and tweak it to your liking.<\/span><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">4. Let&#8217;s test the streaming before going to the Zoneminder:<\/span><\/p>\n<dl class=\"codebox\" style=\"margin-bottom: 1.5em; padding: 3px; background-color: #ffffff; border: 1px solid #d8d8d8; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px;\">\n<dt style=\"line-height: 2em; font-weight: bold; text-transform: uppercase; border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; margin-bottom: 3px;\">CODE:\u00a0<a style=\"color: #8b0000; text-decoration: underline;\" href=\"http:\/\/www.raspberrypi.org\/phpBB3\/viewtopic.php?t=43698&amp;p=375994#\">SELECT ALL<\/a><\/dt>\n<dd style=\"line-height: 2em; margin: 0.5em auto;\"><code style=\"padding: 5px 4px 3px; font-family: Monaco, 'Andale Mono', 'Courier New', Courier, mono; font-size: 0.9em; color: #8b8b8b; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: #f7f7f9; border: 1px solid #e1e1e8; overflow: auto; display: block; height: auto; max-height: 200px; line-height: 1.3em; margin: 2px 0px;\">http:\/\/&lt;RPI_IP_ADDRESS&gt;:8090\/?action=stream<br \/>\n<\/code><\/dd>\n<\/dl>\n<p><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">Type the above into your favorite browser on the host machine and in few seconds you should see on the browser screen what the rpi camera see.<\/span><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">5. Now is time for the ultimate step: configure the Zoneminder to use our Raspberry Pi camera to make us safer.\u00a0<\/span><img data-recalc-dims=\"1\" decoding=\"async\" style=\"max-width: 100%; border: 0px; max-height: 15em; margin: 0px; clear: both; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" title=\"Wink\" alt=\";)\" src=\"https:\/\/i0.wp.com\/www.raspberrypi.org\/phpBB3\/images\/smilies\/icon_e_wink.gif?w=560\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\u00a0Assuming you have running and properly configured Zoneminder here is how to add the streaming rpi as a monitor:<\/span><\/p>\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">* From the ZM console click &#8220;Add New Monitor&#8221;<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">* Under the &#8220;General&#8221; tab name your monitor, set &#8220;Source Type&#8221; to &#8220;Remote&#8221;, then select the function you like.<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">* Under the &#8220;Source&#8221; tab set:<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin-bottom: 1em; margin-left: 3em; list-style: disc;\">&#8211; &#8220;Remote Protocol&#8221; to &#8220;HTTP&#8221;<\/ul>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin-bottom: 1em; margin-left: 3em; list-style: disc;\">&#8211; &#8220;Remote Method&#8221; to &#8220;Simple&#8221;<\/ul>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin-bottom: 1em; margin-left: 3em; list-style: disc;\">&#8211; &#8220;Remote Host Name&#8221; to &lt;RPI_IP_ADDRESS&gt;<\/ul>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin-bottom: 1em; margin-left: 3em; list-style: disc;\">&#8211; &#8220;Remote Host Port&#8221; to &#8220;8090&#8221; (or whatever you used in mjpg_streamer command)<\/ul>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin-bottom: 1em; margin-left: 3em; list-style: disc;\">&#8211; &#8220;Remote Host Path&#8221; to &#8220;?action=stream&#8221;<\/ul>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin-bottom: 1em; margin-left: 3em; list-style: disc;\">&#8211; &#8220;Remote Image Colours&#8221; to &#8220;24 bit colour&#8221;<\/ul>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin-bottom: 1em; margin-left: 3em; list-style: disc;\">&#8211; &#8220;Capture Width&#8221; to &#8220;640&#8221; (or whatever you set in the raspistill command)<\/ul>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin: 0px 0px 1em 3em; list-style-position: initial; list-style-image: initial; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">\n<ul style=\"padding: 0px; margin-bottom: 1em; margin-left: 3em; list-style: disc;\">&#8211; &#8220;Capture Height&#8221; to &#8220;480&#8221; (or whatever you set in the raspistill command)<\/ul>\n<\/ul>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">Save and &#8230; there you go&#8230; Our beloved Raspberry Pi is our safety watch dog.<\/span><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">6. Just in case you like to stop the mjpg_streamer and the raspistill processes, on rpi do:<\/span><\/p>\n<dl class=\"codebox\" style=\"margin-bottom: 1.5em; padding: 3px; background-color: #ffffff; border: 1px solid #d8d8d8; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px;\">\n<dt style=\"line-height: 2em; font-weight: bold; text-transform: uppercase; border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; margin-bottom: 3px;\">CODE:\u00a0<a style=\"color: #8b0000; text-decoration: underline;\" href=\"http:\/\/www.raspberrypi.org\/phpBB3\/viewtopic.php?t=43698&amp;p=375994#\">SELECT ALL<\/a><\/dt>\n<dd style=\"line-height: 2em; margin: 0.5em auto;\"><code style=\"padding: 5px 4px 3px; font-family: Monaco, 'Andale Mono', 'Courier New', Courier, mono; font-size: 0.9em; color: #8b8b8b; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: #f7f7f9; border: 1px solid #e1e1e8; overflow: auto; display: block; height: auto; max-height: 200px; line-height: 1.3em; margin: 2px 0px;\">sudo killall mjpg_streamer<br \/>\nsudo killall raspistill<br \/>\n<\/code><\/dd>\n<\/dl>\n<p><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">WHAT&#8217;S NEXT:<\/span><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">The described procedure gives us a solution for using rpi as an IP camera and feeding in Zoneminder but is far from ideal. See above note from point 2 for example. Even though the proposed solution for using RAM filing system would help it is still not ideal.<\/span><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">I have plans for the near future to actually develop new input plugin for mjpg_streamer that will directly integrate it with the raspberry pi camera. I believe this approach would bring us quite close to ideal. Of course when the V4L2 driver is available another box of possibilities and solutions will open but until then we can still use whatever is available on the table now and do our best.<\/span><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><br style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\" \/><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 19.234375px; background-color: #fcfcfc;\">Hope that helps somewhat and please post any suggestions and comments.<\/span><\/p>\n<hr \/>\n<p>If you give this a go, perhaps you&#8217;d respond either here or on the original <a href=\"http:\/\/www.raspberrypi.org\/phpBB3\/viewtopic.php?t=43698&amp;p=375994#p375994\">topic<\/a>\u00a0on the Foundation forum with your results!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over on the Foundation forum, a chap called &#8216;jimmyst&#8217; has been working on getting Linux-based security surveillance software\u00a0Zoneminder to work with the Raspberry Pi camera module. Here&#8217;s what he wrote&#8230; Here is some progress I made on using Raspberry Pi&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=4801\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[8,25,52],"tags":[],"class_list":["post-4801","post","type-post","status-publish","format-standard","hentry","category-camera-module","category-home-automation","category-video"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Use Zoneminder on the #RaspberryPi with the camera module - Raspberry Pi Pod<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=4801\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Use Zoneminder on the #RaspberryPi with the camera module - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Over on the Foundation forum, a chap called &#8216;jimmyst&#8217; has been working on getting Linux-based security surveillance software\u00a0Zoneminder to work with the Raspberry Pi camera module. Here&#8217;s what he wrote&#8230; Here is some progress I made on using Raspberry Pi&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=4801\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-06-25T05:49:41+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.zoneminder.com\/sites\/zoneminder.com\/files\/ZoneMinderSmall.gif\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4801#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4801\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Use Zoneminder on the #RaspberryPi with the camera module\",\"datePublished\":\"2013-06-25T05:49:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4801\"},\"wordCount\":960,\"commentCount\":7,\"publisher\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4801#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.zoneminder.com\\\/sites\\\/zoneminder.com\\\/files\\\/ZoneMinderSmall.gif\",\"articleSection\":[\"Camera module\",\"Home automation\",\"Video\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4801#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4801\",\"url\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4801\",\"name\":\"Use Zoneminder on the #RaspberryPi with the camera module - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4801#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4801#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.zoneminder.com\\\/sites\\\/zoneminder.com\\\/files\\\/ZoneMinderSmall.gif\",\"datePublished\":\"2013-06-25T05:49:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4801#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4801\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4801#primaryimage\",\"url\":\"http:\\\/\\\/www.zoneminder.com\\\/sites\\\/zoneminder.com\\\/files\\\/ZoneMinderSmall.gif\",\"contentUrl\":\"http:\\\/\\\/www.zoneminder.com\\\/sites\\\/zoneminder.com\\\/files\\\/ZoneMinderSmall.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?p=4801#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Use Zoneminder on the #RaspberryPi with the camera module\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.recantha.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/03\\\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.recantha.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/03\\\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/recantha\\\/\",\"https:\\\/\\\/x.com\\\/recantha\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/recantha\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/c27c4ef2ee1c18b130f1fcd5dcdbb263\",\"name\":\"Michael Horne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"caption\":\"Michael Horne\"},\"url\":\"https:\\\/\\\/www.recantha.co.uk\\\/blog\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Use Zoneminder on the #RaspberryPi with the camera module - Raspberry Pi Pod","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.recantha.co.uk\/blog\/?p=4801","og_locale":"en_US","og_type":"article","og_title":"Use Zoneminder on the #RaspberryPi with the camera module - Raspberry Pi Pod","og_description":"Over on the Foundation forum, a chap called &#8216;jimmyst&#8217; has been working on getting Linux-based security surveillance software\u00a0Zoneminder to work with the Raspberry Pi camera module. Here&#8217;s what he wrote&#8230; Here is some progress I made on using Raspberry Pi&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=4801","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2013-06-25T05:49:41+00:00","og_image":[{"url":"http:\/\/www.zoneminder.com\/sites\/zoneminder.com\/files\/ZoneMinderSmall.gif","type":"","width":"","height":""}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4801#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4801"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Use Zoneminder on the #RaspberryPi with the camera module","datePublished":"2013-06-25T05:49:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4801"},"wordCount":960,"commentCount":7,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4801#primaryimage"},"thumbnailUrl":"http:\/\/www.zoneminder.com\/sites\/zoneminder.com\/files\/ZoneMinderSmall.gif","articleSection":["Camera module","Home automation","Video"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=4801#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4801","url":"https:\/\/www.recantha.co.uk\/blog\/?p=4801","name":"Use Zoneminder on the #RaspberryPi with the camera module - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4801#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4801#primaryimage"},"thumbnailUrl":"http:\/\/www.zoneminder.com\/sites\/zoneminder.com\/files\/ZoneMinderSmall.gif","datePublished":"2013-06-25T05:49:41+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4801#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=4801"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4801#primaryimage","url":"http:\/\/www.zoneminder.com\/sites\/zoneminder.com\/files\/ZoneMinderSmall.gif","contentUrl":"http:\/\/www.zoneminder.com\/sites\/zoneminder.com\/files\/ZoneMinderSmall.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=4801#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Use Zoneminder on the #RaspberryPi with the camera module"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263","name":"Michael Horne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","caption":"Michael Horne"},"url":"https:\/\/www.recantha.co.uk\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-1fr","jetpack-related-posts":[{"id":6390,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=6390","url_meta":{"origin":4801,"position":0},"title":"Great deals on #RaspberryPi Model A and Camera Module","author":"Michael Horne","date":"10 October 2013","format":false,"excerpt":"As\u00a0announced on the Foundation blog, there are some terrific Pi deals out at the moment. Their post lists the prices in dollars (though confusingly doesn't include links for US\/Overseas customers), but here are the details if you're in the UK. From Element 14: a Raspberry Pi Model A and a\u2026","rel":"","context":"In &quot;Shopping&quot;","block_context":{"text":"Shopping","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=47"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4145,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4145","url_meta":{"origin":4801,"position":1},"title":"#RaspberryPi camera module &#8211; Mechanical Dimensions","author":"Michael Horne","date":"18 May 2013","format":false,"excerpt":"Matt over at Raspberry Pi Spy has created this diagram showing the main dimensions of the camera module. He used a pair of plastic calipers so the measurements should be accurate enough for most uses. A PDF of the diagram and instructions on how to print it are available from\u00a0Raspberry\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"Pi Camera Module Mechanical Dimensions | Raspberry Pi Spy","src":"\/blog\/wp-content\/uploads\/2013\/05\/Raspberry-Pi-Camera-Module-Diagram-853x10242.png","width":350,"height":200,"srcset":"\/blog\/wp-content\/uploads\/2013\/05\/Raspberry-Pi-Camera-Module-Diagram-853x10242.png 1x, \/blog\/wp-content\/uploads\/2013\/05\/Raspberry-Pi-Camera-Module-Diagram-853x10242.png 1.5x, \/blog\/wp-content\/uploads\/2013\/05\/Raspberry-Pi-Camera-Module-Diagram-853x10242.png 2x"},"classes":[]},{"id":6771,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=6771","url_meta":{"origin":4801,"position":2},"title":"The Pi NoIR camera for #RaspberryPi goes on sale","author":"Michael Horne","date":"27 October 2013","format":false,"excerpt":"Both Matt, over at Raspberry Pi Spy, and Alex over at RasPi.TV have got hold of a Pi NoIR camera module. This is the standard camera but without the infrared filter. As per the announcement on the Foundation homepage, you can now buy them. Here's some links to suppliers: \u00a0\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"Pi NoIR Infrared Camera Module For Raspberry Pi | Raspberry Pi Spy","src":"\/blog\/wp-content\/uploads\/2013\/10\/pi_noir_camera_module_06-150x1501.jpg","width":350,"height":200},"classes":[]},{"id":5899,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=5899","url_meta":{"origin":4801,"position":3},"title":"Special offer on #RaspberryPi and camera at CPC &#8211; \u00a331 delivered!","author":"Michael Horne","date":"11 September 2013","format":false,"excerpt":"Just saw this come up on the Foundation forum. CPC\/Farnell are currently selling a model A Pi and a camera module for \u00a331 delivered. Buy it here","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4858,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4858","url_meta":{"origin":4801,"position":4},"title":"Lenses for the #RaspberryPi camera module","author":"Michael Horne","date":"30 June 2013","format":false,"excerpt":"Matt Hawkins at Raspberry Pi Spy has been looking for cheap lenses to put over the front of the Raspberry Pi's official camera module, or Picam as it's starting to be known. He's come up trumps with an eBay lot which offers 3 lenses: fish-eye, wide angle & macro. All\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16653,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16653","url_meta":{"origin":4801,"position":5},"title":"Tweeting touchscreen photo booth &#8211; a new resource from the Raspberry Pi Foundation","author":"Michael Horne","date":"29 March 2017","format":false,"excerpt":"The Foundation have recently published a new tutorial which helps you to create your very own touchscreen photo booth which will tweet the photos. Dubbed \"The All-Seeing Pi\", the contraption requires you to use the Raspberry Pi camera module, a touchscreen interface (such as the official touchscreen) and a few\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/03\/tweeting_photo_booth.png?fit=688%2C361&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/03\/tweeting_photo_booth.png?fit=688%2C361&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/03\/tweeting_photo_booth.png?fit=688%2C361&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4801"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4801\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}