Panasonic KX-HCM10

Post here to indicate any hardware you have used and which is known to work with ZoneMinder. Not for questions.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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.
Last edited by jameswilson on Thu Sep 29, 2005 9:00 pm, edited 1 time in total.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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:
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

thanks Corey. I psent days thikning i was missing something when i coldnt get it to work.

James
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

any ideas on my crashing bl-c10's?

James
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
Post Reply