PTZ control script for Toshiba IK-WB15A
Posted: Thu Jul 10, 2008 3:50 pm
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.
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.