ZoneMinder for RPi 2
-
- Posts: 14
- Joined: Tue Apr 14, 2015 6:01 pm
ZoneMinder for RPi 2
Is this version already available somewhere for the Raspberry Pi 2? Couldn't find it anywhere, only found someone wondering wether the Pi 2 is powerfull enough and a topic on here with someone having problems building it.
Re: ZoneMinder for RPi 2
Hi,
I compiled it but it didn't work properly... I just gut error messages that zm capture deamon crashed. So I installed "good old" 1.25 and it is working fine with one 720p IP camera over mjpeg. Unfortunately 1080p didn't work.
I compiled it but it didn't work properly... I just gut error messages that zm capture deamon crashed. So I installed "good old" 1.25 and it is working fine with one 720p IP camera over mjpeg. Unfortunately 1080p didn't work.
-
- Posts: 14
- Joined: Tue Apr 14, 2015 6:01 pm
Re: ZoneMinder for RPi 2
Ok, sounds good. Have you a link to a file and perhaps a (short) install guide? It would greatly help me to automate my home. I'm planning on having Zoneminder on the RPi 2 record the stream and also syncing it with a cloud service instead of my 2bay Synology. Will easily save me 18w, educated guess on power consumption of my Syno recording the stream is around 20w as opposed to a few watts of the Pi. And since it's running anyway as part of my multi-room audio setup...
Re: ZoneMinder for RPi 2
I believe it was just "apt-get install zoneminder" on ubuntu. After this you just need "ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf" and restart apache2.
-
- Posts: 14
- Joined: Tue Apr 14, 2015 6:01 pm
Re: ZoneMinder for RPi 2
Did you install Snappy Core on a uSD? Or regular Ubuntu/Xubuntu for ARMv7/RPi 2?
Re: ZoneMinder for RPi 2
Oh, it was Raspbian. So debian, not ubuntu.
-
- Posts: 14
- Joined: Tue Apr 14, 2015 6:01 pm
Re: ZoneMinder for RPi 2
Thanks, got it running. Now to get it recording video and syncing this with a cloudservice, as it seems now I will be fiddling with Megacmd or Megatools.
Re: ZoneMinder for RPi 2
Keep in mind:
Doing motion detection on a 720p camera the Pi2 is busy...a lot! U should use a very fast microSD card for it.
Doing motion detection on a 720p camera the Pi2 is busy...a lot! U should use a very fast microSD card for it.
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: ZoneMinder for RPi 2
This might interest some of you:
http://www.zoneminder.com/forums/viewto ... 32&t=23156
I just got these uploaded last night and could use a couple of you to verify that it works for someone else besides me.
http://www.zoneminder.com/forums/viewto ... 32&t=23156
I just got these uploaded last night and could use a couple of you to verify that it works for someone else besides me.
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/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 14
- Joined: Tue Apr 14, 2015 6:01 pm
Re: ZoneMinder for RPi 2
Even with the quadcore? Or is ZM not multi-thread/core ready?advbug wrote:Keep in mind:
Doing motion detection on a 720p camera the Pi2 is busy...a lot! U should use a very fast microSD card for it.
I'll give it a try when I can find some time, I'm terribly busy atmknnniggett wrote:This might interest some of you:
http://www.zoneminder.com/forums/viewto ... 32&t=23156
I just got these uploaded last night and could use a couple of you to verify that it works for someone else besides me.
-
- Posts: 14
- Joined: Tue Apr 14, 2015 6:01 pm
Re: ZoneMinder for RPi 2
I can't get 1.25 from the repo to work It doesn't show any image. I get some errors. Can anyone help me?
Apache2 error.log:
Access logs has several of these entries:
Zoneminder log is full of:
Also has a few other errors but the above fills 80% of the error log entries.
I have searched for quite some time and could only find that I might need to add cgi-bin variables to Apache2. So I created zoneminder.conf in conf.d with contents:
/usr/lib/cgi-bin/ contains:
nph-zms zms
apache2.conf contains nothing with the string "zms" or "cgi".
Apache2 error.log:
Code: Select all
[Wed Jul 08 19:11:11 2015] [error] [client 192.168.0.23] ERR [socket_sendto( /tmp/zm/zms-966606s.sock ) failed: No such file or directory], referer: http://192.168.0.215/zoneminder/index.php?view=watch&mid=1
Code: Select all
192.168.0.23 - - [08/Jul/2015:19:59:28 +0200] "GET /zoneminder/index.php HTTP/1.1" 200 2393 "http://192.168.0.215/zoneminder/index.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0"
192.168.0.23 - - [08/Jul/2015:20:01:50 +0200] "POST /zoneminder/index.php HTTP/1.1" 200 530 "http://192.168.0.215/zoneminder/index.php?view=watch&mid=1" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0"
Code: Select all
2015-07-08 20:08:52.413720 web_php 3196 ERR socket_sendto( /tmp/zm/zms-966606s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php
I have searched for quite some time and could only find that I might need to add cgi-bin variables to Apache2. So I created zoneminder.conf in conf.d with contents:
Code: Select all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory>
AllowOverride None
Options +ExecCGI +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
nph-zms zms
apache2.conf contains nothing with the string "zms" or "cgi".
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: ZoneMinder for RPi 2
Well, you certainly didn't get zoneminder 1.25 from one of our repos.
Try posting into into the 1.25 forum if you want support for that old version.
Or upgrade to zoneminder 1.28.1, found in zmrepo.zoneminder.com.
Try posting into into the 1.25 forum if you want support for that old version.
Or upgrade to zoneminder 1.28.1, found in zmrepo.zoneminder.com.
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/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 14
- Joined: Tue Apr 14, 2015 6:01 pm
Re: ZoneMinder for RPi 2
I got it from the standard raspbian repo. But I can add that zm repo and install 1.28 on my pi 2?
-
- Posts: 14
- Joined: Tue Apr 14, 2015 6:01 pm
Re: ZoneMinder for RPi 2
The repo has nothing for the RPi or RPi 2 unfortunately
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: ZoneMinder for RPi 2
Sure it does. I placed them there myself, and am running the package on my own Raspberry Pi 2.
Navigate to zmrepo.zoneminder.com, choose the Fedora 22 distro, follow the instructions that appear after selecting the distro.
What it doesn't have, though, are deb packages for the Raspbian distro. iconnor builds those, and I am not sure where he put his packages for the Raspberry Pi. They don't appear in his primary ppa. You might want to send him a pm if you want to install zoneminder deb on Raspbian.
Navigate to zmrepo.zoneminder.com, choose the Fedora 22 distro, follow the instructions that appear after selecting the distro.
What it doesn't have, though, are deb packages for the Raspbian distro. iconnor builds those, and I am not sure where he put his packages for the Raspberry Pi. They don't appear in his primary ppa. You might want to send him a pm if you want to install zoneminder deb on Raspbian.
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/
All of these can be found at https://zoneminder.blogspot.com/