big probleme with FOSCAM IP PT/IR cam FI8918W random reset

Forum for questions and support relating to the 1.25.x releases only.
christophe_y2k
Posts: 102
Joined: Mon Oct 12, 2009 8:47 am
Location: EUROPE-FRANCE-MANDELIEU

big probleme with FOSCAM IP PT/IR cam FI8918W random reset

Post by christophe_y2k »

Hello, since recently 1.25.0svn have a big probleme with my famous FOSCAM FI8918W

In the middle of the night when i'm sleeping....
my foscam seem to reboot or reset fonction and when she reset she make an pt test and light on infrared and she move to an standard pan tilt position that not arrange me

is this zm relevant ? or bug with my foscam

the exactly moment il this log of that occur is at 2011-09-10- 05:35:28
i can see the recorded event my webcam move and switch on infrared led...

Thanks you

Code: Select all

2011-09-10 05:36:02.042350	web_php	16206	ERR	socket_sendto( /tmp/zm/zms-351954s.sock ) failed: No such file or directory	/var/www/zoneminder/htdocs/includes/functions.php	2322
2011-09-10 05:35:56.023974	web_php	14558	ERR	socket_sendto( /tmp/zm/zms-351954s.sock ) failed: No such file or directory	/var/www/zoneminder/htdocs/includes/functions.php	2322
2011-09-10 05:35:50.006131	web_php	16208	ERR	socket_sendto( /tmp/zm/zms-351954s.sock ) failed: No such file or directory	/var/www/zoneminder/htdocs/includes/functions.php	2322
2011-09-10 05:35:43.987447	web_php	16206	ERR	socket_sendto( /tmp/zm/zms-351954s.sock ) failed: No such file or directory	/var/www/zoneminder/htdocs/includes/functions.php	2322
2011-09-10 05:35:37.969797	web_php	14558	ERR	socket_sendto( /tmp/zm/zms-351954s.sock ) failed: No such file or directory	/var/www/zoneminder/htdocs/includes/functions.php	2322
2011-09-10 05:35:31.947075	web_php	14558	ERR	socket_sendto( /tmp/zm/zms-351954s.sock ) failed: No such file or directory	/var/www/zoneminder/htdocs/includes/functions.php	2322
2011-09-10 05:35:25.929647	web_php	16208	ERR	socket_sendto( /tmp/zm/zms-351954s.sock ) failed: No such file or directory	/var/www/zoneminder/htdocs/includes/functions.php	2322
2011-09-10 05:35:19.911472	web_php	16206	ERR	socket_sendto( /tmp/zm/zms-351954s.sock ) failed: No such file or directory	/var/www/zoneminder/htdocs/includes/functions.php	2322
2011-09-10 05:35:13.893506	web_php	14558	ERR	socket_sendto( /tmp/zm/zms-351954s.sock ) failed: No such file or directory	/var/www/zoneminder/htdocs/includes/functions.php	2322
2011-09-10 05:35:07.875494	web_php	16208	ERR	socket_sendto( /tmp/zm/zms-351954s.sock ) failed: No such file or directory	/var/www/zoneminder/htdocs/includes/functions.php	2322
2011-09-10 05:35:01.856548	web_php	16206	ERR	socket_sendto( /tmp/zm/zms-351954s.sock ) failed: No such file or directory	/var/www/zoneminder/htdocs/includes/functions.php	2322
2011-09-10 05:34:55.839192	web_php	14558	ERR	Timed out waiting for msg	/var/www/zoneminder/htdocs/includes/functions.php	2322
2011-09-10 05:34:52.818039	zms	16195	ERR	Terminating, last frame sent time 10.470273 secs more than maximum of 10.000000	zm_monitor.cpp	3639
2011-09-10 05:34:41.662430	zmdc	16014	ERR	'zmc -m 2' exited abnormally, exit status 255	zmdc.pl	
2011-09-10 05:34:41.651342	zmc_m2	16118	ERR	Failed to pre-capture monitor 2 (0/1)	zmc.cpp	256
2011-09-10 05:34:41.651246	zmc_m2	16118	ERR	Unable to connect to camera	zm_remote_camera_http.cpp	1069
2011-09-10 05:34:41.650973	zmc_m2	16118	ERR	Can't connect to remote camera: Interrupted system call	zm_remote_camera_http.cpp	101
2011-09-10 05:34:35.649525	zmc_m2	16118	ERR	Connection dropped by remote end	zm_remote_camera_http.cpp	920
2011-09-10 02:27:00.936759	zmc_m2	16118	ERR	Connection dropped by remote end	zm_remote_camera_http.cpp	969
2011-09-10 01:54:25.073097	zmc_m2	16118	ERR	Connection dropped by remote end	zm_remote_camera_http.cpp	969
2011-09-10 01:43:57.363810	zmc_m2	16118	ERR	Connection dropped by remote end	zm_remote_camera_http.cpp	920
2011-09-10 00:06:56.089133	zms	16326	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2011-09-10 00:04:07.289591	web_js	15413	ERR	form.elements.autoUpload is undefined	zoneminder/skins/classic/views/js/filter.js	14
gmar_87
Posts: 72
Joined: Sat Aug 13, 2011 11:38 pm
Location: Melbourne, Australia

