eyeZm 1.0 ZoneMinder iPhone app available on iTunes

Forum for questions and support relating to the 1.24.x releases only.
Locked
User avatar
jdhar
Posts: 125
Joined: Fri Oct 01, 2010 9:15 pm
Location: California

eyeZm 1.0 ZoneMinder iPhone app available on iTunes

Post 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.
eyeZm, Native iPhone App for ZoneMinder: http://www.eyezm.com

Version 1.3 now available on iTunes, introduces Montage view, HTTPS/SSL support and H264 native streaming!

Subscribe to RSS feed for updates: http://www.eyezm.com/rssfeed.xml
nibelungen79
Posts: 28
Joined: Thu Jun 24, 2010 12:40 pm

Post 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!
User avatar
jdhar
Posts: 125
Joined: Fri Oct 01, 2010 9:15 pm
Location: California

Post 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.
eyeZm, Native iPhone App for ZoneMinder: http://www.eyezm.com

Version 1.3 now available on iTunes, introduces Montage view, HTTPS/SSL support and H264 native streaming!

Subscribe to RSS feed for updates: http://www.eyezm.com/rssfeed.xml
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

User avatar
jdhar
Posts: 125
Joined: Fri Oct 01, 2010 9:15 pm
Location: California

Post by jdhar »

Will do, thanks!
eyeZm, Native iPhone App for ZoneMinder: http://www.eyezm.com

Version 1.3 now available on iTunes, introduces Montage view, HTTPS/SSL support and H264 native streaming!

Subscribe to RSS feed for updates: http://www.eyezm.com/rssfeed.xml
nibelungen79
Posts: 28
Joined: Thu Jun 24, 2010 12:40 pm

Post 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
User avatar
jdhar
Posts: 125
Joined: Fri Oct 01, 2010 9:15 pm
Location: California

Post by jdhar »

@nibelungen79 , I am PM'ing so we can resolve this offline (solution will be posted if relevant).
eyeZm, Native iPhone App for ZoneMinder: http://www.eyezm.com

Version 1.3 now available on iTunes, introduces Montage view, HTTPS/SSL support and H264 native streaming!

Subscribe to RSS feed for updates: http://www.eyezm.com/rssfeed.xml
DREMA
Posts: 162
Joined: Fri Dec 12, 2008 2:39 am
Location: México

Post by DREMA »

Any chance of a free trial?
User avatar
jdhar
Posts: 125
Joined: Fri Oct 01, 2010 9:15 pm
Location: California

Post 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.
eyeZm, Native iPhone App for ZoneMinder: http://www.eyezm.com

Version 1.3 now available on iTunes, introduces Montage view, HTTPS/SSL support and H264 native streaming!

Subscribe to RSS feed for updates: http://www.eyezm.com/rssfeed.xml
jarod159
Posts: 8
Joined: Fri Nov 12, 2010 3:54 pm

Post 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!!!!
User avatar
jdhar
Posts: 125
Joined: Fri Oct 01, 2010 9:15 pm
Location: California

Post 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
eyeZm, Native iPhone App for ZoneMinder: http://www.eyezm.com

Version 1.3 now available on iTunes, introduces Montage view, HTTPS/SSL support and H264 native streaming!

Subscribe to RSS feed for updates: http://www.eyezm.com/rssfeed.xml
Locked