Page 1 of 1

PTZ control config options (inadequate)

Posted: Thu Jul 26, 2007 9:07 pm
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

Posted: Thu Jul 26, 2007 10:07 pm
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

Eurika!

Posted: Thu Jul 26, 2007 10:30 pm
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

Posted: Wed Dec 12, 2007 1:26 am
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

Toshiba control script

Posted: Thu Jan 17, 2008 10:40 pm
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

IKWB15a

Posted: Sun Jan 20, 2008 6:27 pm
by whosbob
rakhbari, Do you have any more control codes? , or point me in the direction to find them.

Thanks.

Re: Toshiba control script

Posted: Thu Jul 10, 2008 3:35 pm
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

Posted: Tue Aug 19, 2008 4:41 pm
by dashnak
I would very much appreciate said script as well, as I am unable to get this to work...