Zoneminder plugin for Freevo, first release
Posted: 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 :
Screenshots
Download
You can download the freevo plugin from the subversion repository :
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 :
The file /etc/zm.conf must be readable by the freevo user.
Now you can restart freevo and use the plugin.
Features
The first release of the plugin support the fallowing features :
- Monitor Live Streaming ;
- Montage ;
- Browse events by monitor ;
- Browse events by time
- Secure HTTP ;
- Playback Navigation (rewind and fast forward) ;
- Live event notification.
Screenshots
Download
You can download the freevo plugin from the subversion repository :
Code: Select all
svn co http://svn.csquad.org/zoneminder_freevo/
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
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