<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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
/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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
=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...
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...
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...
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...
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...
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...
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...
Need help?
Do you have a question about the IP Camera and is the answer not in the manual?
Questions and answers