Panasonic Zoom control not working/Pan & Tilt are
Posted: Mon Jun 02, 2008 2:57 pm
NOTE: I have this issue posted in "Hardware Queries" as well. Yet, I don't think it's a hardware issue, as the Zoom feature works with the unit's proprietary software. It has to be a ZM configuration problem.
ZM version: 1.23.3
Linux flavor: OpenSuSE 10.3
Camera Hardware: PANASONIC BB-HCE481A (POE)
I edited PanasonicIP.pm and got the Pan right/left and tilt up/down controls to work using the command script returned by the Panasonic software; however, using the same for the zoom controls doesn't work. All the controls work using the Panasonic app. Do the Max/Min zoom range settings have to be set in the Control Capabilities? The "out of the box" ZM default PanasonicIP.pm script did not work either. The script changes I made are as follows:
sub zoomConTele
{
my $self = shift;
my $params = shift;
my $step = $self->getParam( $params, 'step' );
Debug( "Zoom Tele" );
my $cmd = "nphControlCamera?Direction=ZoomTele&Resolution=320x240&Quality=Motion&RPeriod=0&Size=STD&PresetOperation=Move&Language=0";
$self->sendCmd( $cmd );
}
sub zoomConWide
{
my $self = shift;
my $params = shift;
my $step = $self->getParam( $params, 'step' );
Debug( "Zoom Wide" );
my $cmd = "nphControlCamera?Direction=ZoomWide&Resolution=320x240&Quality=Motion&RPeriod=0&Size=STD&PresetOperation=Move&Language=0";
$self->sendCmd( $cmd );
}
Someone please help!
ZM version: 1.23.3
Linux flavor: OpenSuSE 10.3
Camera Hardware: PANASONIC BB-HCE481A (POE)
I edited PanasonicIP.pm and got the Pan right/left and tilt up/down controls to work using the command script returned by the Panasonic software; however, using the same for the zoom controls doesn't work. All the controls work using the Panasonic app. Do the Max/Min zoom range settings have to be set in the Control Capabilities? The "out of the box" ZM default PanasonicIP.pm script did not work either. The script changes I made are as follows:
sub zoomConTele
{
my $self = shift;
my $params = shift;
my $step = $self->getParam( $params, 'step' );
Debug( "Zoom Tele" );
my $cmd = "nphControlCamera?Direction=ZoomTele&Resolution=320x240&Quality=Motion&RPeriod=0&Size=STD&PresetOperation=Move&Language=0";
$self->sendCmd( $cmd );
}
sub zoomConWide
{
my $self = shift;
my $params = shift;
my $step = $self->getParam( $params, 'step' );
Debug( "Zoom Wide" );
my $cmd = "nphControlCamera?Direction=ZoomWide&Resolution=320x240&Quality=Motion&RPeriod=0&Size=STD&PresetOperation=Move&Language=0";
$self->sendCmd( $cmd );
}
Someone please help!