PTZ control config options (inadequate)

Support and queries relating to all previous versions of ZoneMinder
Locked
rakhbari
Posts: 12
Joined: Thu Jul 26, 2007 6:07 pm
Location: Mountain View, CA - U.S.A.

PTZ control config options (inadequate)

Post by rakhbari »

In the Control Capabilities window I don't see any options to enter the specific URI command for the various camera PTZ movements. For example, my Toshiba IK-WB15A IP camera provides the following API for moving its PTZ controls:

Code: Select all

http://<camera_ip>/api/pantiltapi.cgi?cont_2=<value>[&id=<value>]
The value of cont_2 determines direction of movement as follows: 1 = Pan Left, 2 = Pan Right, 4 = Tilt Up, 8 = Tilt Down, 16 = Center, 32 = Scan, and 64 = Auto Patrol.

I don't see any place in the different tabs of the Control Capabilities dialog box that would allow me to enter a URI or these specific parameters for the different Pan/Tilt/Zoom actions. Is this just an oversight, or this feature hasn't been worked into ZM?

The options I do see are capability flags with ranges as (I think) integers. How does ZM know how to envoke these PTZ actions in the various cameras? :?

Thanks, and once again, ZM is a great utility.

Ramin
:D
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

You will find this process covered and well discribed in the README under the heading "Camera Control"
http://www.zoneminder.com/fileadmin/dow ... c151468577
rakhbari
Posts: 12
Joined: Thu Jul 26, 2007 6:07 pm
Location: Mountain View, CA - U.S.A.

Eurika!

Post by rakhbari »

Oh, now I see. My apologies. :oops: I did not read that section very carefully. The "command" text entry box is for the control script, and it's in that control script where all the camera-specific commands are stored.

Thank you! :)

Ramin
srcurtis
Posts: 11
Joined: Wed Dec 12, 2007 1:23 am

Post by srcurtis »

Hi Rakhbari

I was wondering if you ever created the command script for this camera and if so, would you be prepared to share it?

Thanks

Steve
User avatar
jacomoman
Posts: 23
Joined: Thu Jan 17, 2008 9:25 pm
Location: Silicon Valley, CA

Toshiba control script

Post by jacomoman »

Steve,

I have a version of this script for ZM v1.22.3. I don't see a file upload option here but if you give me your email address I'll send it to you.

Jac
whosbob
Posts: 9
Joined: Tue Dec 18, 2007 4:49 pm
Location: San Jose, Ca.

IKWB15a

Post by whosbob »

rakhbari, Do you have any more control codes? , or point me in the direction to find them.

Thanks.
SuPrSluG
Posts: 2
Joined: Thu Jul 10, 2008 2:15 pm

Re: Toshiba control script

Post by SuPrSluG »

jacomoman wrote:Steve,

I have a version of this script for ZM v1.22.3. I don't see a file upload option here but if you give me your email address I'll send it to you.

I'd much appreciate your script as I can't seem to get this to work. TIA

Jac
dashnak
Posts: 15
Joined: Tue Aug 12, 2008 10:55 pm

Post by dashnak »

I would very much appreciate said script as well, as I am unable to get this to work...
Locked