Axis 2130R PTZ functions in ZM 1.2x.x
Posted: Fri Apr 08, 2005 3:42 am
OK Phil, so here I go throwing myself into this without a parachute!
I am trying to setup an Axis 2130R camera with the latest ZM 1.21.0 to use it with the PTZ functions. Up to now I do see an image from it and I am capable or making it work like a non PTZ network camera.
Starting with the Control Capabilities I beleive this to be very straight forward an understandable so before venturing into all the possible functions of the camera I have selected the basic ones just as the KC-HCM10, just to move up, down, right and left as well as eight preset positions, home and set.
Under the Control Tab of the monitor settings Controllable is checked, Control Type has Axis2130R selected (created on the Control Capabilites window when Edit is clicked), Control Device is to be left blank (I think) and Control Address is yet not so clear to me. Here I am guessing this format is to be used:
I use <port> because the camera is not set to default port 80 but another. I dont know if these settings should be here or if they are carried out from the Source Tab on the Monitor settings and would appreciate some info about it.
Since getting it to move is my first priority I shall leave Track Motion and the rest alone for now and to be explored later.
On the appropiate directory I copied zmcontrol-kx-hcm10.pl and renamed it to: zmcontrol-axis-2130r.pl and of course made it clear on the Control Capabilites section to make it point into this file.
Looking for the common lines in zmcontrol-kx-hcm10.pl between the KC-HCM10 and the Axis 2130R I do know the following:
The format to send commands for the camera to move is:
Where the commands for the KC-HCM10 for it to move up, down, left and right are:
... and where the respective commands for the Axis 2130R are:
Here "camera=1" I beleive could be omitted, but while moving the camera this is how it appears on the path so I guess we should leave it there for now and perhaps try to remove it later when we succeed
I do have all of the available commands ready to be typed into "zmcontrol-axis-2130r.pl" and would appreciate it if you could give a few pointers and procedure to follow to try to get this going.
Regards!
I am trying to setup an Axis 2130R camera with the latest ZM 1.21.0 to use it with the PTZ functions. Up to now I do see an image from it and I am capable or making it work like a non PTZ network camera.
Starting with the Control Capabilities I beleive this to be very straight forward an understandable so before venturing into all the possible functions of the camera I have selected the basic ones just as the KC-HCM10, just to move up, down, right and left as well as eight preset positions, home and set.
Under the Control Tab of the monitor settings Controllable is checked, Control Type has Axis2130R selected (created on the Control Capabilites window when Edit is clicked), Control Device is to be left blank (I think) and Control Address is yet not so clear to me. Here I am guessing this format is to be used:
Code: Select all
<user>:<pass>@<camera address>:<port>/axis-cgi/com/
Since getting it to move is my first priority I shall leave Track Motion and the rest alone for now and to be explored later.
On the appropiate directory I copied zmcontrol-kx-hcm10.pl and renamed it to: zmcontrol-axis-2130r.pl and of course made it clear on the Control Capabilites section to make it point into this file.
Looking for the common lines in zmcontrol-kx-hcm10.pl between the KC-HCM10 and the Axis 2130R I do know the following:
The format to send commands for the camera to move is:
Code: Select all
KC-HCM10:
http://cameraIPaddress/CGIcommand?Option1=Value&Option2=Value
Axis 2130R
http://cameraIPaddress/axis-cgi/com/ptz.cgi?<parameter>=<value>[&<parameter>=<value>... ]
Code: Select all
nphControlCamera?Direction=TiltUp
nphControlCamera?Direction=TiltDown
nphControlCamera?Direction=PanLeft
nphControlCamera?Direction=PanRight
... and where the respective commands for the Axis 2130R are:
Code: Select all
ptz.cgi?camera=1&move=up
ptz.cgi?camera=1&move=down
ptz.cgi?camera=1&move=left
ptz.cgi?camera=1&move=right
Code: Select all
Focus auto:
nphControlCamera?Direction=FocusAuto
ptz.cgi?camera=1&autofocus=on
Preset Home is:
nphControlCamera?Direction=HomePosition
ptz.cgi?camera=1&move=home
Regards!