Code: Select all
Control response was status = undefined
message = /usr/bin/zmcontrol.pl --autostop --command=moveConLeft --id=3=>
Thanks!
Code: Select all
Control response was status = undefined
message = /usr/bin/zmcontrol.pl --autostop --command=moveConLeft --id=3=>
bb99 wrote:Should get you started in the right direction: http://www.zoneminder.com/wiki/index.php/Foscam
Code: Select all
h**p://ip_cam/decoder_control.cgi?command=31
Code: Select all
# ZoneMinder Foscam FI8918W IP Control Protocol Module, $Date: 2009-11-25 09:20:00 +0000 (Wed, 04 Nov 2009) $, $Revision: 0001 $
# Copyright (C) 2001-2008 Philip Coombes
# Modified for use with Foscam FI8918W IP Camera by Dave Harris
# Modified Feb 2011 by Howard Durdle (h**p://durdl.es/x) to:
# fix horizontal panning, add presets and IR on/off
# use Control Device field to pass username and password
Well, that works as expected, however when attempting to control from within Zoneminder it does not work.joako wrote:Check the .pm file and find the section like:
If you access http://ip of camera/ptzctrl?act=zoomin in your web browser what happens?
Code: Select all
10/29/13 07:53:21.717398 web_php[21938].ERR [/usr/bin/zmcontrol.pl --autostop --command=moveConRight --id=3=>] at /usr/share/zoneminder/includes/functions.php line 2323
Code: Select all
function ajaxError( $message, $code=HTTP_STATUS_OK )
{
Error( $message );
if ( function_exists( 'ajaxCleanup' ) )
ajaxCleanup();
if ( $code == HTTP_STATUS_OK )
{
$response = array( 'result'=>'Error', 'message'=>$message );
header( "Content-type: text/plain" );
exit( jsonEncode( $response ) );
}
header( "HTTP/1.0 $code $message" );
exit();
}
Code: Select all
PHP 5.4.4-14+deb7u2 (cli) (built: Jun 5 2013 07:56:44)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies