-
-
Notifications
You must be signed in to change notification settings - Fork 272
Configuring ZoneMinder with API
zmNinja uses ZoneMinder APIs. You need to upgrade your ZM to an API version. Instructions for installation are provided below:
#####IMPORTANT Note: These are development snapshots As of Oct 2015, all API versions are not part of "stable" releases of ZM. They are supposed to be development snapshots, which means if you upgrade, you are using versions that may have problems. So please make sure you are not overwriting any production systems with these releases, unless you are fine with things potentially going wrong
###For Ubuntu 15.x (Ubuntu systems with systemd)
- [Easy Way: Install from Package] (https://github.com/pliablepixels/zmNinja/wiki/Easy-Way:-Ubuntu-15,-Install-ZoneMinder-API-from-Package)
- Easy Way: Upgrade from an old package that does not support APIs
- [Slightly Harder Way: Compile from Source] (https://github.com/pliablepixels/zmNinja/wiki/Hard-Way:-Ubuntu-15,-Compile-ZoneMinder-API-from-source)
###For Ubuntu 14.x (Ubuntu systems with systemV)
- [Easy Way: Install from Package] (https://github.com/pliablepixels/zmNinja/wiki/Easy-Way:-Ubuntu-14,-Install-ZoneMinder-API-from-Package)
###For CentOS or Fedora Note: The APIs will NOT work on CentOS 6 -- they require PHP 5.4 which is only available with CentOS 7.
- As of Sep 1 2015, knnnigget has released a testing branch of zmrepo. If you are already using zmrepo, edit this file:
/etc/yum.repos.d/zmrepo-centos-testing.repo
(for centOS) or/etc/yum.repos.d/zmrepo-fedora-testing.repo
(for Fedora) and change the lineenabled=0
toenabled=1
Then just do ayum update
- If you are not using zmrepo, visit zmrepo to set it up. All you really have to do is select your distribution at the bottom of the page and it will show you instructions on what to do. Follow them, get ZoneMinder installed and follow the instructions in the bullet point above to enable the testing repo and upgrade to the API version
###For Debian
- There is no official package, but user bbunge describes how to set it up by copying the API directory See [here] (http://www.zoneminder.com/forums/viewtopic.php?p=89462#p89462)
###Note before you send me an email that zmNinja is not working:
- Unless Zoneminder is installed and working (along with a working video feed), zmNinja will not work
- If you are facing problems with ZoneMinder please join irc.freenode.net and join the channel: #zoneminder or post in the ZoneMinder forums instead of emailing ZM problems to me
- If you are using SSL with Zoneminder and are using a self-signed certificate, zmNinja won't work unless you import the certificate into your phone read this