Foscam IP Camera User Manual
Foscam IP Camera User Manual

Foscam IP Camera User Manual

Cgi
Hide thumbs Also See for IP Camera:
Table of Contents

Advertisement

Foscam IPCamera CGI User Guide
Foscam IPCamera CGI User Guide
Copyright@ Shenzhen Foscam Intelligent Technology Limited
1

Advertisement

Table of Contents
loading

Summary of Contents for Foscam IP Camera

  • Page 1 Foscam IPCamera CGI User Guide Foscam IPCamera CGI User Guide Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 2: Table Of Contents

    ......................14 setIOAlarmConfig ......................... 14 getIOAlarmConfig ......................... 15 clearIOAlarmOutput ......................15 getMultiDevList ........................16 getMultiDevDetailInfo ......................16 addMultiDev .......................... 16 delMultiDev ..........................17 User account ..........................17 addAccount ........................... 17 delAccount ..........................18 Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 3 ..........................28 getZoomSpeed ........................28 setZoomSpeed ........................29 setPTZSelfTestMode ......................29 getPTZSelfTestMode ......................29 setPTZPrePointForSelfTest ....................30 getPTZPrePointForSelfTest ....................30 set485Info ..........................30 get485Info ..........................31 Network ............................31 getIPInfo ..........................31 setIpInfo ..........................32 Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 4 ......................... 45 getDevInfo ..........................45 System ............................46 rebootSystem ........................46 restoreToFactorySetting ...................... 46 exportConfig .......................... 46 ImportConfig .......................... 47 FwUpgrade ..........................47 MISC .............................. 48 getFirewallConfig ........................48 setFirewallConfig ........................48 getLog ............................ 48 Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 5 XiaoJinsheng 2013-01-29 1. Add a snap CGI(snapPicture2) which retrun jpeg image data directly but a image url 2. Add MotionJpeg stream support 1.0.3 Houzhen 2013-6-5 Check Modify command document 1.0.4 Limaike 2013-6-8 CGI command check Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 6: General Description

    <ip>192.168.1.8</ip> <gate>0.0.0.0</gate> <mask>255.255.255.0</mask> <dns1>0.0.0.0</dns1> <dns2>0.0.0.0</dns2> </CGI_Result> <result></result> means the common execute result value mean Success CGI request string format error Username or password error Access deny CGI execute fail Timeout Reserve Unknown error Reserve Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 7: Av Function

    Function Set brightness of video privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=setBrightness Param brightness 0~100 Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=setBrightness&brightness=50&usr=admin& pwd= setContrast Function Set contrast of video privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=setContrast Param contrast 0~100 Return None Note Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 8: Sethue

    Set saturation of video privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=setSaturation Param saturation 0~100 Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=setSaturation&saturation=50&usr=admin& pwd= setSharpness Function Set sharpness of video privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=setSharpness Param sharpness 0~100 Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=setSharpness&sharpness=50&usr=admin& pwd= Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 9: Resetimagesetting

    0 Not mirred 1 Mirred isFlip 0 Not filpped 1 Flipped Note Example /cgi-bin/CGIProxy.fcgi?cmd=getMirrorAndFlipSetting&usr=admin&pwd= mirrorVideo Function Mirror video privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=mirrorVideo Param isMirror 0 Not mirror 1 Mirror Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=mirrorVideo&usr=admin&pwd= Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 10: Flipvideo

    Bit rate of stream type N (20480~2097152) frameRateN Frame rate of stream type N GOPN P frames between I frame of stream type N isVBRN Not in use currentlly Note N means streamType [0~3] Example /cgi-bin/CGIProxy.fcgi?cmd=getVideoStreamParam&usr=admin&pwd= Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 11: Setvideostreamparam

    Get the stream type of main stream privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd=getMainVideoStreamType Param None Return streamType The stream type 0~3 Note Example /cgi-bin/CGIProxy.fcgi?cmd=getMainVideoStreamType&usr=admin&pw getSubVideoStreamType Function Get the stream type of sub stream privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd=getSubVideoStreamType Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 12: Setmainvideostreamtype

    Motion Jpeg, then stream command: /cgi-bin/CGIStream.cgi?cmd=GetMJStream, but when you login as a sub stream user, the stream data will be same as main stream. Example /cgi-bin/CGIProxy.fcgi?cmd=setSubVideoStreamType&format=0&usr=admin&pw Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 13: Getmjstream

    Time stamp will display on screen or not isEnableDevName Camera name will display on screen or not dispPos OSD display position, currently can only be 0 isEnableOSDMask Is OSD mask effective Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=setOSDSetting&isEnableTimeStamp=1&isEnable DevName=1&dispPos=0&isEnableOSDMask=0&usr=admin&pwd= Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 14: Getosdmaskarea

    Function Get motion detect config privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd=getMotionDetectConfig Param None isEnable Return Is enable motion detect alarm linkage Motion alarm linkage bit0:Ring ( bit3 | bit2 | bit1 | bit0 ) bit1:Send mail Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 15: Setmotiondetectconfig

    The interval time to snap picture again sensitivity Motion detect 0 : Low sensitivity 1: Normal 2: High 3: Lower 4: Lowest triggerInterval The time of which motion detect alaram Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 16 The bit 40 set to “1” means the motion detection is effective between 20:00 to 20:30 *2 area bitmap bit0 bit1 bit2 bit3 bit4 bit5 bit6 bit7 bit8 bit9 area0 area1 area2 area3 area4 area5 area6 area7 Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 17: Getsnapconfig

    Set snap config privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=setSnapSetting snapPicQuality Param Low quality Normal quality High quality saveLocation Save to sd card Not in use now Upload to FTP Return None Note Example snapPicQuali /cgi-bin/CGIProxy.fcgi?cmd=setSnapConfig&usr=admin&pwd=& ty=1&saveLocation=2 Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 18: Snappicture

    Record path startTime Start time for research endTime End time for research recordType Recort type startNo Start no totalCnt Return Total record count curCnt Current record count recordN N(0-9), Record information Note Example /cgi-bin/CGIProxy.fcgi?cmd=getRecordList&usr=admin&pwd= Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 19: Getalarmrecordconfig

    Alarm record time Return Set result(0-success,-1-error) Note Example /cgi-bin/CGIProxy.fcgi?cmd=setAlarmRecordConfig&usr=admin&pwd=& isEnab lePreRecord=1&preRecordSecs=5&alarmRecordSecs=30 setIOAlarmConfig Function Set IO alarm config privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=setIOAlarmConfig isEnable Param Preview record state linkage IO alarm linkage bit0:Ring bit1:Send mail bit2:Snap picture Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 20: Getioalarmconfig

    Alarm level snapInterval Interval for snap picture triggerInterva Interval for trigger alarm again scheduleN N(0-6), alarm schedule Note Example /cgi-bin/CGIProxy.fcgi?cmd=getIOAlarmConfig&usr=admin&pwd= clearIOAlarmOutput Function Clean IO alarm output privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=clearIOAlarmOutput Param None Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 21: Getmultidevlist

    Device IP port Web port mediaPort Media port userName User name passWord Password devName Device name Note Example /cgi-bin/CGIProxy.fcgi?cmd=getMultiDevDetailInfo&usr=admin&pwd= addMultiDev Function Add multiy device privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=addMultiDev chnnl Param Channel no productType Device type Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 22: Delmultidev

    Param Channel no Return Delete result(0-success,-1-error) Note Example /cgi-bin/CGIProxy.fcgi?cmd=delMultiDev&usr=admin&pwd=& chnnl User account addAccount Function Add user account privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=addAccount Param usrName user name usrPwd user password privilege Visitor Operator Administrator Return None Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 23: Delaccount

    Admin can change every user’s password, visitor and operator can only Note change their own password Example /cgi-bin/CGIProxy.fcgi?cmd=changePassword&usrName=admin&oldPwd=&ne wPwd=test&usr=admin&pwd= changeUserName Function Change user name privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd=changeUserName Param usrName The user you want to change name newUsrName The new user name Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 24: Login

    Administrator Note Example /cgi-bin/CGIProxy.fcgi?cmd=logIn&usrName=admin&ip=192.168.1.12&p wd=&groupId=673982479 &usr=admin&pwd= logOut Function User log out to camera privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd=logOut Param usrName User name Access IP groupId An id use to distinguish different users,can be set to Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 25: Getsessionlist

    /cgi-bin/CGIProxy.fcgi?cmd=getUserList Param None usrCnt Return User count usrN User name of accnount N Note Example /cgi-bin/CGIProxy.fcgi?cmd=getUserList&usr=admin&pwd= usrBeatHeart Function user checks connection with camera privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd=usrBeatHeart Param usrName User name remoteIp Access IP Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 26: Ptz Control

    /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveUp Param None Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveUp&usr=admin&pwd= ptzMoveDown Function Move down privilege operator Usage /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveDown Param None Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveDown&usr=admin&pwd= ptzMoveLeft Function Move to left privilege operator Usage /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveLeft Param None Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 27: Ptzmoveright

    Usage /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveTopLeft Param None Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveTopLeft&usr=admin&pwd= ptzMoveTopRight Function Move to top right privilege operator Usage /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveTopRight Param None Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=ptzMoveTopRight&usr=admin&pwd= ptzMoveBottomLeft Function Move to bottom left Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 28: Ptzmovebottomright

    Function Stop run PT privilege operator Usage /cgi-bin/CGIProxy.fcgi?cmd=ptzStopRun Param None Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=ptzStopRun&usr=admin&pwd= ptzReset Function Reset PT to default position privilege operator Usage /cgi-bin/CGIProxy.fcgi?cmd=ptzReset Param None Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=ptzReset&usr=admin&pwd= Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 29: Getptzspeed

    Slow Normal speed Fast Very fast Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=setPTZSpeed&usr=admin&pwd= getPTZPresetPointList Function Get all preset point privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd=getPTZPresetPointList Param None Return Current preset point count pointN The name of point N Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 30: Ptzaddpresetpoint

    Delete preset point by name privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=ptzDeletePresetPoint Param name Preset point name Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=ptzDeletePresetPoint&name=test&usr=admin&p ptzGotoPresetPoint Function Goto preset position privilege operator Usage /cgi-bin/CGIProxy.fcgi?cmd=ptzGotoPresetPoint Param name Preset point name Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=ptzGotoPresetPoint&name=test&usr=admin&pwd Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 31: Ptzgetcruisemaplist

    Usage /cgi-bin/CGIProxy.fcgi?cmd=ptzSetCruiseMap Param name Name of the cruise map pointN The name of preset point N Return None Note Our device can support at most 8 preset point one cruise map Example /cgi-bin/CGIProxy.fcgi?cmd=ptzSetCruiseMap&name=test&point0=test0&point 1=test1&point2=test2&point3=test3&point4=test4&point5=test5&point6=&poin Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 32: Ptzdelcruisemap

    Name of the cruise map Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=ptzStartCruise& mapName =test&usr=admin&pwd= ptzStopCruise Function Start current cruise privilege operator Usage /cgi-bin/CGIProxy.fcgi?cmd=ptzStopCruise Param None Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=ptzStopCruise&usr=admin&pwd= zoomIn Function Zoom in privilege operator Usage /cgi-bin/CGIProxy.fcgi?cmd=zoomIn Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 33: Zoomout

    Only supported by the device has zoom lens Example /cgi-bin/CGIProxy.fcgi?cmd=zoomStop&usr=admin&pwd= getZoomSpeed Function Get the speed of Zoom privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd=getZoomSpeed Param None Return speed Slow Normal Fast Note Only supported by the device has zoom lens Example /cgi-bin/CGIProxy.fcgi?cmd=getZoomSpeed&usr=admin&pwd= Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 34: Setzoomspeed

    Only supported by ipc that can enable ptz-selftest Example /cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=setPTZSelfTestMode&mod getPTZSelfTestMode Function Get the selftest mode of PTZ privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd= getPTZSelfTestMode Param None Return mode No selftest Normal selftest After normal selftest, then goto presetpoint-appointed Return None Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 35: Setptzprepointforselftest

    Only supported by ipc that can enable ptz-selftest Example /cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=getPTZPrePointForSelfTes set485Info Function Set informations of 485 privilege operator Usage /cgi-bin/CGIProxy.fcgi?cmd=set485Info Param rs485Protocol Protocol rs485Addr Address rs485Baud Baud rate rs485DataBit DataBit rs485StopBit StopBit rs485Check Parity Return None Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 36: Get485Info

    The first dns server addr(“0.0.0.0” when use dhcp) dns1 The second dns server addr(“0.0.0.0” when use dhcp) dns2 Note Example /cgi-bin/CGIProxy.fcgi?cmd=getIPInfo&usr=admin&pwd= Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 37: Setipinfo

    The start NO of the ap list you want to get. For example:The are 30 aps around you, you want to look at the last ten aps, then startNo=20 Return totalCnt Total count of aps Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 38: Setwifisetting

    Use wifi or not ssid AP name netType Infra net Ad-hoc Not supported yet encryptTyp Open mode WPA2 WPA/WPA2 The psk of WPA WPA2 authMode Open mode Shared key Auto mode keyFormat ASIC defaultKey key1 key2 Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 39: Getwificonfig

    Enable state isUseWifi Use wifi or not isConnecte Connected state connected Connedted ap ssid AP name encryptTyp Open mode WPA2 WPA/WPA2 The psk of WPA WPA2 authMode Open mode Shared key Auto mode keyFormat ASIC Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 40: Getportinfo

    88) mediaPort media port(default value is 88) httpsPort https port (default value is 443) Return None Note Re login is needed after call this CGI command Example /cgi-bin/CGIProxy.fcgi?cmd=setPortInfo&webPort=88&mediaPort=88&httpsPo rt=443&usr=admin&pwd= Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 41: Getupnpconfig

    Get DDNS config privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd=getDDNSConfig Param None Return isEnable is Enable DDNS update hostName DDNS domain ddnsServer Factory DDNS Oray 3322 no-ip dyndns user user name password password factoryDDNS factory ddns Note Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 42: Setddnsconfig

    Usage /cgi-bin/CGIProxy.fcgi?cmd=setFtpConfig ftpAddr Param FTP server address, you can contain sub directory in it ftpPort FTP port mode PASV mode PORT mode userName user name password password Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=setFtpConfig&ftpAddr=ftp://192.168.1.2/sbuDir&ft pPort=21&mode=0&userName=test&password=test&usr=admin&pwd= Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 43: Getftpconfig

    FTP server address, you can contain sub directory in it ftpPort FTP port mode PASV mode PORT mode userName user name password password Return testResult Success Fail Note Example /cgi-bin/CGIProxy.fcgi?cmd=testFtpServer&ftpAddr=ftp://192.168.1.2/sbuDir&ft pPort=21&mode=0&userName=test&password=test&usr=admin&pwd= getSMTPConfig Function Get mail config privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd=getSMTPConfig Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 44: Setsmtpconfig

    SMTP server address port smtp port isNeedAuth Need auth user account or not None STARTTLS user user name password password sender Use “,” between 2 senders, for exapler: reciever aaa@123.com,bbb@456.com Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=setSMTPConfig&isEnable=1&server=smtp.gmail. com&port=587&isNeedAuth=1&user=test&password=test&send=test@gmail.c Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 45: Smtptest

    =smtp.gmail.com&port=587 &isNeedAuth=1&user=test&password=test&usr=admin&pwd= Device manage setSystemTime Function Set system time privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=setSystemTime Param timeSource Get time from NTP server Set time manually ntpServer ntp server addr Support ntp server: time.nist.gov time.kriss.re.kr time.windows.com time.nuri.net Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 46: Getsystemtime

    Get system time privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd=getSystemTime Param None Return timeSource Get time from NTP server Set time manually ntpServer ntp server addr Support ntp server: time.nist.gov time.kriss.re.kr time.windows.com time.nuri.net dateFormat YYYY-MM-DD DD/MM/YYYY MM/DD/YYYY Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 47: Openinfraled

    Force open infra led privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=openInfraLed Param None ctrlResult Return Success Fail Note Example /cgi-bin/CGIProxy.fcgi?cmd=openInfraLed&usr=admin&pwd= closeInfraLed Function Force close infra led privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=closeInfraLed Param None ctrlResult Return Success Fail Note Example /cgi-bin/CGIProxy.fcgi?cmd=closeInfraLed&usr=admin&pwd= Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 48: Getinfraledconfig

    Manual mode Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=setInfraLedConfig&usr=admin&pwd= getDevState Function Get all device state privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd=getDevState Param None IOAlarm Return Disabled No alaram Detect alarm motionDetectAlar Disabled No alarm Detect alarm soundAlarm Disabled Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 49: Getdevname

    No wifi connected Connected wifiConnectedAP The ssid of the ap which has been connected infraLedState Note Example /cgi-bin/CGIProxy.fcgi?cmd=getDevState&usr=admin&pwd= getDevName Function Get camera name privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd=getDevName Param None devName Return Camera name Note Example /cgi-bin/CGIProxy.fcgi?cmd=getDevName&usr=admin&pwd= Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 50: Setdevname

    Get camera information privilege visitor Usage /cgi-bin/CGIProxy.fcgi?cmd=getDevInfo Param None productNam Return Camera model serialNo Serial no devName Camera name Mac address year hour timeZone Time zone firmwareVer Firmware version hardwareVer Hardware version Note Example /cgi-bin/CGIProxy.fcgi?cmd=getDevInfo&usr=admin&pwd= Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 51: System

    Function Export config file privilege admin Usage /cgi-bin/CGIProxy.fcgi?cmd=exportConfig Param None Return fileName The config name Note After call this command, you can get the config file by visit the following addr: /configs/export/configs.bin Example /cgi-bin/CGIProxy.fcgi?cmd=exportConfig&usr=admin&pwd= Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 52: Importconfig

    This action may takes about 120s when upgrade app firmware, takes about 60s when upgrade system firmware Example <form name="form5" method="post" target="retframe" enctype="multipart/form-data" action="cgi-bin/ CGIProxy.fcgi?cmd=fwUpgrade&usr=admin&pwd=" > <input type="file" name="fw_file" > <input type="submit" value="upgrade" > </form> Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 53: Misc

    The ip list can’t access rule Only allow the ip list to access ipListN The ip address(Network address) of list N Return None Note Example /cgi-bin/CGIProxy.fcgi?cmd=setFirewallConfig&isEnable=1&rule=0&ipList0=0 &ipList1=0&ipList2=0&ipList3=0&ipList4=0&ipList5=0&ipList6=0&ipList7=0&us r=admin&pwd= getLog Function Get system log privilege visitor Copyright@ Shenzhen Foscam Intelligent Technology Limited...
  • Page 54 We can have 1000 record of log at most. We can get 10 log at most one time Example /cgi-bin/CGIProxy.fcgi?cmd=getLog&offset=0&count=20&usr=admin&pwd= *logID: 0:System power on 1:Detect motion alarm 2:user login 3:user logout 4:user off line Copyright@ Shenzhen Foscam Intelligent Technology Limited...

Table of Contents