Page 1 of 1

M5014 Axix control with ZM 1.28.2 doesn't work

Posted: Mon Oct 12, 2015 8:59 pm
by s80ts0465
Hello,

i cannot get PTZ working on my Axis M5014.
I've just upgrade from 1.25 to 1.28.2. With the old version of ZM everything was working fine.

What i tried so far:

Controllable selected.
Control Type: Axis API v2
Control Device: /axis-cgi/com/ptz.cgi
Control Address: ip address of your camera

If i try to use PTZ a alert pops up after some time:

Control response was status = undefined
message = /usr/bin/zmcontrol.pl --panspeed=2 --panstep=19 --command=moveRelRight --id=3=>

Any tipps how i can get PTZ working?

Regards
Stefano

Re: M5014 Axix control with ZM 1.28.2 doesn't work

Posted: Tue Oct 13, 2015 9:46 pm
by s80ts0465
Hi,

solved with this:

Code: Select all

4  scripts/ZoneMinder/lib/ZoneMinder/Control/AxisV2.pm
@@ -33,8 +33,6 @@ require ZoneMinder::Control;
 
 our @ISA = qw(ZoneMinder::Control);
 
-our $VERSION = $ZoneMinder::Base::VERSION;
-
 # ==========================================================================
 #
 # Axis V2 Control Protocol
@@ -79,7 +77,7 @@ sub open
 
     use LWP::UserAgent;
     $self->{ua} = LWP::UserAgent->new;
-    $self->{ua}->agent( "ZoneMinder Control Agent/".ZM_VERSION );
+    $self->{ua}->agent( "ZoneMinder Control Agent/".ZoneMinder::Base::ZM_VERSION );
 
     $self->{state} = 'open';
 }
Bye