Page 1 of 1

eyeZm 1.0 ZoneMinder iPhone app available on iTunes

Posted: Thu Nov 04, 2010 4:54 am
by jdhar
Hi All,

Just wanted to post an update that 'eyeZm' is now available on iTunes for download. The apps web site is http://www.eyezm.com

eyeZm is a very reasonably priced iPhone front-end for ZoneMinder 1.24.x. There is only one price for the app, it doesn't scale with how many cams you want to support, and it supports multiple server installations with authentication. See the web page for details.

This is largely a community-supported app, so please feel free to email support@eyezm.com or PM-me directly if you have any issues, questions or feedback. v1.0 is just the start, and Version 1.1 is already underway and will be released soon.

Lastly, this does require the installation of a very small XML plugin (available on the web-site). I am working with the friendly maintainers of ZoneMinder to have this included in the next release, so for now, just get it from the web-site to patch your installation.

Posted: Thu Nov 04, 2010 3:10 pm
by nibelungen79
For me the livestream doesnt work, and i had to remove an uncomented line out of the zm.conf to get the install.sh working.

for example:

....
# Path to ZoneMinder web files
#ZM_PATH_WEB=/usr/share/zoneminder <---doesnt work!
ZM_PATH_WEB=/var/www/zm
....
maybe you have to check if ZM_XXXX is at the beginning of the line, if
someone else had done something similar...

So - give me some hints for getting live feed working!
Where can i start to debug?!

System: Debian lenny zm 1.24.2 / iPhone 3GS 4.2 / MPEG_LIVE_FORMAT swf ?! (thats the default value after installation of ZM)

If you need further information let me know!

Posted: Thu Nov 04, 2010 4:16 pm
by jdhar
nibelungen79 wrote:For me the livestream doesnt work, and i had to remove an uncomented line out of the zm.conf to get the install.sh working.

for example:

....
# Path to ZoneMinder web files
#ZM_PATH_WEB=/usr/share/zoneminder <---doesnt work!
ZM_PATH_WEB=/var/www/zm
....
maybe you have to check if ZM_XXXX is at the beginning of the line, if
someone else had done something similar...
Thanks for finding this bug in the installer script. I have fixed it and it is updated on the web.
So - give me some hints for getting live feed working!
Where can i start to debug?!

System: Debian lenny zm 1.24.2 / iPhone 3GS 4.2 / MPEG_LIVE_FORMAT swf ?! (thats the default value after installation of ZM)

If you need further information let me know!
Did you check out the README, located here: http://eyezm.com/plugins/README. Go down to the 'Issues' section and check out Issue 2. Is your ZM server patched according to the thread http://www.zoneminder.com/forums/viewtopic.php?t=15429?

Lastly, I should clarify this even more in the README, but under ZoneMinder options, check the following:

CAN_STREAM = yes
STREAM_METHOD = jpeg

Let me know if this works for you.

Posted: Thu Nov 04, 2010 10:57 pm
by kingofkya

Posted: Thu Nov 04, 2010 11:01 pm
by jdhar
Will do, thanks!

Posted: Fri Nov 05, 2010 9:46 am
by nibelungen79
Hello,

this does not solve the problem, i also had to change the ffmpeg ooptions to get event viewing working:

Code: Select all

$shellCmd = "ffmpeg -y -r ".$_REQUEST['fps']." -i ".$baseURL."%03d-capture.jpg -vcodec mjpeg ".$baseURL."capture.mov 2> /dev/null";
Without -vcodec mjpeg i get this error: Unsupported codec for output stream #0.0

(FFmpeg version SVN-r0.5.2-4:0.5.2-6)

Live feed doenst work with the patch - the first part looks like that in my installation:

Code: Select all

function getBrowser( &$browser, &$version )
{
    if ( version_compare( phpversion(), "4.1.0", "<") )
    {
        global $_SERVER;
    }

    if (preg_match( '/MSIE ([0-9].[0-9]{1,2})/',$_SERVER['HTTP_USER_AGENT'],$logVersion))
    {
        $version = $logVersion[1];
        $browser = 'ie';
    }
    elseif (preg_match( '/Safari\/([0-9.]+)/',$_SERVER['HTTP_USER_AGENT'],$logVersion))
    {
        $version = $logVersion[1];
        $browser = 'safari';
    }
        elseif (preg_match( '/Konqueror\/([0-9.]+)/',$_SERVER['HTTP_USER_AGENT'],$logVersion))
        {
                $version = $logVersion[1];
                $browser = 'konqueror';
        }
    elseif (preg_match( '/Opera\/([0-9].[0-9]{1,2})/',$_SERVER['HTTP_USER_AGENT'],$logVersion))
    {
        $version = $logVersion[1];
        $browser = 'opera';
    }
    elseif (preg_match( '/Mozilla\/([0-9].[0-9]{1,2})/',$_SERVER['HTTP_USER_AGENT'],$logVersion))
    {
        $version = $logVersion[1];
        $browser = 'mozilla';
    }
    else
    {
        $version = 0;
        $browser = 'unknown';
    }
}
Settings in Options are done as you have posted.

For debugging purpose:

iPhone Connect eyeZM

Code: Select all

 - - [05/Nov/2010:10:48:21 +0100] "GET /cgi-bin/nph-zms?mode=jpeg&monitor=1&bitrate=25000&maxfps=3&scale=100&format=swf&buffer=1000&user=******&pass=*******&rand=1288950500 HTTP/1.1" 200 0 "-" "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; de-de) AppleWebKit/532.9 (KHTML, like Gecko) Mobile/8B117"
Desktop Connect Firefox Zoneminder

Code: Select all

 - - [05/Nov/2010:10:47:17 +0100] "GET /cgi-bin/nph-zms?mode=jpeg&monitor=1&scale=100&maxfps=5&buffer=1000&user=******&pass=******&connkey=6506658&rand=1546950437 HTTP/1.1" 200 307638 "http://*******.***/index.php?view=watch&mid=1" "Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 (.NET CLR 3.5.30729)"
kind regards

Posted: Fri Nov 05, 2010 4:40 pm
by jdhar
@nibelungen79 , I am PM'ing so we can resolve this offline (solution will be posted if relevant).

Posted: Tue Nov 09, 2010 8:24 am
by DREMA
Any chance of a free trial?

Posted: Tue Nov 09, 2010 8:29 am
by jdhar
DREMA wrote:Any chance of a free trial?
Sorry Drema, at this time we don't have a trial... we are a very small developer group and are concentrating our resources on adding more features constantly to the app (v1.1 is currently in approval process!). If you have any issues with a supported feature, you can PM me personally and I guarantee that it will be resolved.

Posted: Sat Nov 13, 2010 1:23 pm
by jarod159
Ho at all!
Yesterday i bought this fantastic application for my iPhone on Apple store... Wow!!!! After installing the patch (via readme) now i can see my camera via iPhone!!! Thank you guys!!!!

Posted: Sat Nov 13, 2010 5:32 pm
by jdhar
jarod159 wrote:Ho at all!
Yesterday i bought this fantastic application for my iPhone on Apple store... Wow!!!! After installing the patch (via readme) now i can see my camera via iPhone!!! Thank you guys!!!!
Glad you like it jarod.. do leave a quick review if you find the app useful :)

version 1.1 is now up on itunes, forum thread: http://www.zoneminder.com/forums/viewto ... 5778#65778