Page 2 of 3

Posted: Thu Sep 15, 2005 9:34 pm
by zoneminder
I have just picked the KX-HCM10 as the control protocol and put the camera ip address in as the address. You should see something in the relevant zmcontrol-kx-hcm10.log if you do that which might help debug the PTZ problem.

Phil

Posted: Thu Sep 15, 2005 11:30 pm
by jameswilson
i have just realised there not hcm-10 there BL-C10 pana cameras would this be why i cant. Also i have no log of that name anywhere.

JAmes

Posted: Tue Sep 20, 2005 9:17 am
by zoneminder
You might find that the same protocol works as they are both Panasonic cams and the API doesn't seem to distinguish between models, though there are two versions.

Phil

Posted: Tue Sep 20, 2005 11:00 am
by jameswilson
Thanks Phil. I have tried without success with both the live cd and Coreys Distro without success. I have no log errors and i dont have the log file you tell me to look at, Im assuming i have a setup issue at my end somwhere any pointers??

James

Posted: Tue Sep 20, 2005 12:44 pm
by zoneminder
If you have definately set your camera up to use the KX control protocol then you should be able to at least try running the zmcontrol script directly from the command line. At least to see if it creates the log file or not. Be careful though if you run it as root and then apache later on will not be able to do anything with the log file, so make sure you delete it afterwards.

Phil

Posted: Tue Sep 27, 2005 7:20 pm
by jameswilson
Phil
Regarding control of this blc10
I have found out on coreys distro that the folder it expects to be in it isnt
ie in the control parameters it says
/usr/local/bin/zmcontrol etc
but they are actually located
/usr/lib/zm/bin/zmcontrol
I have changed the value in edit control type but i still cannot control the camera
If i type /usr/lib/zm/bin/zmcontrol-kx-hcm10.pl in the console i get

Usage zmcontrol-kx-hcm10.pl <vaious options>

No error log

I assume i have to pass commands through the command line but i dont know what they are.

So i have a couple of questions
How do i get this thing to move?
What do you want me to try next?


Cheers

James

**edit
I have control as i have built my own live cd and control works on this (dont know why it doesnt on the other distros.

Posted: Thu Sep 29, 2005 6:50 pm
by jameswilson
PHil i have found a panasonic cgi developers manual. I assume you have this already?

Also have had major probs with these c10's crashing
Have also found out not to us zm to linit frames as it ends up about 10 secs behind live. If you want to limit fps throttle it at the cam.

Regarding crashine i have just upgraded frimware from 1.14 to 1.23 so hopefully thats got it

James
* edit I can set presets but once they are set they cannot be changed. If i set preset 1 in one position the try to overwrite it with a new position it only remebers the original postion, am i missing something

Posted: Fri Sep 30, 2005 1:27 am
by cordel
Hey James,
Going over your above issue I found that I put the wrong path in the spec file for zm :oops:
Sorry my bad. Every thing was set up for any more static type stuff is in /usr/lib and any real data (images, database, logs, etc... anything that read / writes alot) is under /var/lib. When this feature got introduced I boo booed.
I'll get this correct and out with the new ffmpeg 0.4.9
Regards,
Cordel
PS Yes that will be sometime this weekend :wink:

Posted: Fri Sep 30, 2005 9:27 am
by jameswilson
thanks Corey. I psent days thikning i was missing something when i coldnt get it to work.

James

Posted: Sat Oct 01, 2005 4:17 pm
by jameswilson
im stall having a crash issue with these camera's
If i turn off regnetexp they dont crash as often but my fps is low and i have load of errors in the log. What else can i try

James

Posted: Sat Oct 01, 2005 4:22 pm
by jameswilson
im stall having a crash issue with these camera's
If i turn off regnetexp they dont crash as often but my fps is low and i have load of errors in the log. What else can i try

James

Posted: Sat Oct 01, 2005 5:12 pm
by cordel
I found that the full path information is in the database in the controls table. I'm going to try to add the path into zm.conf and conticate the file name to be left in the database. May take a bit longer for me to do but the full path IMHO should not be in the database unless it can be easiliy configured during compile time or It should follow the prefix.

A new topic has been started to track this paticular issue:
http://www.zoneminder.com/forums/viewtopic.php?t=5046
Regards,
Cordel

Posted: Sun Oct 02, 2005 10:26 pm
by zoneminder
Ah, I'm with you know as to the path issue on control scripts. I'll mod it to use the normal script path unless the path starts with a / in which case that will be taken to be an absolute path.

Phil

Posted: Mon Oct 03, 2005 9:19 pm
by jameswilson
any ideas on my crashing bl-c10's?

James

Posted: Mon Oct 03, 2005 9:33 pm
by zoneminder
Is it the cameras themselves crashing? If so I can't really see what effect ZM would have on them aside from frequent image requests. You could probably try and isolate it just by issuing appropriate commands via wget to see what combination causes the problem. Then at least you'd have something to chase Panasonic with.

Phil