M5014 Axix control with ZM 1.28.2 doesn't work

This is the place for any problems or issues with the website in general or the new forums in particular.
Post Reply
s80ts0465
Posts: 10
Joined: Mon Oct 12, 2015 8:49 pm

M5014 Axix control with ZM 1.28.2 doesn't work

Post 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
s80ts0465
Posts: 10
Joined: Mon Oct 12, 2015 8:49 pm

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

Post 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
Post Reply