Foscam FI9801/2W

From ZoneMinder Wiki
Jump to navigationJump to search

The Foscam FI9801W and FI9802W are outdoor IP cameras with 720p resolution, IR illumaniated night vision and support wireless. Specifications/More info here

CGI SDK - http://foscam.us/forum/cgi-sdk-for-fi9821w-fi9801w-fi9802w-t4010.html


Using FI9801W with Zoneminder

First upgrade to the latest version (at least App Firmware Version of 1.4.1.10) which enables the URL used for stills -

http://<cam ip>:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=<username>&pwd=<password>

RTSP support is meant to be implemented in a future release also.

NOTE!

The snapPicture cgi seems to only provide 4fps video with the latest firmware 1.4.1.10.

Currently there doesn't seem to be any way to retrieve a video stream with full resolution and some reasonable FPS using zoneminder.

The latest firmware also has an initial support for the MJPEG stream with another cgi:

http://(FI9802W IP):88/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=admin&pwd=

However, this is currently either broken or just incompatible with the current Zoneminder version and only produces the following errors:

Mar 9 11:24:37 purplecat zmdc[28588]: INF ['zmc -m 1' started at 13/03/09 11:24:37]
Mar 9 11:24:37 purplecat zmc_m1[28588]: INF [Starting Capture]
Mar 9 11:24:37 purplecat zmc_m1[28588]: WAR [Corrupt JPEG data: premature end of data segment]
Mar 9 11:24:37 purplecat zmc_m1[28588]: ERR [Invalid JPEG file structure: two SOI markers]
Mar 9 11:24:37 purplecat zmc_m1[28588]: ERR [Unable to decode jpeg]
Mar 9 11:24:37 purplecat zmc_m1[28588]: ERR [Failed to capture image from monitor 1 (0/1)]
Mar 9 11:24:37 purplecat zmdc[28253]: ERR ['zmc -m 1' exited abnormally, exit status 255]

Configuration in Zoneminder

General

Source Type: Remote

Source

Port: 88
Source Path: /cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=<username>&pwd=<password>
Width: 1280
Height: 720