Re: big probleme with FOSCAM IP PT/IR cam FI8918W random res

Post by gmar_87 »

My Foscam FI8918W's randomly reboot as well. I think it's a firmware issue, not with ZM...
Some times they reboot every day and some times they stay up for a week!

To ensure the camera goes to your desired position after reboot, you need to:
1. Enable presets (under PTZ settings)
2. Set your position to preset number 1
3. Enable "goto preset on boot" (under PTZ settings)
christophe_y2k
Posts: 102
Joined: Mon Oct 12, 2009 8:47 am
Location: EUROPE-FRANCE-MANDELIEU

Re: big probleme with FOSCAM IP PT/IR cam FI8918W random res

Post by christophe_y2k »

Thanks for your reply
i recently upgraded foscam firmware
before have never had this bug...
christophe_y2k
Posts: 102
Joined: Mon Oct 12, 2009 8:47 am
Location: EUROPE-FRANCE-MANDELIEU

Re: big probleme with FOSCAM IP PT/IR cam FI8918W random res

Post by christophe_y2k »

I can't found older firmware ....
i just do a hard reset and modify only minimum config
(i read something about bug when you modify the name of camera that cause error with internal smtp function of cam)
i send email to an official forum of foscam for related these bug and the corrupt jpeg data)

wait and see.
christophe_y2k
Posts: 102
Joined: Mon Oct 12, 2009 8:47 am
Location: EUROPE-FRANCE-MANDELIEU

Re: big probleme with FOSCAM IP PT/IR cam FI8918W random res

Post by christophe_y2k »

ok i see and that always reboot 1 time per hours
...
and my cam do not return in this preset position
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: big probleme with FOSCAM IP PT/IR cam FI8918W random res

Post by linuxsense »

Which firmware are you using? I have no such issues. Using device firmware 11.22.2.36 and webui 2.4.18.16 fwiw.
christophe_y2k
Posts: 102
Joined: Mon Oct 12, 2009 8:47 am
Location: EUROPE-FRANCE-MANDELIEU

Re: big probleme with FOSCAM IP PT/IR cam FI8918W random res

Post by christophe_y2k »

Hello,
FOSCAM FI8918W (firmware 11.22.2.36 and 2.4.18.16)

Have the latest firmware
but i think the reboot bug only come with WiFi network
because before i use LAN network with no reboot (for test it with zm)

that reboot betwen once day at one once two hours

today this cam is on prod
and i can only use it in 802.11b 11Mbps that give me betwen 8 and 10fps @ 640*480.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: big probleme with FOSCAM IP PT/IR cam FI8918W random res

Post by linuxsense »

Ahh...wifi. I thought about that as I was submitting my prior post. I have had zero issues with my cam but I have also never used wifi with it, only wired. Is this a real Foscam or a clone?
christophe_y2k
Posts: 102
Joined: Mon Oct 12, 2009 8:47 am
Location: EUROPE-FRANCE-MANDELIEU

Re: big probleme with FOSCAM IP PT/IR cam FI8918W random res

Post by christophe_y2k »

Thanks for your reply

I use original black FOSCAM and yes when i test it in lan no reboot only since this cam is on production with WiFi 802.11B(sync at 11mbps)

But i found a workaround for this WiFi bug:

Always under my gentoo, i launch script every 2 minutes with a cron job
for sending command to switch off ir led and preset goto ...

# /root/BUGFI8918W.sh
(set executable bit on file)

Code: Select all

#!/bin/bash
#----------------------------------------------------------------------
# File:    BUGFI8918W.sh
# Purpose:  Work around for the FOSCAM FI8918W
# This bug randomly reboot FI8918W used in WiFi network and she go to the home preset & switch on IR Led
# This script send the command to camera to go to the Preset1 and to turn off IR Led
# add this script to a cron job and launch it every 2 minutes
# --id=x the number of the Foscam camera in you list of camera for me this the number 2
# --preset=x the desired preset position for me the first
# Date: 13-09-2011 By Christophe DAPREMONT alias Christophe_y2k
# ----------------------------------------------------------------------
#
/usr/bin/zmcontrol.pl --id=2 --command=sleep
/usr/bin/zmcontrol.pl --id=2 --command=presetGoto --preset=1
i use vixie-cron for cron job...

