New Firmware for Foscam cameras - Gadget Victims

Post Top Ad

New Firmware for Foscam cameras

I've been told about a new firmware for FI8904W and received a copy of it (Thanks Neil!). At the same time I also received the corresponding update for the FI8908W from Foscam as I was asking for news on the unfinished FPS parameter introduced in the version still present on Foscam download center.

As always, don't use these firmwares if you have any reason to suspect that your camera is not from Foscam. 
Other look-alike cameras such as Maygion, EyeSight and EasyNP will be bricked by Foscam firmware and require updates from their respective manufacturer.

The changes are:
- Wifi disconnections resolved
- Wrong timestamp in log resolved
- Log now reports motion detection events 
- Videostream FPS can now be adjusted (see updated videostream command below). You will find this handy to control the bandwidth used by your IP cameras.
- You can Backup/Restore your camera settings

Not fixed:  The errors introduced in the tilt function are still present.

An updated WebUI file fixes the PTZ bugs above, I've updated the archive with it. Big thanks to Paillassou!

Another remark on PTZ: you will notice that they've turned the turbo on in that version, the PTZ patrol rate is set to the maximum (0). With the bug above, it's nearly impossible to set the camera in the right position. You may then want to change this speed back to normal with the following command:

http://[ipcam]/set_misc.cgi?ptz_patrol_rate= 20

I suggest that you also send this other command:

This will prevent the camera from rotating on reboot. You won't need to re-position the camera each time.

Click on your model to download:
system firmware
web ui firmware

FI8904W (also FI8903W)
system firmware
web ui firmware

