Foscam FI8910W control

Forum for questions and support relating to the 1.25.x releases only.
Locked
heri0n
Posts: 2
Joined: Tue Dec 04, 2012 1:00 am

Foscam FI8910W control

Post by heri0n »

I recently bought 2 of these cameras.
I installed the pm file for the control.

I couldn't control through zoneminder. I looked in the apache logs and I found a bunch of these errors.

Code: Select all

[Mon Dec 03 18:51:19 2012] [error] [client x.x.x.x] ERR [/usr/bin/zmcontrol.pl --autostop --command=moveConLeft --id=3=>], referer: x.x.x.x/zm/index.php?view=watch&mid=3


Not very descriptive... and apache seems to be stuck after trying to control the camera.
I tried running the command manually and nothing happened. Re-ran with sudo and it moved the camera. Do I have to change the permissions on zmcontrol.pl?

Code: Select all

-rwxr-xr-x 1 root root 6399 Feb 12  2012 /usr/bin/zmcontrol.pl
Also my FPS is not that high in zoneminder. Is it due to my hardware or can I change some setting? I set it for high bandwidth.
ramasule
Posts: 7
Joined: Sat Dec 01, 2012 4:22 pm

Re: Foscam FI8910W control

Post by ramasule »

what is your distro and zm version?
You are one step further then I am, I could not get mine to move, it seems this is a common problem.
heri0n
Posts: 2
Joined: Tue Dec 04, 2012 1:00 am

Re: Foscam FI8910W control

Post by heri0n »

I'm using Ubuntu 12.04 and Zoneminder 1.25.0-1.
Just installed using apt-get install.

I used the control file here github /troywill/foscam-zoneminder and put it in here /usr/share/perl5/ZoneMinder/Control

Can't post links :( change github to the full url
ramasule
Posts: 7
Joined: Sat Dec 01, 2012 4:22 pm

Re: Foscam FI8910W control

Post by ramasule »

Try adding
extension=mysql.so

to your /etc/php5/apache2/php.ini file

I fixed my problem as follows.

Fresh Ubuntu Server Install with only SSH

Install LAMP as per this guide
http://www.howtoforge.com/ubuntu_lamp_for_newbies

Then install zoneminder as per this guide
http://www.zoneminder.com/wiki/index.ph ... e_easy_way

and it worked.

Last time I had installed lamp server with Ubuntu server install and I think something got left out.
zefiro88
Posts: 6
Joined: Wed Nov 14, 2012 11:29 am

Re: Foscam FI8910W control

Post by zefiro88 »

im having trouble when i try to use a new control type.zm recognize default control type (like PanasonicIP.pm) instead when i try to use a new one i suppose that he cant create the zmcontrol sock or something similar.Your solution resolve that issue?
which is the line where i have to add that string in php.ini?

thx in advance
Image
Locked