/root/crons.cron

Code: Select all

#Minute  Heure  Jour   Mois  Day of the week Commande
*/2        *      *       *       *       ./BUGFI8918W.sh

Now i need to found system for close firefox windows and reopen it for have a played sound when alarm occur
gmar_87
Posts: 72
Joined: Sat Aug 13, 2011 11:38 pm
Location: Melbourne, Australia

Re: big probleme with FOSCAM IP PT/IR cam FI8918W random res

Post by gmar_87 »

christophe_y2k wrote:Thanks for your reply

I use original black FOSCAM and yes when i test it in lan no reboot only since this cam is on production with WiFi 802.11B(sync at 11mbps)

But i found a workaround for this WiFi bug:

Always under my gentoo, i launch script every 2 minutes with a cron job
for sending command to switch off ir led and preset goto ...

# /root/BUGFI8918W.sh
(set executable bit on file)

Code: Select all

#!/bin/bash
#----------------------------------------------------------------------
# File:    BUGFI8918W.sh
# Purpose:  Work around for the FOSCAM FI8918W
# This bug randomly reboot FI8918W used in WiFi network and she go to the home preset & switch on IR Led
# This script send the command to camera to go to the Preset1 and to turn off IR Led
# add this script to a cron job and launch it every 2 minutes
# --id=x the number of the Foscam camera in you list of camera for me this the number 2
# --preset=x the desired preset position for me the first
# Date: 13-09-2011 By Christophe DAPREMONT alias Christophe_y2k
# ----------------------------------------------------------------------
#
/usr/bin/zmcontrol.pl --id=2 --command=sleep
/usr/bin/zmcontrol.pl --id=2 --command=presetGoto --preset=1
i use vixie-cron for cron job...

/root/crons.cron

Code: Select all

#Minute  Heure  Jour   Mois  Day of the week Commande
*/2        *      *       *       *       ./BUGFI8918W.sh

Now i need to found system for close firefox windows and reopen it for have a played sound when alarm occur
To confirm, this work around only ensures that the camera goes to preset 1 and turns iR off in case it rebooted itself?
If so, why do you need a script for this?
If you set the iR settings in the camera web UI it is retained after reboot. If you set "goto preset on boot" (under PTZ settings) it will go to preset position after reboot.
christophe_y2k
Posts: 102
Joined: Mon Oct 12, 2009 8:47 am
Location: EUROPE-FRANCE-MANDELIEU

Re: big probleme with FOSCAM IP PT/IR cam FI8918W random res

Post by christophe_y2k »

Hello,
the camera on reboot return to the home position and the home position cannot be changed
and with my web gui foscam interface i can't define any preset i use zm for that
idem for the ir led
You can set preset with your foscam gui ?

i try to buy another PA wifi for bridge 2 PA and connect foscam to lan...
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: big probleme with FOSCAM IP PT/IR cam FI8918W random res

Post by linuxsense »

You can set the default 'home' orientation via the gui but I think you need to use IE, not all of the options are available if you don't use IE and its ActiveX control.
linuxsense
Posts: 374
Joined: Wed Nov 07, 2007 1:59 am
Location: Huntington Beach, California
Contact:

Re: big probleme with FOSCAM IP PT/IR cam FI8918W random res

Post by linuxsense »

I took a look at it, you do need to use IE to adjust the presets. Under the 'For Operator' select the '1' preset and click 'set' to set the home then under 'For Administrator' select 'PTZ Settings' and make sure that 'goto preset on boot'. That should do it for you.
christophe_y2k
Posts: 102
Joined: Mon Oct 12, 2009 8:47 am
Location: EUROPE-FRANCE-MANDELIEU

Re: big probleme with FOSCAM IP PT/IR cam FI8918W random res

Post by christophe_y2k »

Thanks for that
i'm never connect from IE
Optimist
Posts: 11
Joined: Sun Sep 11, 2011 9:17 am

Re: big probleme with FOSCAM IP PT/IR cam FI8918W random res

Post by Optimist »

Could it be that these reset problems are heat related?

I have a DB Power camera which is a clone of the Foscam and it has been working perfectly with no problems. I've just bought a second unit That worked fine for several hours and then started resetting every few minutes. I had been using it standing on a wooden table that didn't allow airflow to the underside. I then mounted the camera on the fixing bracket and it has run all night without reseting.

You could test this theory by positioning a fan near your camera.

To set preset 1 , issuue this command from any browser

cameraIPaddress/decoder_control.cgi?user=admin&pwd=&command=30

To make it goto preset 1 after reset

cameraIPaddress/set_misc.cgi?user=admin&pwd=&ptz_preset_onstart=1
Locked