The included IP Camera Tool needs to be updated to 7.2.34 as per instructions.
Last minute: While I didn't encounter problems myself, some users had troubles with this version IP Camera Tool.
If it's your case, please try the newer version 7.5.32. (Thanks to Paco for the heads up)


  rate: 0-23
    1:20 fps
    3:15 fps
    6:10 fps
    11:5 fps
    12:4 fps
    13:3 fps
    14:2 fps
    15:1 fps
    17:1 fp/2s
    19:1 fp/3s
    21:1 fp/4s
    23:1 fp/5s


  1. Is it possable to name the FTP file that is transfered with this firmware? Foscam told me it would be, but no mention of it again??

  2. THANKS a lot for that information Bubbah ;)

  3. @bdveit
    it's not yet there from what I can see. I tried this update yesterday with the FI8904W (no PTZ), but I just tried it on the FI8908W this evening, and I'm not too impressed with how they messed up with the PTZ function in general. Hopefully there will be a further firmware soon. I understand why they didn't publish this one on their own web site.

  4. For information
    => BUG in the WebUI fw online (18/05/2010)

    Important note: in the Web UI firmware, in the Firefox (PUSH MODE) interface the tilt function is broken.

    "It reports two javascript errors (in both Firefox and Chrome): "support on mousedown event" and "support decoder_control function". The camera then moves up anyway, but has to be stopped with an extra click on the stop button."

    Bye BUBBAH ;)

  5. Crap... I think I upgraded in the wrong order. The two videostream links are working but everything else is 404.

  6. @isnoop
    can't you just re-flash through the ip camera tool ?

  7. for information:
    the bug about the 2 errors in the tilt UP and DOWN functions (push mode) is just a error in the file "camera.htm" into the html source code.

    FOSCAM can fix it very quickly:
    copy the little file "camera.htm" from an old 1st (not BIS) WebUI and re-assemble the new WEBUI bin => the problem will dissapear..

    i've fix my old buggy WebUI "" like that...
    and i've create my own WebUI "" that works fine...

    FOSCAM (tech) must only do that... please.

    In the new WEBUI (with this bugs "tilt up and down")
    They introduce a new head of file with a 4bytes CRC check in the code
    ... it's just too bad for US... and it's very difficult to dissassemble now...

  8. hi, everyone,
    i understand nothing, the firmware and webui is the same as before
    Device Firmware Version
    Device Embeded Web UI Version

    where to find buba's files ?
    on hios image i see form firm and for webui ?

    where have you find these files , in foscam site they still give olds ones

    please give light ...


  9. have someone noticed that ipcam cannot connect to hidden SSID ?
    you think foscam will solve this ?

  10. @miki
    as indicated in the post, these firmwares have been sent to me and another reader directly from Foscam. They're not published on their web site probably because they're aware of the bugs described above.
    They're supposed to know about the hidden SSID issue, but you could still email them as well, with enough feedback, they'd probably start considering fixing it.
    There are older firmware versions available in my Firmware history page.

  11. YEHHH => FOSCAM sent me a NEW CORRECT WebUI v2.4.8.14.bin

    (it's not a good thing ton not change the minus version number...)

    ...they've just done what i explain in my previous post (camera.htm)
    The new WebUI v2.4.8.14.bin works fine for me under firefox/chrome and safari... COOL ;)

  12. @Bubbah
    share it pleeeeaaaaase ! :-)


    here is the file

  14. @Paillassou

    Super, merci!!

    One firmware a day keeps the boredom away...

  15. Sh*$%, i updated two of my clones =[

    well, just ordered an USB to UART =D

  16. Hello everyone I hope not to be out forum.
    I wrote to Foscam if they could implement (also with payment) two changes to the firmware:
    1) PTZ preset position
    2) save videos to nas
    and they said that is not possible.
    Do you know if there is any firmware version that does these things?
    Thank you all for your attention.

  17. Hi,

    Dowload the latest IP-Cam version, I had problems updating firmware in 2 cameras and not able to comunicate anymore with them. Downloaded the app from here: ....and worked perfect, even with the latest firmware downloaded from the Foscam download center. They have put something in their new fw and Ip-cam soft to brick the cameras, but with the version I downloaded both cameras works perfectly.

    Hope it helps,


  18. @davide
    I think these 2 features can only be achieved using some of the 3rd party camera clients presented earlier on this blog.
    The PTZ preset position becomes less important once you use the cgi command "ptz_center_onstart=0" to prevent the camera from rotating on each restart. Check the post "shortcuts to some ip camera functions".

  19. Paco,
    strange, I didn't have any problem with Ip cam tool 7.2.34. Good to know there's a 7.5.32 though, thanks!

  20. I had a report of another user having problems with the initial IP cam tool, so I updated my post with the version 7.5.32. Thanks Paco!

  21. About IPCamTools:

    It's very strange because the program IPCamTools v7.6.34 is include in the fw's package


  22. Bubbah -- we're up the road from you in Co Armagh -- I installed an IPCAM01 at our flying club but the video quality is very poor. Everything looks like a post-apocalyptic wasteland. And there doesn't seem to be a way to set the brightness/contrast to work in all weather (i.e. bright and dull).

    Has anyone any advice on mode/contrast/brightness combinations that work well for outdoor use?

  23. I thought upgrading the firmware fixed the problem.

    Is there a problem with WPA encryption? after I rebooted, and even restored factory default, it will NOT connect to my wireless router. If I take the encryption off, it connects.

  24. @Michael McGrath:
    Hi Michael, it is common for these cheap cameras to show the vegetation with pinkish colors. I think it's partially due to the absence of IR filter to allow the camera to work in the dark using the IR LEDs.
    It is possible to change the lens by unscrewing it all the way out. The only thing is to find a webcam (with IR filter) lens that could fit. Lidl sometimes sell those SilverCrest webcam that may have the thread (M12x0.5). I've got one at work, I've yet to try this.

    For the brightness, depending the day (quite sunny lately) I use the Outdoor mode (even when looking indoor), with values between 3 and 6 for Brightness and always around 4 for contrast. I have the feeling that the latest firmware improved things a bit.

  25. @lumangoy:
    audio: you need to use the ActiveX interface (under IE) and click the tiny icon for enabling audio, or use VLC player to intercept the stream, see the topic #8 from "Faq for IP cameras" post.

    I use WPA TKIP, but apparently you must keep the broadcasting enabled on your router for it to work.

  26. I got WPA TKIP to work once, but after I rebooted the camera, it stopped connecting. broadcasting is still enabled.

    when I look at my wireless router, the camera tries to connect then it gets disconnected. I have other wireless devices that work fine.

  27. hi there,
    is someone know when this firmware and webui will be official on foscam site ?
    because i use hidden ssid and ipcamera is blind and not see it :-DDDDDDDD
    and of course when disconnecting ipcamera become again blind and never reconnect (until to reboot it)

  28. @miki

    I think for now, you'll have to broadcast the ssid

    I finally got the wireless to work with WPA TKIP. I guess it just takes a while to connect. around 5 mins or so. My other wireless devices don't have a problem... really strange.

    since I upgraded to, it looks like the movement of the camera is much faster, is there a way to slow it down a bit?

  29. @lumangoy
    that's explained in the post above

  30. yup, figured it out, i thought the patrol rate was only for the patrol speed.

  31. does anyone know how to play audio stream on foscam speaker without using Active X? it must have some command to play audio stream that coming to foscam since foscam use uclinx.

  32. has anyone tried saving the snapshot.cgi image using chrome?

    it displays the correct snapshot, but when I save it, looks like it does another refresh and saves that image it captured again. After saving, the browser still displays the original snapshot made.

  33. This comment has been removed by the author.

    IT'S ONLY FOR RS232 FLASH thru the JTAG (tx & rx) on the PCB
    I've receive the FOSCAM FI8908W's firmware
    [systemfw= and webuifw=]
    from the FOSCAM tech staff
    in split format: & romfs.img ;)
    IT'S ONLY FOR RS232 FLASH thru the JTAG (tx & rx) on the PCB

  35. Is there any suggestions why I get only audio with VLC, I don't see any video if I use http://[camera_ip:port]/videostream.asf but audio works fine. If I try to use .cgi, I can see the video without audio. What is the secret to get VLC show both audio and video at the same time?

    I use mac so VLC is my only hope to get video with audio...

    Can somebody give example how to use /videostream.asf[?user=&pwd=&resolution=&rate=] command correctly, for some reason I cant get it work with /videostream.asf[?user=username&pwd=password&resolution=32:640*480&rate=0] Is there some typo that I made?

  36. Onni: how about trying /videostream.cgi ?

  37. Now that I have read the whole message:) Sorry.
    On my Linux system:
    Show extended settings control
    Audio-Graphics Equalized and Spatializer disabled.
    You were right, the .cgi didn't work.

    Now trying your line*480&rate=0

    Works audio and visual.
    If it fails on your mac I can beg my wife to let me use hers. She really doesn't trust me.

  38. Okay it works on the MAC VLC streaming, no decoder, http, port 80
    I don't exactly know how it works but I put "http://......" on the first page and then streaming settings I used the http selection but put in the ip address for the location, and port 80. Real lag though 15 seconds or so.
    Works fine. I didn't test the resolution and rate stuff on the mac though.
    If you still have problems I can take some screen shots; or some such.

  39. OMG Paco, i did what you posted and worked perfectly !!! Thank you so much ! I really love this site !

    Now i have 3 Foscam and 2 clones all with the lastest firmware >:D

  40. Ray: Thank you very much! I had to remove those [] from the url to get it work properly. Now I have video and audio both with VLC!

    Audio quality is quite bad, although better than no sound at all. For some reason there is annoying snapping sound couple times per second which makes audio even worse...

    But I still love my 8908W, picture quality is suprisingly good with original lens, much sharper than 2.1mm 160 degree wide angle lens that I ordered from DealExtreme. :]

  41. Good! I agree about the audio; it's quite bad. I haven't noticed the snapping sound; but I don't use the audio. I don't have a clue about how to fix that. There is another online group trying to hack these cameras. Perhaps something will turn up in the recompiles. Some of the picture processing seems flaky. Sometimes I have to switch viewing modes (60/50/outdoor) and back to get a good picture. I don't think that makes sense unless there are eccentricities/bugs in the video processing
    My picture is also good. I have ordered one of those packages with a set of 6 lens for my purposes so I can select one appropriate for reading license plates at 10 meters. I hope they fit:)


  42. I have a question about the DNS settings.
    I have 4 Foscam cams (4 different models) working fine on my WLAN.
    I've opened a DNS address at and set it in my router.
    I log to one camera through the internet and with the multi-device tool I have the 3 others. This is working very well.

    What is the difference if I set the DNS address in my router or straight in the camera setting? Does it change something?

    I'm really satisfied with Foscam cameras, I bought the first one more than 2 years ago and it's still working. The quality is very good for the price. Of course there is better but it's more expensive. For my use, it's more than enough.

    The annoying thing is the outdoor views. When the motion detection is set, the alarm is activated easily if it's sunny then cloudy or with trees shadows. It can be also difficult to get a clear picture if there is a big contrast, for example for the camera on my terrace, half under the shadow of my balcony and half under the sun. I had to find a middle setting. Sometimes I don't know why but I have to change the mode (outdoor/50Hz/60Hz) otherwise the brightness and contrast don't change.
    And of course I have the latest FW and WUI on all of them.

    I wanted to change the lens of the FI8904W but like Deal Extrem screwed me up by sending only one lens instead of the pack of 6, I gave up and let it like that.

  43. @david
    I try to get use to the pink trees and bushes in my garden but it's hard. That's a very common complain about these cameras. I'm still looking for a better lens, and if I do, I'll post the info.
    I think you could set the DDNS from your camera with no problem, but, in particular with several cameras, it's so much easier to do everything from the router.
    I've tried the lens from a webcam this week but couldn't get a good focus, otherwise I could already see better colors, like green trees instead of pink. So there are better lenses out there, the challenge is to find the right one. I'll post something if I end up with a solution.

  44. Please do Bubbah!
    That's my biggest complaint. I have the indoor & outdoor cams doing FTP to a laptop/server and it's great, but on the outside one the color is terrible and the contrast is awful during bright sunlight. I keep thinking its because there's no IR filter, but I'm afraid to try randomly ordering one or a lens with one because there seem to be at least a couple different types. Still haven't seen if anyone has tried one yet, or found another solution (like something else plastic or glass that can be fitted that blocks the IR). I know the night vision is wanted for most people, but I have enough illumination where my outdoor one is that I could live without the IRs working. :(

  45. Bubbah: Have you tried the IR blocking plastic that is used on windows to trap heat. From the hardware store. It might help. Otherwise there are a lot of webcams that have a blocking filter; of course all of the instructions are for removing them:)

  46. Someone complained that the FOSCAM would send a false alarm email when the schedule changed with the scheduler. I have set my camera's alarm scheduler to go active/inactive every half hour. So far no false alarms. I have the camera in a poorly lit room with two windows with partially closed Venetian blinds - so the light does change slowly with day/night cycles. The FOSCAM appears to tolerate such slow lighting changes without triggering the alarm. However, as an experiment, I turned the room light on and off a couple of times. The rapid change in lighting DID send an alarm email. This makes perfect sense because ALL pixels rapidly changed when the lights were turned on/off.

  47. A follow up to my post of June 17th.

    I have a FOSCAM model FI8904W, Device ID 00606E8365E2, Firmware Version, Web UI Version I read on an Internet forum (don't remember which) that the camera would false trigger an alarm each time activated by the embedded scheduler function. I tested this and found it to be true.

    I placed the camera into an empty room and closed the door so that there would be no motion source. I set the schedule to alternate alarm enable between active and inactive every 15 minutes. I left the sensitivity at the default value of 5. Every 30 minutes, when the schedule activates the alarm, I receive an alarm email.

    I conclude that there is a software bug in the automatic schedule alarm enable that causes this problem. I have emailed FOSCAM in China but have not yet received a reply.

    Have others experienced the same problem?

    Does anyone know of a fix?

  48. Using the new tool, (ip camera tool), the update is still failing. Getting stuck at 89-90% and then connection goes off. :( any ideas?

  49. The New Firmware posted in this blog New Firmware for Foscam cameras by Bubbah on Monday, May 17, 2010 is beta. The new release candidate with the same version number fixes the problem of triggering a false alarm when the scheduler changes to enable.

    FOSCAM technical support promptly responded to my questions and emailed the latest firmware (A Release Candidate) to try. She indicated that she duplicated my test and got no false alarms with this firmware. She is right!'s website is often down, in fact is is down as I write this. Therefore, as a courtesy only, without warranty. i.e., use at your own risk, I copied the Release Candidate firmware version files that FOSCAM emailed to me for anyone to download. Everything that you need is in a file named at:

    Remember, this firmware is ONLY for genuine FOSCAM I8904W cameras.

  50. How are u flashing the f/w? using the webUI tool or using the jtag?
    Can anybody pls explain to me? thanks

  51. I have buy FI8908W clone foscam on dealextreme, I try to update new firmware and WEB UI, firmware is OK, but WEB had some error, IP camera tools is latest version from, in IP camera tools firmware of the camera, web UI is
    if use IPcamtools for update new message: Refused by the camera ! this message i saw when try to update firmware and WEB UI. But camera is work. http://ipcamera/snapshot.cgi - i see pictures, when i try to do web update http://ipcamera/upgrade_htmls.cgi i see massage error: this cgi only support post method.

    How to update web UI?

  52. @office
    there's no need to post the same question on all 20 ipcam-related posts of this blog. I don't miss any comment since they're automatically emailed to me.
    I'll reply on this post because that's where you may find the solution: try the ip camera tools version 7.5.32 mentioned above, it seemed to solve the problem for some.
    On important thing: always hook the camera to the router for flashing. Upgrading through Wi-fi often leads to this situation.

    If all fails, a last chance operation is explained here

    Good luck

  53. Mr. How about doing firmware update at linux ? can i use the web UI to do that or i must use windows, change of ip.. etc ?

    and, with order of upgrades are that commented at beggining ?

  54. I updated my F/w and UI successfully. But darn thing the controls (pan-tilt-zoom) etc are all missing in the web-UI. (For all the admin,operator and visitor.) What is going wrong? Is this a known bug?

  55. @didadi
    looks like you updated you fi8908w with the firmware intended for fi8904w, which has no ptz control...

  56. @ Bubbah! - Dang, wtf moment..! thanks for the update. can i get the newest f/w for fi8908w ? If yes,can anybody share the link pls? Also, will the update process work as before using the current ipcam tool? :-) What is the safest way to undo this operation.

  57. @didadi
    it's still in the post above, click on the word fi8908w which leads to the firmware history page. You'll find the system + Web UI Download and install the ip camera tools 7.5.32 first.
    You just need to re-flash using the ip camera tool. Make sure you do through the Ethernet port not wi-fi.

  58. @ Bubbah - thanks. All good now. I don't know how I endedup flashing the other f/w. Also, had little bit of trouble,since the new IP tool stopped recognizing my device. So, played around a bit to get it going. The funny part is, emailed the Foscam support folks and apparently they do not support the devices that are NOT bought directly from them. How crap!. They ONLY support if the device is directly bought from them. I bought mine frmo Amazon(reseller, Valuelink). Nevertheless, its pretty good. Also,what is the tool to view the camera remotely on iPhone or Evo (Android devices?) without using the browser?

  59. @didadi
    for some reason your last comment didn't show up:
    @ Bubbah - thanks. All good now. I don't know how I endedup flashing the other f/w. Also, had little bit of trouble,since the new IP tool stopped recognizing my device. So, played around a bit to get it going. The funny part is, emailed the Foscam support folks and apparently they do not support the devices that are NOT bought directly from them. How crap!. They ONLY support if the device is directly bought from them. I bought mine frmo Amazon(reseller, Valuelink). Nevertheless, its pretty good. Also,what is the tool to view the camera remotely on iPhone or Evo (Android devices?) without using the browser?

    You should check the post on Third-Party software for Ip Cameras, near the end. I personally use "Ip Cam viewer" for Android.

  60. @ Bubbah - thank you!. Also, did somebody notice that when I display the timestamp on the video ,it defaults to EPOCH time?

  61. @Bubbah, any news on the lenses? the cam is pretty stable, but the purple trees are really anoying. any solution with other lenses?

    also, anyone struggeling with the auto-ajustment in different light situations (cloudy day, sunny day), the cam is not ajusting itself to this.

  62. Folks - quick qn. Whats the app that you use to see the cam over the 3g connection on iPhone? Will be very interested in getting one. Ended up buying an iphone instead of Android based phone :(

  63. @didadi
    sorry to hear you joined the Dark Side ;)
    However there are some good viewers for iPhone too, check this post. IP Vision Pro is the most popular but Touch Cams looks quite cool.

  64. Does anyone have any news about firmware to include the feature of naming the ftp file transfered to webcam.jpg and overwriten every time it uploads. I really need this feature. Any ideas of how i could make it possable?

  65. @stan
    I developed a small app that I run with windows scheduler to adjust the brightness/mode at certain times of the day. Contact me on aim (XRND88) if your interested

  66. @ Bubbah - Thank you !. Ya, iphone - thats for better half. :-). I am still in market for Nexus or something similar. HD2 looks good,but no native Android on it yet. Will let u know!

  67. & Special thanks again to Bubbah for always helping out! .

  68. Salut Bubbah ;)

    tu as vu ça:

    FOSCAM "améliore" le fw (FI8908W) en y rajoutant 'certes' de nouvelles fonctionnalités mais, ils ne changent pas le numéro de version... c'est pas très professionnel tout ça...

  69. @paillassou,
    Salut à toi!
    et c'est pas la première fois, ça deviendrait même une habitude! Je crois que je vais en parler à Terry (de chez Foscam).

  70. Guys its really easy to get rid of the IR light all you have to do is buy an IR filter and stick it over the lens or if you want it to look neat, open up the camera and find a way to stick it inside.
    I've got a clone foscam but I wanna update the firmware. What would happen if I use the foscam firmware? would it brick or would it work with their firmware?

  71. @Ben
    You're likely to brick your camera if you don't know what exact clone it is (EasyNP, Maygion, EyeSight, ...) They all use different firmwares and are not cross-compatible.

  72. Hey all,

    I've recently purchased an FI8908W to monitor my dog while I'm away. I seem to have everything running properly through VLC (On OS X 10.6.3) but the audio has this incessant beeping noise in the feed. It's either some kind of interference or the camera is trying to tell me something. Anyone had any experience with this?


  73. @Ryan
    It's probably an interference, the camera is poorly isolated. This could come from the power adaptor, a nearby device, or wifi itself (compare with the camera connected to the Ethernet port). I get some background noise too, but it's faint enough to be not a problem.

  74. @Bubbah

    I suspected as much but many thanks for confirming the shielding issue. It is currently sitting directly next to my wireless basestation as well as a number of other boxes and gadgets, so I will move it tonight and see what happens.


  75. check the FAQ for IP cameras about this problem. The camera cannot connect to hosts using encryption.

  76. Sorry I did not mean to disturb.
    I will seek in another web
    Thanks anyway

  77. @Burgalpalms
    you're not disturbing, just take a look at the topic #3 from the article titled "FAQ for IP Cameras" on this same web site. Your answer is likely there.

  78. I found out something really cool. You can open the firmware file "aw_(firmware number).bin" in notepad and see all the html and the javascript used and loads of cgi commands you can do, if you search for .cgi using Ctrl + F. It even shows the controls for the camera so you could probably embed them in your own webpage if you wanted to. And i also found that I can extract "lr_cmos(version number).bin and it gives the file linux.bin, which can't be extracted. It says more about that in one of the recommended reading links I think.

  79. If anybody is interested. I have a recording and access server setup on my LAN; and hopefully on shortly. This is using Ubuntu server and an ethernet hub; although it also worked over a wireless link. I am using an hourly script to packup the ftp files in mpeg every hour, and remove the ftp. I also delete the old files mpeg after a week. If somebody wants the setups/scripts let me know.

    Somebody called upperlip apparently left a comment on here I can not find. In any case he wanted startup help for wireless. I would recommend pinging the camera address, presuming he assigned it static or knew it though the dhcp server.

  80. Hi

    Could somebody please provide me with the code so that I can set my Foscam to only use a frame per second rate of 1/5fps as I cannot get the camera to save the setting when making the change through the "For Operator" WEB GUI, it changes but next time I log in the rate is back to Maximum

    Many thanks

  81. Hi there - I am new to this Forum, and new to Foscam cameras so apologies if my question has been answered elsewhere. I have 3 x Foscam cameras - 2 x FI8904W sited outside, and one FI8918W sited indoors. These cameras seem to offer very good value for money, and I am generally pleased with them. One niggle I have is regarding the Brightnes / Contrast on the FI8904W's whereby during the day the brightness needs to be 6 and contrast 4, but to be able to see anything on the camera at night with the Ir the settings need to be 10 & 5. Is there any way to automate this - I cant find anything in the provided SW, so I am guessing this needs to be scripted somehow - I use both Mac and Windows.
    Any guidance would be appreciated.
    Regards Tony

  82. @Tony
    you can find a reference document with all the cgi commands (inluding brighness control) in the Firmware History Page. You would just need to send a particular url with the desired settings.

  83. @Bubbah
    Many thanks - I found the doc and will take a look - I will need to work out the best way of automating this in the background so that say at 10pm I can increase the brightness and then at 8am change it back to a lower value. If anyone has a method they can share I would appreciate it.
    Regards Tony

  84. FYI - I have a customer that needed just what you're looking for. I needed something FAST so the quick and dirty version is a VBS that is run every so often using Windows Scheduler. The script gets current hour and makes HTTP posts to adjust accordingly. Following this post (for character limits) is a (large?) snippet.

  85. I tried to post a sample, but it keeps getting deleted....

  86. Option Explicit

    Dim currentTime, currentHour, mode, contrast, brightness, hz50, hz60, outdoor, url1, url2, url3, camURL, parm, value, username, pwd, result
    dim parm1, parm2, parm3, value1, value2, value3




    currentTime = Now
    currentHour = cint(Hour(Now))

    Select Case currentHour
    'can create a unique setting for each hour of the day
    Case 0 'Midnight
    'set mode
    result=(GetDataFromURL(("http://"&camURL&"camera_control.cgi?user="&username&"&pwd="&pwd&"&parm1&"&"&value1), "POST", ""))
    if result="200" then
    result=(GetDataFromURL(("http://"&camURL&"camera_control.cgi?user="&username&"&pwd="&pwd&"&parm2&"&"&value2), "POST", ""))
    if result="200" then
    'set contrast
    result=(GetDataFromURL(("http://"&camURL&"camera_control.cgi?user="&username&"&pwd="&pwd&"&parm3&"&"&value3), "POST", ""))
    if result="200" then

    'else msgbox "ERROR"
    end if
    'else msgbox "ERROR"
    end if
    'else msgbox "ERROR"
    end if
    End Select

    Function GetDataFromURL(strURL, strMethod, strPostData)
    Dim lngTimeout
    Dim strUserAgentString
    Dim intSslErrorIgnoreFlags
    Dim blnEnableRedirects
    Dim blnEnableHttpsToHttpRedirects
    Dim strHostOverride
    Dim strLogin
    Dim strPassword
    Dim strResponseText
    Dim objWinHttp
    lngTimeout = 59000
    strUserAgentString = "http_requester/0.1"
    intSslErrorIgnoreFlags = 13056 ' 13056: ignore all err, 0: accept no err
    blnEnableRedirects = True
    blnEnableHttpsToHttpRedirects = True

    strHostOverride = ""
    strLogin = ""
    strPassword = ""

    Set objWinHttp = CreateObject("WinHttp.WinHttpRequest.5.1")
    objWinHttp.SetTimeouts lngTimeout, lngTimeout, lngTimeout, lngTimeout
    objWinHttp.Open strMethod, strURL

    If strMethod = "POST" Then
    objWinHttp.setRequestHeader "Content-type", _
    End If
    If strHostOverride <> "" Then
    objWinHttp.SetRequestHeader "Host", strHostOverride
    End If
    objWinHttp.Option(0) = strUserAgentString
    objWinHttp.Option(4) = intSslErrorIgnoreFlags
    objWinHttp.Option(6) = blnEnableRedirects
    objWinHttp.Option(12) = blnEnableHttpsToHttpRedirects
    If (strLogin <> "") And (strPassword <> "") Then
    objWinHttp.SetCredentials strLogin, strPassword, 0
    End If

    On Error Resume Next
    If Err.Number = 0 Then
    If objWinHttp.Status = "200" Then
    'GetDataFromURL = objWinHttp.ResponseText
    GetDataFromURL = "200"
    GetDataFromURL = "HTTP " & objWinHttp.Status & " " & _
    End If
    GetDataFromURL = "Error " & Err.Number & " " & Err.Source & " " & _
    End If
    On Error GoTo 0
    Set objWinHttp = Nothing
    End Function

  87. Tony, I suggest using wget might be simpler. If you have a linux or mac computer, set up two cron tasks that run at the appropriate time that use wget to tell your camera to adjust its settings.

  88. Hello.

    Foscam tech guys confirm me that the new FPS setting does not work. I mean: when i open the web ui fps is set to max. If i set it to 15 fps (for example), and after i log out, when i will enter again in the ipcam web ui, the fps setting is fixed again on max. I think there is a bug that does not allow the saving of the setting.

    In fact the wrote to me that "About the problem that can not save fps,yes,in currect software.
    The fps can not saved if you close the browser,our engineers will try to fix this in future software."

    So, at the moment is a feature quite useless :-(

  89. @zanzarame
    yes, I see the same. The FPS works for as long as you keep the AX interface open, which is useless for me as well, since I don't use IE. They are also still supposed to release some updated CGI SDK reference doc. I suppose there will be a CGI command to do this via the url.

  90. Hello.
    I have the FI8908W from DealExtreme and updated the ipcam to the latest version.
    It is working fine, but it gives an annoying beep sound when an alarm is detected. Is there a way to switch off that irritating beep sound ? I cannot play music and have the cam running on the same computer.

    Thanks very much

  91. @Software
    The only way to get rid of that sound is to disable the motion detection in the alarm settings.

  92. @ Bubbah, for FPS matter.

    But the (/videostream.cgi[?user=&pwd=&resolution=&rate=] OR /videostream.asf[?user=&pwd=&resolution=&rate=] ) cannot be used to set the framerate?

    Does IPcamera not remember the setting?

    Many thanks.

  93. no it doesn't keep the setting, I reported it to Foscam few weeks ago. Hopefully they'll improve this.

  94. Hello ,

    I have a clone cam, with Device Firmware Version and Device Embeded Web UI Version can you recommand a way to upgrade the firmware and the web UI?

  95. @Saiid
    sounds like nothing I know, but there are just so many clones. Maybe you'll find some clue with the info here(work in progress)
    Just don't take a chance if you could not positively identify the manufacturer. It takes 5 seconds to brick it forever.

  96. Hi,
    I have an ip-camera, I think that it was an FI8904W:

    Device Firmware Version
    Device Embeded Web UI Version

    I have upgraded the system firmware first with the latest systen firmware (, but after the automatic reboot the camera doesn't work anymore, the web interface show only a red page with a generic 404 error:
    404 Not Found
    File not found.

    A device reset didn't help, so I couldn't upgrade the “Embeded Web UI “ because the web interface is offline.
    It's seems the the camera is bricked, Any suggestions?
    Thanks in advance

  97. [PROBLEM SOLVED] I think …

    After a device firmware upgrade (lr_cmos_11_15_2_17.bin) the web interface of my Foscam camera (FI8904W) is entirely wiped out.
    The camera works again in Ethernet mode only, with the default password and the IP received from my dhcp server, but the web interface is missing.
    I have solved the problem by downloading a generic web interface for this camera from a french forum:
    but the IP is wrong, so I have changed the wrong IP “” with my ip “” in all HTM/HTML files using a batch process (program used “Inforapid Search & Replace”).
    With this interface I could manage the camera, so I have uploaded an updated web interface “”.
    I receive an error, but after 60 seconds the camera reboot with success.
    Now it seems that the camera works again.
    I hope that this post could help some users to un-brick broken camera.

  98. @Doc,
    Thanks for the update. One important point is also to use the latest ipcam tool to flash the new firmwares. This solved similar problems.

  99. How can I automate resetting brightness?

    I have 6 Foscams, at least they say Foscam. 4 x FI8905W and 2 x FI8904W.

    The brightness is a pest. I'd like to be able to tell each of them to: Default settings, then change to 640 x 480, then select Outdoor mode. I'd like to send this say once an hour from my Win XP PC.

  100. Looking at the code you have above, and not knowing how to use it, I ended up with that I can change the mode:

    This seems (maybe) to let the camera reset the brightness. So hopefully I can automate it somehow.

  101. Hi, I need to decrease the JPG compression level in a Foscam FI8904W, the quality of the uploaded image in my ftp server is terrible.
    I have already installed the latest firmware, but there is no settings for the JPG compression level.
    Any suggestions?

    Many Thanks

  102. @Doc
    Apart from switching to 320*240 on and decreasing the sensitivity on the camera, your only other option is to use an external application (see the post on 3rd party software) or use the Surveillance application that comes with some NAS like Synology DS109. It comes with a license for 1 camera and their application is so much better than what you have in the camera. The reason I'm not using it with 3 ip cams is that I find the cost of license for using additional cameras excessive (nearly the price of 1 camera).

  103. Hello to everyone!

    I have just open the box of my new Foscam FI8905W and i'm setting the option...
    My target is upload via ftp the image each x time with the same name, so i can after reach it by a simple HHTP page or dirct URL to jpg image. I did this ver well with Hamlet IP cam, but now i need a wifi connection..

    So: how can i set up the name of jpg image uploaded by FTP? I need to upgrade firmware? where can i find it (not in foscam site :-( )

    Thanx a lot!!!

  104. @Monte Bue
    This feature is not implemented in Foscam camera and has been requested to them for a long time now. There are still new fw version expected. They do send new firmwares on request if you email them with your DeviceID and Fw version.

  105. Many Thanx Bubbah!!!
    So if i email foscam support do they send me a fw where i can set image number?
    (i see this message by now because google doesn't tell me...) :-)

  106. for montebue: have they sent a specific firmware have you solved you problem?

  107. hmm I upgraded my 8905W but now I see I have no more infrared working also not showing up in the web interface so I guess I did a downgrade damn. Btw, how secure is that backup bin file it saves my email passwd in clear text!
    risky camera's


Note: Only a member of this blog may post a comment.

Post Top Ad