Page 1 of 1

PTZ not working through web interface.

Posted: Tue Mar 04, 2008 1:07 am
by zakalwe
Hi, I have recently upgraded to 1.23.2 and cannot seem to get my controls to work. I have panasonic BCL10 and gadgetspot ptz ip cameras and have converted my script to the new perl module format. No arrows appear for the gadgetspot camera in the control frame, only the stop button. On the panasonic control frame the buttons are there but do not move the camera.

I used the zmcontrol.pl script from the command line and found that it needed the Module-Load perl module, so I installed that. The script now controls the cameras as expected from the command line, however the problems still persist in the web interface.

Any ideas on what has gone wrong?

Question. . .

Posted: Tue Mar 04, 2008 6:17 pm
by cknox
where was your script located? Was it zmcontrol-panasonic-ip.pl?

Posted: Tue Mar 04, 2008 7:43 pm
by zakalwe
I controlled them from the command line with the /usr/bin/zmcontrol.pl script. The modules for the protocols are now in /usr/lib64/site_perl/5.8.8/Zoneminder/Control as PanasonicIP.pm and GadgetspotIP.pm. The database lists the Protocols correctly for the cameras, and since the zmcontrol.pl script works from the command line, I assume this is some issue with the web interface.

Posted: Tue Mar 04, 2008 9:39 pm
by zoneminder

Posted: Tue Mar 04, 2008 11:47 pm
by cknox
I'm exepriencing the same issue on my Panasonic PTZ. I see video and the control arrows, but nothing happens when I click on them. When I click on them, the IE status bar reads, "Waiting for http://<my>/zm/index.php?view=watchstatus*mid=1290&last_status=0

controls name change

Posted: Wed Mar 05, 2008 10:29 pm
by cms
I am trying to make a few new perl libs for camera control. I can see my current problem is the webpage is calling the Up / Down functions as Up / Down but in the axis/panasonic lib I used as a template it calls them moveConUp/moveConDown

To ensure future compatibility should I edit the name in my lib, or in the php?

(Clean install of 1.23.2)

03/05/08 14:22:56.943050 zmcontrol[30104].FAT [Can't access Down member of object of class ZoneMinder::Control::level1]

But running by hand works with these object names...

zmcontrol.pl --id 4 --command=moveConDown
zmcontrol.pl --id 4 --command=moveConUp

Posted: Wed Mar 05, 2008 11:17 pm
by cknox
It seems that the Panasonic BB-HCE481A PTZ controls just don't work with 1.23.1.
Nothing indicates there is a configuration issue with the install I have on
OpenSuse 10.3. I have tried to find info on building another script, but no
luck.

Re: controls name change

Posted: Thu Mar 06, 2008 10:28 pm
by zoneminder
cms wrote:I am trying to make a few new perl libs for camera control. I can see my current problem is the webpage is calling the Up / Down functions as Up / Down but in the axis/panasonic lib I used as a template it calls them moveConUp/moveConDown

To ensure future compatibility should I edit the name in my lib, or in the php?

(Clean install of 1.23.2)

03/05/08 14:22:56.943050 zmcontrol[30104].FAT [Can't access Down member of object of class ZoneMinder::Control::level1]

But running by hand works with these object names...

zmcontrol.pl --id 4 --command=moveConDown
zmcontrol.pl --id 4 --command=moveConUp
There is more than one kind of Up and Down :?

The moveConDown indicates the method for continuous movement down. There can also be absolute and relative versions of this. If your cam gets a move instruction and just keeps moving until you tell it to stop then it is continuous. You need to make sure the control capability you define via the GUI has 'Can Move Continuous' checked. If it also supports absolute or other types of movements then you need to add methods for those as well.