PTZ Controls not working
PTZ Controls not working
I just added a Panasonic BB-HCE481A PTZ camera to my zm system (OpenSuse 10.3 with 12 additional BNC cameras). I finally got the video to show; however, I cannot use the PTZ controls. Any ideas? I'm lost!
More info. . .
As near as I can tell, my Panasonic PTZ control requires zmcontrol-panasonic-ip.pl to work. I cannot find this script anywhere on the system. . .including /usr/local/bin.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Assuming you are using 1.23.x then this script has been replaced by the generic zmcontorl script. If you edit the monitor settings and click on the Control tab then you should be able to select PanasonicIP as the control type. It should work after this, though I am unsure why the conversion hasn't been applied to your system already.
Phil
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
There are a couple of issues here.
1) Is your cam defined as an analogue or a network cam? Panasonics are the latter.
2) If it is a network cam then the control type drop down should not have Pelco in it but other protocols instead. Can you check what is in the Controls table in your DB?
3) Are you using the 'classic' view? Have you tried it with the newer DVR based one to see if you have the same issue?
1) Is your cam defined as an analogue or a network cam? Panasonics are the latter.
2) If it is a network cam then the control type drop down should not have Pelco in it but other protocols instead. Can you check what is in the Controls table in your DB?
3) Are you using the 'classic' view? Have you tried it with the newer DVR based one to see if you have the same issue?
Phil
Here is my configuration~
Name: camera's ip address
Source Type: Remote
Function: Modetct
Enabled
Remote host name: admin:password@camera's ip address
Port: 3127
Host path: /nphMotionJpeg?Resolution=320x240&Quality=Standardard
W 320
H 240
Controllable is checked
PanasonicIP
Control device is blank
control address: camera's IP:port
It is currently set to DVR format
Still need to check the Controls table in my DB. Not sure where to find that. . .
Does this look good so far?
Thanks,
ck
Name: camera's ip address
Source Type: Remote
Function: Modetct
Enabled
Remote host name: admin:password@camera's ip address
Port: 3127
Host path: /nphMotionJpeg?Resolution=320x240&Quality=Standardard
W 320
H 240
Controllable is checked
PanasonicIP
Control device is blank
control address: camera's IP:port
It is currently set to DVR format
Still need to check the Controls table in my DB. Not sure where to find that. . .
Does this look good so far?
Thanks,
ck
Panasonic use two? protocols for IP PTZ cams. Try change following commands in PanasonicIP.pm
right:
my $cmd = "nphControlCamera?Direction=PanRight";
to
my $cmd = "cgi-bin/camctrl?pan=1";
left:
my $cmd = "nphControlCamera?Direction=PanLeft";
to
my $cmd = "cgi-bin/camctrl?pan=-1";
up:
my $cmd = "nphControlCamera?Direction=TiltUp";
to
my $cmd = "cgi-bin/camctrl?tilt=-1";
down:
my $cmd = "nphControlCamera?Direction=TiltDown";
to
my $cmd = "cgi-bin/camctrl?tilt=1";
right:
my $cmd = "nphControlCamera?Direction=PanRight";
to
my $cmd = "cgi-bin/camctrl?pan=1";
left:
my $cmd = "nphControlCamera?Direction=PanLeft";
to
my $cmd = "cgi-bin/camctrl?pan=-1";
up:
my $cmd = "nphControlCamera?Direction=TiltUp";
to
my $cmd = "cgi-bin/camctrl?tilt=-1";
down:
my $cmd = "nphControlCamera?Direction=TiltDown";
to
my $cmd = "cgi-bin/camctrl?tilt=1";