PTZ control script for Toshiba IK-WB15A

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
SuPrSluG
Posts: 2
Joined: Thu Jul 10, 2008 2:15 pm

PTZ control script for Toshiba IK-WB15A

Post by SuPrSluG »

Newbie here, I can't seem to get this Toshiba IK-WB15A PTZ to work. I was able to get the API for the camera but it never seems to do anything. Documentation on creating control scripts is almost non existent. When I place the commands in a web browser address bar it comes back as saying ok.

javascript:emoticon(':(')

Here are the values I'm using.
http://<camera_ip/api/wbpantiltapi.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.

and a sample of what's in my control-Toshiba.pl
sub moveUp
{
Debug( "Move Up\n" );
my $cmd="/api/wbpantiltapi.cgi?cont_2=4";
sendCmd( $cmd );
}

Any ideas would be much appreciated.
Post Reply