![]() |
|
[RELEASE] ZoneMinder CCTV Addon - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27) +---- Forum: Video Add-ons (/forumdisplay.php?fid=154) +---- Thread: [RELEASE] ZoneMinder CCTV Addon (/showthread.php?tid=90034) |
[RELEASE] ZoneMinder CCTV Addon - markhoney - 2010-10-31 09:16 For anyone out there who uses ZoneMinder, I've created an addon that allows you to connect to a ZoneMinder server and view camera feeds. The addon is in the official repository, so anyone using Dharma should be able to grab it from within XBMC. I'd be interested in anyone who ends up trying out this addon, especially if you're using hashed authentication. It seemed to work okay when I tested it, but I'd love to have independent confirmation that all's well. I may release a new version soon, with the option to specify an IP address for the hash. This would be useful for people who have ticked the option in ZoneMinder to include the IP in the calculated hash for authentication, but are going through a proxy or some other fanangled networking which causes the IP that ZoneMinder sees to be different to the IP of the box XBMC is running on. I also have a script for more generic streams, which I've been using with VLC on Linux. I've created a VLM config file for VLC which allows me to create streams from multiple webcams attached to a PC, and additionally create a "mosaic" of all the webcams in one HD stream. Once I'm happy that the script and the VLC solution are working okay (VLC currently seems to use a lot of CPU transcoding the streams, and I'd like to look into minimising this) I'll probably release the script and add a tutorial for VLC on this forum. - Therms - 2010-12-04 00:00 markhoney Wrote:For anyone out there who uses ZoneMinder, I've created an addon that allows you to connect to a ZoneMinder server and view camera feeds. The addon is in the official repository, so anyone using Dharma should be able to grab it from within XBMC. I haven't had a chance to test this yet as I haven't got ZM set up yet, but I'll definitely give you some feedback when I get it done. - philw - 2010-12-20 01:32 Hi Mark Great idea for XBMC add on tried it on my setup and getting the message 'Warning No Camera Found' i can access zm from http://servername/zm usual and have setup user pass etc without hashed auth. any ideas? running version 1.23.3 of zm cheers jpeg - jrusi - 2010-12-23 17:16 Hi, it is a great idea! I'm using jpegs to view the picture from cameras instead of mpeg. I can start the plugin and I can see thumbnails but when select any camera I get: Quote:09:14:00 T:3078018928 M:1530134528 NOTICE: Parsing ASX mpeg cannot be found because there is no mpeg stream, only jpeg. Any idea how to fix it without changing in ZM from jpeg to mpeg? - Targettio - 2011-01-25 14:44 Hi, great idea for a script. I don't know much about Zoneminder, but it would be cool if you could make it so when my doorbell rings (or any motion detected at my front door cam) the video I am watching pauses and a popup showing the front door cam stream, like this thread. - aivs - 2011-03-23 12:35 i can' t start ZoneMinder plugin from XMBC it's log Code: 10:34:00 T:2901285744 M:2905022464 NOTICE: -->Python Interpreter Initialized<--- markhoney - 2011-03-23 12:57 aivs, it looks like you may be going through a proxy: Error Contents: HTTP Error 407: Proxy Authentication Required If this isn't the case, it may be ZoneMinder authentication that's causing this. What auth method have you setup in ZoneMinder? - aivs - 2011-03-23 13:44 markhoney Wrote:aivs, it looks like you may be going through a proxy: I have asked the admin to switch off proxy for me. Can this plugin work with out internet connection ? - markhoney - 2011-03-23 13:47 If ZoneMinder is running on the same box as XBMC, you can connect without an internet connection by using the loopback IP address, 127.0.0.1. Obviously, if the Zoneminder service is running on another machine, the XBMC machine needs to talk to it over the network! - aivs - 2011-03-23 16:58 Admin switch off proxy, and now in ~.xbmc/temp/XBMC.log 00:44:46 T:2905127792 M:3180322816 NOTICE: -->Python Interpreter Initialized<-- 00:44:46 T:2905127792 M:3180322816 NOTICE: Grabbing URL: http://zoneminder/zm/?skin=classic 00:44:46 T:2905127792 M:3180322816 NOTICE: Requesting page: http://zoneminder/zm/?skin=classic 00:44:46 T:2905127792 M:3180322816 ERROR: Error Type: urllib2.URLError 00:44:46 T:2905127792 M:3180322816 ERROR: Error Contents: <urlopen error (-2, 'Name or service not known')> 00:44:46 T:2905127792 M:3180322816 ERROR: Traceback (most recent call last): File "/home/aivs/.xbmc/addons/plugin.video.zoneminder/default.py", line 170, in ? listcameras() File "/home/aivs/.xbmc/addons/plugin.video.zoneminder/default.py", line 147, in listcameras doc = gethtmlpage(url) File "/home/aivs/.xbmc/addons/plugin.video.zoneminder/default.py", line 47, in gethtmlpage response = urllib2.urlopen(req) File "../Python/Lib/urllib2.py", line 130, in urlopen return _opener.open(url, data) File "../Python/Lib/urllib2.py", line 358, in open response = self._open(req, data) File "../Python/Lib/urllib2.py", line 376, in _open '_open', req) File "../Python/Lib/urllib2.py", line 337, in _call_chain result = func(*args) File "../Python/Lib/urllib2.py", line 1021, in http_open return self.do_open(httplib.HTTPConnection, req) File "../Python/Lib/urllib2.py", line 996, in do_open raise URLError(err) URLError: <urlopen error (-2, 'Name or service not known')> 00:44:46 T:3021739904 M:3180322816 ERROR: GetDirectory - Error getting plugin://plugin.video.zoneminder/ 00:44:46 T:3021739904 M:3180322816 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.zoneminder/) failed 00:44:46 T:3021739904 M:3180322816 WARNING: GetLabel - Unknown nodetype requested 0 When i disconnectet, i can't open all plugins. XBMC-->Videos-->Video Add-ons-->Remote share Network is not connected |