Zoneminder plugin for Freevo, first release

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
User avatar
cscm
Posts: 3
Joined: Sat Feb 16, 2008 9:49 pm
Location: Paris
Contact:

Zoneminder plugin for Freevo, first release

Post by cscm » Sun Aug 03, 2008 11:53 pm

I've wrote an Zoneminder plugin for Freevo

Features
The first release of the plugin support the fallowing features :
  • Monitor Live Streaming ;
  • Montage ;
  • Browse events by monitor ;
  • Browse events by time
I've planned to add :
  • Secure HTTP ;
  • Playback Navigation (rewind and fast forward) ;
  • Live event notification.
Please feel free to ask any other feature. Patches and bug reports are welcome ;)
Screenshots
Image
Image
Image

Download
You can download the freevo plugin from the subversion repository :

Code: Select all

svn co http://svn.csquad.org/zoneminder_freevo/
Install
Just copy the <i> zoneminder.py</i> file into <i>/usr/lib/python2.5/site-packages/freevo/plugins</i> (2.5 should be your current version of python) as <b>root</b>.
And install the <b>MySQLdb</b> python package on your system. (apt-get install python-mysqldb on Debian GNU/Linux).

Setup

Put the fallowing line in the <i>local_conf.py</i> file :

Code: Select all

plugin.activate('zoneminder', level=45)
ZONEMINDER_CONFIG = '/etc/zm.conf'
ZONEMINDER_EVENTS_DIR = '/var/www/events'
ZONEMINDER_CLIENT_IPV4_ADDRESS = ''
ZONEMINDER_SERVER_AUTH_TYPE = 'builtin'
ZONEMINDER_SERVER_USERNAME = 'admin'
ZONEMINDER_SERVER_PASSWORD = 'admin'
ZONEMINDER_SERVER_AUTH_RELAY = 'hashed'
ZONEMINDER_SERVER_AUTH_HASH_SECRET = ''
ZONEMINDER_SERVER_HOST = 'localhost'
ZONEMINDER_SERVER_PORT = '80'
ZONEMINDER_SERVER_USE_SSL = False
The file /etc/zm.conf must be readable by the freevo user.

Code: Select all

# id freevo
uid=1003(freevo) gid=100(users) groups=100(users),24(cdrom),29(audio),44(video),46(plugdev)
 ls -l /etc/zm.conf
-rw-rw---- 1 root users 1324 2008-08-04 01:21 /etc/zm.conf
Now you can restart freevo and use the plugin.
I'am currently working on a tracking systeme for cats !

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests