Complete CGI Command List (1080p)

For all developers that want to integrate our cameras in their software or for everyone that wants to experiment a little, we now offer a full list of all CGI commands that can be used with our IP cameras. Please understand that this list is only for advanced users who know what they are doing. We can not give any technical support regarding our CGI commands.

CGI Overview

Audio & Video Settings




param.cgi?cmd=getaudioalarmattr

FunctionAudio detection parameter
Authorityadmin
Format GET/param.cgi?cmd=getaudioalarmattr
Format SET/param.cgi[?cmd=setaudioalarmattr&-aa_enable=&-aa_value=]
Parameteraa_enable: De/Activate Audio Detection [0, 1]
aa_value: Sensitivity [10 - 100]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getaudioalarmattr
GET: http://192.168.178.88/param.cgi?cmd=getaudioalarmattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setaudioalarmattr&-aa_enable=0
SET: http://192.168.178.88/param.cgi?cmd=setaudioalarmattr&-aa_value=50&-usr=admin&-pwd=instar


param.cgi?cmd=getfisheyeattr

FunctionFisheye correction parameter
Authorityadmin
Format GET/param.cgi[?cmd=getfisheyeattr]
Format SET/param.cgi[?cmd=setfisheyeattr]
Parameterfisheye_flag: De/Activate fisheye correction [0, 1]
fisheye_mode: stand / wall mounted [0, 1]
fisheye_lens: 0 gc2033+K119, 1 h65+H106A, 2 imx323+K104, 3 sc4236+H103A
fisheye_xcircle: Center X coordinate
fisheye_ycircle: Center Y coordinate
fisheye_rcircle: Radius of the circle
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getfisheyeattr
GET: http://192.168.178.88/param.cgi?cmd=getfisheyeattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setfisheyeattr&-fisheye_flag=1&-fisheye_mode=0&-fisheye_lens=0
SET: http://192.168.178.88/param.cgi?cmd=setfisheyeattr&-fisheye_flag=1&-fisheye_mode=0&-fisheye_lens=0&-usr=admin&-pwd=instar


param.cgi?cmd=getvideoattr

FunctionVideo stream properties
Authorityadmin
Format GET/param.cgi[?cmd=getvideoattr]
Format SET/param.cgi[?cmd=setvideoattr&-vinorm=&-profile=&-videomode=]
Parametervideomode: 31: 720P_Q720P_QQ720P, 32: 720P_QQ720P_QQ720P, 33: Q720P_Q720P_QQ720P, 34: Q720P_QQ720P_QQ720P, 35: 720P_D1_CIF, 36: 720P_CIF_CIF, 41: 1080P_Q720P_QQ720P, 42: 1080P_QQ720P_QQ720P, 45: 1080P_D1_CIF, 46: 1080P_CIF_CIF, 51: 960P_VGA_QVGA, 52: 960P_QVGA_QVGA, 53:VGA_VGA_QVGA, 54: VGA_QVGA_QVGA, 55: 960P_D1_CIF, 56: 960P_CIF_CIF, 17: D1_CIF_CIF, 20: CIF_CIF_CIF
vinorm: P 50Hz(PAL), N 60Hz(NTSC)
profile: H265A, H264
wdrmode: WDR: 0 close, 1 open
maxchn: Maximum coding channel
ftpsnap: md_ftpsnap_switch [on, off] Send Snapshot to FTP Server
sound: md_sound_switch [on, off] Audio Alarm Signal
type: md_alarm_type [on, off] Link Alarm Areas and Alarm-Input
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getvideoattr
GET: http://192.168.178.88/param.cgi?cmd=getvideoattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setvideoattr&-videomode=41&-vinorm=P&-wdrmode=1&-profile=1&-maxchn=3
SET: http://192.168.178.88/param.cgi?cmd=setvideoattr&-vinorm=N&-profile=1&-videomode=32&-usr=admin&-pwd=instar


param.cgi?cmd=getvencattr

FunctionVideo encoding paramter
Authorityadmin, user, guest
Format GET/param.cgi[?cmd=getvencattr &-chn=]
Format SET/param.cgi[?cmd=setvencattr&-chn=&-bps=&-fps=&-brmode=&-imagegrade=&-gop=]
Parameterchn: 31: 720P_Q720P_QQ720P, 32: 720P_QQ720P_QQ720P, 33: Q720P_Q720P_QQ720P, 34: Q720P_QQ720P_QQ720P, 35: 720P_D1_CIF, 36: 720P_CIF_CIF, 41: 1080P_Q720P_QQ720P, 42: 1080P_QQ720P_QQ720P, 45: 1080P_D1_CIF, 46: 1080P_CIF_CIF, 51: 960P_VGA_QVGA, 52: 960P_QVGA_QVGA, 53:VGA_VGA_QVGA, 54: VGA_QVGA_QVGA, 55: 960P_D1_CIF, 56: 960P_CIF_CIF, 17: D1_CIF_CIF, 20: CIF_CIF_CIF
bps_1, bps_2, bps_3: Bitrate CH11 1080p = 512kbps - 6096kbps, Bitrate CH11 320p = 512kbps - 2048kbps, Bitrate CH11 160p = 90kbps - 512kbps
fps_1, fps_2, fps_3: Framerate: PAL:Range [1 ~ 25], NTSC:Range [1 ~ 30]
gop_1, gop_2, gop_3: Keyframe Interval: gop Range [2 ~ 150]
brmode_1, brmode_2, brmode_3: Video encode control: 0 fixed bit rate, 1 variable bit rate
imagegrade_1, imagegrade_2, imagegrade_3: 1 (low compression) - 6 (high compression)
width_1, width_2, width_3: Video width
height_1, height_2, height_3: Video height
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getvencattr&-chn=11
GET: http://192.168.178.88/param.cgi?cmd=getvencattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setvencattr&-chn=11&-bps=1536&-fps=25&-brmode=1&-imagegrade=1&-gop=50
SET: http://192.168.178.88/param.cgi?cmd=setvencattr&-chn=11&-bps=1536&-fps=25&-usr=admin&-pwd=instar


param.cgi?cmd=getimageattr

FunctionImage paramter
Authorityadmin
Format GET/param.cgi[?cmd=getimageattr]
Format SET/param.cgi[?cmd=setimageattr&-image_type=&-brightness=&-saturation=&-contrast=&-targety=&-gamma=&-flip=&-mirror=&-aemode=]
Parameterdisplay_mode: Current 0: black and white mode 1: color mode
brightness: Brightness [0-100]
saturation: Saturation [0-255]
contrast: Contrast [0-100]
sharpness: Sharpness [0-100]
night: Nightmode [on, off]
hue: HUE [0-255]
targety: Exposure [0-255]
shutter: Shutter Speed [0-65535]
noise: Denoise intensity [0-100]
gamma: Gamma [0-3]
gc: Gain value range [0-4294967295]
wdr: Wide Dynamic Range [on, off]
flip: Flip the Image [on, off]
mirror: Mirror the Image [on, off]
aemode: Auto-Exposure mode, the range: 0 Automatic, 1 Indoor, 2 Outdoor
imgmode: Image priority mode - 0 frame rate priority, 1 illumination priority
display_mode: Display mode - 0 black and white mode 1 color mode
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getimageattr
GET: http://192.168.178.88/param.cgi?cmd=getimageattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setimageattr&-image_type=1&-brightness=1&-saturation=1&-contrast=1&-hue=1&-gamma=1&-flip=on&-mirror=on&-noise=5&-aemode=0&-imgmode=1
SET: http://192.168.178.88/param.cgi?cmd=setimageattr&-brightness=4&-saturation=3&-contrast=4&-flip=off&-mirror=off&-shutter=1120&-sharpness=4&-usr=admin&-pwd=instar


param.cgi?cmd=getldcattr

FunctionLens distortion value
Authorityadmin
Format GET/param.cgi[?cmd=getldcattr]
Format SET/param.cgi[?cmd=setldcattr&- ldc_ratio =]
Parameterldc_ratio: Distortion value [0-511]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getldcattr
GET: http://192.168.178.88/param.cgi?cmd=getldcattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setldcattr&-ldc_ratio=1
SET: http://192.168.178.88/param.cgi?cmd=setldcattr&-ldc_ratio=1&-usr=admin&-pwd=instar


param.cgi?cmd=getircutattr

FunctionIRCut switch threshold
Authorityadmin
Format GET/param.cgi[?cmd=getircutattr]
Format SET/param.cgi[?cmd=setircutattr&-saradc_switch_value=]
Parametersaradc_switch_value: IRCut switching threshold [1-1024]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getircutattr
GET: http://192.168.178.88/param.cgi?cmd=getircutattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setircutattr&-saradc_switch_value=700
SET: http://192.168.178.88/param.cgi?cmd=setircutattr&-saradc_switch_value=700&-usr=admin&-pwd=instar


param.cgi?cmd=getoverlayattr

FunctionIRCut switch threshold
Authorityadmin
Format GET/param.cgi[?cmd=getoverlayattr&-region=]
Format SET/param.cgi[?cmd=setoverlayattr&-region=&-show=&-name=&-place=]
Parameterregion: 0 OSD Timestamp, 1 OSD Camera name
show: 0 hide, 1 display
place: 0 top, 1 bottom
name: Camera name, only English. Length cannot exceed 16 character
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getoverlayattr&-region=0
GET: http://192.168.178.88/param.cgi?cmd=getoverlayattr&-region=1&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setoverlayattr&-region=0&-show=0
SET: http://192.168.178.88/param.cgi?cmd=setoverlayattr&-region=1&-show=1&-name=IPCam&-place=0&-usr=admin&-pwd=instar


param.cgi?cmd=getmobilesnapattr

FunctionPhone snapshot parameter
Authorityadmin
Format GET/param.cgi[?cmd=getoverlayattr&-region=]
Format SET/param.cgi[?cmd=setoverlayattr&-region=&-show=&-name=&-place=]
Parametermsize: 1 Maximum resolution of the second stream, 2 Second stream minimum resolution
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmobilesnapattr
GET: http://192.168.178.88/param.cgi?cmd=getmobilesnapattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setmobilesnapattr&-msize=1
SET: http://192.168.178.88/param.cgi?cmd=setmobilesnapattr&-msize=2&-usr=admin&-pwd=instar


param.cgi?cmd=getaencattr

FunctionAudio encoding paramter
Authorityadmin
Format GET/param.cgi[?cmd=getaencattr&-chn=]
Format SET/param.cgi[?cmd=setaencattr&-chn=]
Parameterchn: Channel number: 11 The first stream, 12 second stream, 13 Third stream
aeswitch_1, aeswitch_2, aeswitch_3: Audio encoding 0 inactive, 1 active
aeformat_1, aeformat_2, aeformat_3: Audio encoding format g711a rate 64Kbps, g726 16Kbps
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getaencattr&-chn=11
GET: http://192.168.178.88/param.cgi?cmd=getaencattr&-chn=11&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setaencattr&-chn=11&-aeswitch=0
SET: http://192.168.178.88/param.cgi?cmd=setaencattr&-chn=12&-aeswitch=1&-aeformat=g726&-usr=admin&-pwd=instar


param.cgi?cmd=getaudioinvolume

FunctionAudio input volume
Authorityadmin
Format GET/param.cgi[?cmd=getaudioinvolume]
Format SET/param.cgi[?cmd=setaudioinvolume&-volume=]
Parametervolume: Volume [1-100]
volin_type: 0 linear input, 1 microphone input
aec: Echo cancellation 0 off 1 on
denoise: Noise reduction
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getaudioinvolume
GET: http://192.168.178.88/param.cgi?cmd=getaudioinvolume&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setaudioinvolume&-volume=80
SET: http://192.168.178.88/param.cgi?cmd=setaudioinvolume&-volume=80&-usr=admin&-pwd=instar


param.cgi?cmd=getaudiooutvolume

FunctionAudio output volume
Authorityadmin
Format GET/param.cgi[?cmd=getaudiooutvolume]
Format SET/param.cgi[?cmd=setaudiooutvolume&-volume=]
Parameterao_volume: Volume [1-100]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getaudiooutvolume
GET: http://192.168.178.88/param.cgi?cmd=getaudiooutvolume&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setaudiooutvolume&-volume=80
SET: http://192.168.178.88/param.cgi?cmd=setaudiooutvolume&-volume=80&-usr=admin&-pwd=instar


param.cgi?cmd=requestifrm

FunctionRequest the next frame as a key frame
Authorityadmin
Format GET/param.cgi[?cmd=requestifrm&-chn=]
Parameterchn: 11, 12, 13
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=requestifrm&-chn=11
GET: http://192.168.178.88/param.cgi?cmd=requestifrm&-chn=11&-usr=admin&-pwd=instar


param.cgi?cmd=getcover

FunctionPrivacy area parameter
Authorityadmin
Format GET/param.cgi[?cmd=getcover]
Format SET/param.cgi[?cmd=setcover&-show=&-region=&-color=&-x=&-y=&-w=&-h=]
Parametershow_1, show_2, show_3, show_4: 0 off, 1 enabled
x_1, x_2, x_3, x_4: Privacy area X origin
y_1, y_2, y_3, y_4: Privacy area Y origin
w_1, w_2, w_3, w_4: Privacy area width
h_1, h_2, h_3, h_4: Privacy area height
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getcover
GET: http://192.168.178.88/param.cgi?cmd=getcover&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setcover&-show=1&-region=1&-color=F51515&-x=0&-y=0&-w=60&-h=60
SET: http://192.168.178.88/param.cgi?cmd=setcover&-show=1&-region=1&-color=1F48EB&-x=0&-y=0&-w=60&-h=60&-usr=admin&-pwd=instar


param.cgi?cmd=playsound

FunctionTone setting
Authorityadmin
Format GET/param.cgi[?cmd=playsound&-tone=custom&-times=1]
Parametertone: Play type, custom or bell
times: Play times, range [1-50]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=playsound&-tone=custom&-times=1
GET: http://192.168.178.88/param.cgi?cmd=playsound&-tone=custom&-times=1&-usr=admin&-pwd=instar


param.cgi?cmd=stopsound

FunctionStop tone
Authorityadmin
Format GET/param.cgi[?cmd=stopsound]
Parameterstopsound: Stop sound
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=stopsound
GET: http://192.168.178.88/param.cgi?cmd=stopsound&-usr=admin&-pwd=instar


cert.cgi?-filename

FunctionFile Upload
Authorityadmin
Format GET/cert.cgi?-filename=cert.pem
ParameterUpload a custom SSL certificate
ExampleGET: http://admin:instar@192.168.178.88/cert.cgi?-filename=cert.pem
GET: http://192.168.178.88/cert.cgi?-filename=cert.pem&-usr=admin&-pwd=instar


LED Control

param.cgi?cmd=getlampctrl

FunctionLED light parameter
Authorityadmin
Format GET/param.cgi[?cmd=getlampctrl]
Format SET/param.cgi[?cmd=setlampctrl]
Parameterlampstat: LED light status auto automatic, open forced open, close forced off
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getlampctrl
GET: http://192.168.178.88/param.cgi?cmd=getlampctrl&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setlampctrl&-lampstat=open
SET: http://192.168.178.88/param.cgi?cmd=setlampctrl&-lampstat=close&-usr=admin&-pwd=instar


param.cgi?cmd=getinfrared

FunctionLED light parameter
Authorityadmin
Format GET/param.cgi[?cmd=getinfrared]
Format SET/param.cgi[?cmd=setinfrared]
Parameterinfraredstat: Infrared LED light status auto automatic, close forced off
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getinfrared
GET: http://192.168.178.88/param.cgi?cmd=getinfrared&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setinfrared&-infraredstat=auto
SET: http://192.168.178.88/param.cgi?cmd=setinfrared&-infraredstat=close&-usr=admin&-pwd=instar


Network Settings

param.cgi?cmd=getnetattr

FunctionNetwork parameter
Authorityadmin
Format GET/param.cgi[?cmd=getnetattr]
Format SET/param.cgi[?cmd=setnetattr&-dhcp=&-ipaddr=&-netmask=&-gateway=&-dnsstat=&-fdnsip=&-sdnsip=]
Parameterdhcp: on disable, off enabled DHCP mode
ipaddr: LAN IPv4 Address
netmask: LAN Subnet Mask
gateway: LAN Gateway
dnsstat: DNS Status: 0 (manually), 1 (from DHCP Server)
fdnsip: Primary DNS
sdnsip: Secondary DNS
macaddress: LAN MAC Address
networktype: LAN or WLAN
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getnetattr
GET: http://192.168.178.88/param.cgi?cmd=getnetattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setnetattr&-dhcpflag=off&-ip=192.168.1.115&-netmask=255.255.255.0&-gateway=192.168.1.1&-fdnsip=8.8.8.8&-sdnsip=
SET: http://192.168.178.88/param.cgi?cmd=setnetattr&-dhcp=off&-ipaddr=192.168.1.88&-netmask=255.255.255.0&-gateway=192.168.1.1&-dnsstat=0&-fdnsip=192.168.1.1&-sdnsip=&-usr=admin&-pwd=instar


param.cgi?cmd=gethttpport

FunctionHTTP Port
Authorityadmin
Format GET/param.cgi[?cmd=gethttpport]
Format SET/param.cgi[?cmd=sethttpport&-httpport=]
Parameterhttpport: Camera LAN Port [80-65535]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=gethttpport
GET: http://192.168.178.88/param.cgi?cmd=gethttpport&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=sethttpport&-httpport=8081
SET: http://192.168.178.88/param.cgi?cmd=sethttpport&-httpport=80&-usr=admin&-pwd=instar


param.cgi?cmd=gethttpsport

FunctionHTTPS Port
Authorityadmin
Format GET/param.cgi[?cmd=gethttpsport]
Format SET/param.cgi[?cmd=sethttpsport&-httpsport=]
Parameterhttpport: Camera LAN Port [80-65535]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=gethttpsport
GET: http://192.168.178.88/param.cgi?cmd=gethttpsport&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=sethttpsport&-httpsport=443
SET: http://192.168.178.88/param.cgi?cmd=sethttpsport&-httpsport=443&-usr=admin&-pwd=instar


param.cgi?cmd=getrtspport

FunctionRTSP/RTP Port
Authorityadmin
Format GET/param.cgi[?cmd=gethttpport]
Format SET/param.cgi[?cmd=setrtspport&-rtspport=&-rtpport=]
Parameterrtspport: Camera RTSP Port [80-65535]
rtpport: Camera RTP Port [5000-8000]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getrtspport
GET: http://192.168.178.88/param.cgi?cmd=getrtspport&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setrtspport&-rtspport=554&-rtpport=6600
SET: http://192.168.178.88/param.cgi?cmd=setrtspport&-rtspport=554&-rtpport=6600&-usr=admin&-pwd=instar


param.cgi?cmd=getrtmpattr

FunctionRTSP/RTP Port
Authorityadmin
Format GET/param.cgi[?cmd=getrtmpattr]
Format SET/param.cgi[?cmd=setrtspport&-rtspport=&-rtpport=]
Parameterrtmpport: Camera RTSP Port [80-65535]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getrtmpattr
GET: http://192.168.178.88/param.cgi?cmd=getrtmpattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setrtmpatt&-rtmpport=1935
SET: http://192.168.178.88/param.cgi?cmd=setrtmpatt&-rtmpport=1935&-usr=admin&-pwd=instar


param.cgi?cmd=getrtspauth

FunctionRTSP Authentication
Authorityadmin
Format GET/param.cgi[?cmd=getrtspauth]
Format SET/param.cgi[?cmd=setrtspauth&- rtsp_aenable=]
Parameterrtsp_aenable: Disable/enable [0, 1]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getrtspauth
GET: http://192.168.178.88/param.cgi?cmd=getrtspauth&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setrtspauth&-rtsp_aenable=1
SET: http://192.168.178.88/param.cgi?cmd=setrtspauth&-rtsp_aenable=0&-usr=admin&-pwd=instar


param.cgi?cmd=getinterip

FunctionInternet (WAN) IP
Authorityadmin
Format GET/param.cgi[?cmd=getinterip]
Parameterinterip: WAN IP address, e.g. "220.112.14.173"
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getinterip
GET: http://192.168.178.88/param.cgi?cmd=getinterip&-usr=admin&-pwd=instar


param.cgi?cmd=getupnpattr

FunctionUniversal Plug&Play
Authorityadmin
Format GET/param.cgi[?cmd=getupnpattr]
Format SET/param.cgi[?cmd=setupnpattr&-upm_enable=]
Parameterupm_enable: Disable/enable [0, 1]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getupnpattr
GET: http://192.168.178.88/param.cgi?cmd=getupnpattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setupnpattr&-upm_enable=1
SET: http://192.168.178.88/param.cgi?cmd=setupnpattr&-upm_enable=0&-usr=admin&-pwd=instar


param.cgi?cmd=getonvifattr

FunctionONVIF parameter
Authorityadmin
Format GET/param.cgi[?cmd=getonvifattr]
Format SET/param.cgi[?cmd=setonvifattr&-ov_enable=&-ov_port=&-ov_authflag=&-ov_forbitset=]
Parameterov_enable: Disable/enable [0, 1]
ov_port: ONVIF port
ov_authflag: Disable/enable authentication [0, 1]
ov_forbitset: 0 Time time zone setting is allowed, image parameter setting is allowed, 1 Time zone setting is disabled, image parameter setting is allowed, 2 Time time zone setting is allowed, image parameter setting is prohibited, 3 Time time zone setting is prohibited, image parameter setting is prohibited
ov_snapchn: ONVIF snapshot channel [11. 12, 13]
ov_nvctype: ONVIF NVC
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getonvifattr
GET: http://192.168.178.88/param.cgi?cmd=getonvifattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setonvifattr&-ov_enable=1&-ov_port=8080&-ov_authflag=0&-ov_forbitset=0
SET: http://192.168.178.88/param.cgi?cmd=setonvifattr&-ov_enable=1&-ov_port=8080&-ov_authflag=0&-ov_forbitset=0&-usr=admin&-pwd=instar


Wifi Settings

param.cgi?cmd=getwirelessattr

FunctionWireless paramter
Authorityadmin
Format GET/param.cgi[?cmd=getwirelessattr]
Format SET/param.cgi[?cmd=setwirelessattr&-wf_enable=&-wf_ssid=&-wf_auth=&-wf_key=&-wf_enc=&-wf_mode=]
Parameterwf_enable: Disable/enable [0, 1]
wf_ssid: Network SSID (up to 32 characters)
wf_auth: Encryption 0 no encryption, 1 WEP, 2 WPA-PSK, 3 WPA2-PSK
wf_key: WiFi password
wf_enc: Password type 0 TKIP, 1 AES
wf_mode: Connection method 0 client mode, 1 access point mode
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getwirelessattr
GET: http://192.168.178.88/param.cgi?cmd=getwirelessattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setwirelessattr&-wf_ssid=linksys&-wf_enable=1&-wf_auth=2&-wf_key=1234567890&-wf_enc=0&-wf_mode=0
SET: http://192.168.178.88/param.cgi?cmd=setwirelessattr&-wf_ssid=linksys&-wf_enable=1&-wf_auth=3&-wf_key=1234567890&-wf_enc=1&-wf_mode=0&-usr=admin&-pwd=instar


param.cgi?cmd=searchwireless

FunctionSearch for wireless networks
Authorityadmin
Format GET/param.cgi[?cmd=searchwireless]
Parameterwaccess_points: Number of wireless networks found
wchannel: WiFi Channel
wrssi: Signal strength
wessid: SSID
wenc: Encryption Mode
wauth: Verification method
wnet: Connection mode (router mode, access point mode)
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=searchwireless
GET: http://192.168.178.88/param.cgi?cmd=searchwireless&-usr=admin&-pwd=instar
RemarkNote: If there are multiple wifi networks (waccess_points is greater than 1), it will return multiple sets of wchannel to wnet fields except access_points, such as:
var waccess_points="2";
var wchannel=new Array();
var wrssi=new Array();
var wessid=new Array();
var wenc=new Array();
var wauth=new Array();
var wnet=new Array();
wchannel[0]="6" ;
wrssi[0]="-82" ;
wessid[0]="My WiFi" ;
wenc[0]="AES" ;
wauth[0]="WPA(2)-PSK" ;
wnet[0]="Infra" ;
wchannel[1]="11" ;
wrssi[1]="-62" ;
wessid[1]="Linksys" ;
wenc[1]="TKIP" ;
wauth[1]="WPA(2)-PSK" ;
wnet[1]="Infra" ;


param.cgi?cmd=chkwirelessattr

FunctionSet test wireless network configuration
Authorityadmin
Format GET/param.cgi[?cmd=chkwirelessattr&-wf_ssid=&-wf_auth=&-wf_key=&-wf_enc=&-wf_mode=]
Parameterwf_ssid: WiFi Channel
wf_auth: Signal strength
wf_key: SSID
wf_enc: Encryption Mode
wf_mode: Verification method
ExampleSET: http://admin:instar@192.168.178.88/param.cgi?cmd=chkwirelessattr&-wf_ssid=linksys&-wf_auth=3&-wf_key=1234567890&-wf_enc=0&-wf_mode=0
SET: http://192.168.178.88/param.cgi?cmd=chkwirelessattr&-wf_ssid=linksys&-wf_auth=3&-wf_key=1234567890&-wf_enc=0&-wf_mode=0&-usr=admin&-pwd=instar
RemarkYou either get a 1 success or 0 error depending on whether the camera was able to connect to the network or not when running param.cgi?cmd=getchkwireless


param.cgi?cmd=getchkwireless

FunctionWIFI MAC address
Authorityadmin
Format GET/param.cgi[?cmd=getwifimac]
Parameterwifimac: WIFI MAC address
wifitype: WIFI module type
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getwifimac
GET: http://192.168.178.88/param.cgi?cmd=getwifimac&-usr=admin&-pwd=instar


Remote Access

param.cgi?cmd=getourddnsattr

FunctionINSTAR DDNS paramter
Authorityadmin
Format GET/param.cgi[?cmd=getourddnsattr]
Format SET/param.cgi[?cmd=setourddnsattr&-our_enable=&-our_server=&-our_port=&-our_uname=&-our_passwd=]
Parameterour_enable: 1 INSTAR DDNS enabled, 0 INSTAR DDNS disabled
our_server: INSTAR DDNS Server Domain
our_port: INSTAR DDNS Server Port
our_uname: Your INSTAR DDNS ID
our_passwd: Your INSTAR DDNS Password
our_domain: Your INSTAR DDNS Address
our_interval: Update Intervall
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getourddnsattr
GET: http://192.168.178.88/param.cgi?cmd=getourddnsattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setourddnsattr&-our_enable=1&-our_server=ddns3-instar.de&-our_port=80&-our_uname=user&-our_passwd=user
SET: http://192.168.178.88/param.cgi?cmd=setourddnsattr&-our_enable=1&-our_server=ddns3-instar.de&-our_port=80&-our_uname=user&-our_passwd=user&-usr=admin&-pwd=instar


param.cgi?cmd=get3thddnsattr

FunctionThird-party DDNS paramter
Authorityadmin
Format GET/param.cgi[?cmd=get3thddnsattr]
Format SET/param.cgi[?cmd=set3thddnsattr.&-d3th_enable=&-d3th_service=&-d3th_uname=&-d3th_passwd=&-d3th_domain=]
Parameterd3th_enable: 1 3rd Party DDNS activated / INSTAR DDNS disabled, 0 3rd Party DDNS deactivated / INSTAR DDNS enabled
d3th_service: 0 DynDNS, 1 NoIP
d3th_uname: Your username
d3th_passwd: Your password
d3th_domain: Your 3rd party DDNS address
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=get3thddnsattr
GET: http://192.168.178.88/param.cgi?cmd=get3thddnsattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=set3thddnsattr&-d3th_enable=1&-d3th_service=1&-d3th_uname=sample&-d3th_passwd=1234&-d3th_domain=sample.dyndns.org
SET: http://192.168.178.88/param.cgi?cmd=set3thddnsattr&-d3th_enable=1&-d3th_service=0&-d3th_uname=myUsername&-d3th_passwd=myPassword&-d3th_domain=myDomain.dyndns.com&-usr=admin&-pwd=instar


PTZ control

param.cgi?cmd=getmotorrange

FunctionPan & tilt step size
Authorityadmin
Format GET/param.cgi[?cmd=getmotorrange]
Format SET/param.cgi[?cmd=setmotorrange&-panrange=&-tiltrange=&-panhome=&-tilthome=]
Parameterpanrange: Horizontal level
tiltrange: Vertical level
panhome: Horizontally centered
tilthome: Vertical centering
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmotorrange
GET: http://192.168.178.88/param.cgi?cmd=getmotorrange&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setmotorrange&-panrange=500
SET: http://192.168.178.88/param.cgi?cmd=setmotorrange&-panrange=500&-usr=admin&-pwd=instar


param.cgi?cmd=ptzctrl

FunctionPan & tilt step size
Authorityadmin, user
Format GET/param.cgi?cmd=ptzctrl.cgi[&-step=&-act=&-speed=]
Parameterstep: 0 After single step execution, you need to send a stop command again to stop, 1 Stop automatically after single step execution
act Control command strings:
left: Move left
up: Move up
down: Move down
home: Back to home position
zoomin: Zoom in
zoomout: Zoom out
focusout: Focus +
focusin: Focus -
hscan: Horizontal patrol
vscan: Vertical patrol
stop: Stop all movement
speed: PTZ speed range [1-63]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=ptzctrl&-step=0&-act=left&-speed=45
GET: http://192.168.178.88/param.cgi?cmd=ptzctrl&-act=stop&-usr=admin&-pwd=instar


param.cgi?cmd=preset

FunctionPTZ preset parameter
Authorityadmin, user
Format GET/param.cgi?cmd=preset[&-act=&-status=&-number=]
Parameteract: Operation command goto go to preset position, set set the preset position
status Preset operation instructions: 0 clear, 1 save
number: Preset number
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=preset&-act=goto&-number=1
GET: http://192.168.178.88/param.cgi?cmd=preset&-act=set&-status=1&-number=1&-usr=admin&-pwd=instar


param.cgi?cmd=getmotorattr

FunctionPan & tilt parameter
Authorityadmin
Format GET/param.cgi[?cmd=getmotorattr]
Format SET/param.cgi[?cmd=setmotorattr&-panspeed=&-tiltspeed=&-panscan=&-tiltscan=&-movehome=&-ptzalarmmask=&-alarmpresetindex=]
Parameterpanspeed: Horizontal speed 0 fast, 1 medium, 2 slow
tiltspeed: Vertical speed 0 fast, 1 medium, 2 slow
panscan: Horizontal patrol
tiltscan: Vertical patrol
movehome: Move to home position [on, off]
ptzalarmmask: Deactivate alarm during pan/tilt [on, off]
alarmpresetindex: Alarm go to preset position, [1-8]
light_enable:
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmotorattr
GET: http://192.168.178.88/param.cgi?cmd=getmotorattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setmotorattr&-panspeed=1&-tiltspeed=1&-panscan=1&-tiltscan=1&-movehome=on&-ptzalarmmask=on&-alarmpresetindex=1
SET: http://192.168.178.88/param.cgi?cmd=setmotorattr&-panspeed=1&-tiltspeed=1&-panscan=1&-tiltscan=1&-movehome=on&-ptzalarmmask=on&-alarmpresetindex=1&-usr=admin&-pwd=instar


ptzup.cgi

FunctionTilt up
Authorityadmin, user
Format GET/ptzup.cgi
ExampleGET: http://admin:instar@192.168.178.88/ptzup.cgi


ptzdown.cgi

FunctionTilt up
Authorityadmin, user
Format GET/ptzdown.cgi
ExampleGET: http://admin:instar@192.168.178.88/ptzdown.cgi


ptzleft.cgi

FunctionTilt up
Authorityadmin, user
Format GET/ptzleft.cgi
ExampleGET: http://admin:instar@192.168.178.88/ptzleft.cgi


ptzright.cgi

FunctionTilt up
Authorityadmin, user
Format GET/ptzright.cgi
ExampleGET: http://admin:instar@192.168.178.88/ptzright.cgi


ptzzoomin.cgi

FunctionTilt up
Authorityadmin, user
Format GET/ptzzoomin.cgi
ExampleGET: http://admin:instar@192.168.178.88/ptzzoomin.cgi


ptzzoomout.cgi

FunctionTilt up
Authorityadmin, user
Format GET/ptzzoomout.cgi
ExampleGET: http://admin:instar@192.168.178.88/ptzzoomout.cgi


Motion detection, I/O alarm

param.cgi?cmd=getmdattr

FunctionMotion detection areas parameter
Authorityadmin
Format GET/param.cgi[?cmd=getmdattr]
Format SET/param.cgi[?cmd=setmdattr&-enable=&-s=&-name=&-x=&-y=&-w=&-h=]
Parameterm1_enable, m2_enable, m3_enable, m4_enable: 1 Enable, 0 Disable area[1-4]
m1_x, m2_x, m3_x, m4_x: Area[1-4] abscissa
m1_y, m2_y, m3_y, m4_y: Area[1-4] ordinate
m1_w, m2_w, m3_w, m4_w: Area[1-4] width
m1_h, m2_h, m3_h, m4_h: Area[1-4] height
m1_sensitivity, m2_sensitivity, m3_sensitivity, m4_sensitivity: Area[1-4] sensitivity [1-100]
m1_threshold, m2_threshold, m3_threshold, m4_threshold: Area[1-4] Reserved field, unused
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdattr
GET: http://192.168.178.88/param.cgi?cmd=getmdattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setmdattr&-enable=1&-s=50&-name=1&-x=0&-y=0&-w=60&-h=60
SET: http://192.168.178.88/param.cgi?cmd=setmdattr&-enable=1&-s=50&-name=1&-x=0&-y=0&-w=60&-h=60&-usr=admin&-pwd=instar
RemarkThe area coordinates and width are based on the maximum resolution of your camera. To set paramter for an area you have to name the area [1-4] you want to set


param.cgi?cmd=getioattr

FunctionExternal alarm input paramter
Authorityadmin
Format GET/param.cgi[?cmd=getioattr]
Format SET/param.cgi[?cmd=setioattr &-io_enable=&-io_flag=]
Parameterio_enable: External alarm input 0 disabled, 1 enabled
io_flag: External alarm mode 0 normally closed, 1 normally open
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getioattr
GET: http://192.168.178.88/param.cgi?cmd=getioattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setioattr&-io_enable=1&-io_flag=0
SET: http://192.168.178.88/param.cgi?cmd=setioattr&-io_enable=1&-io_flag=0&-usr=admin&-pwd=instar


param.cgi?cmd=getpirattr

FunctionPIR alarm parameter
Authorityadmin
Format GET/param.cgi[?cmd=getpirattr]
Format SET/param.cgi[?cmd=setpirattr &-pir_enable=&-pir_flag=]
Parameterpir_enable: PIR alarm 0 disabled, 1 enabled
pir_flag: PIR alarm mode 0 normally closed, 1 normally open
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getpirattr
GET: http://192.168.178.88/param.cgi?cmd=getpirattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setpirattr&-pir_enable=1&-pir_flag=0
SET: http://192.168.178.88/param.cgi?cmd=setpirattr&-pir_enable=1&-pir_flag=0&-usr=admin&-pwd=instar


param.cgi?cmd=getaudioalarmattr

FunctionAudio detection alarm parameter
Authorityadmin
Format GET/param.cgi[?cmd=getaudioalarmattr]
Format SET/param.cgi[?cmd=setaudioalarmattr&-aa_enable=&-aa_value=]
Parameteraa_enable: Audio alarm 0 disabled, 1 enabled
aa_value: Audible alarm sensitivity: range [1-100]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getaudioalarmattr
GET: http://192.168.178.88/param.cgi?cmd=getaudioalarmattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setaudioalarmattr&-aa_enable=1&-aa_value=50
SET: http://192.168.178.88/param.cgi?cmd=setaudioalarmattr&-aa_enable=1&-aa_value=50&-usr=admin&-pwd=instar


param.cgi?cmd=getmdalarm

FunctionAlarm action parameter
Authorityadmin
Format GET/param.cgi[?cmd=getmdalarm&-aname=]
Format SET/param.cgi[?cmd=setmdalarm &-aname=&-switch=]
Parameteraname Options: email: E-mail alarm, emailsnap: E-mail alarm and send pictures, snap: save the picture to the SD card, ftpsnap: save the picture to the FTP server, record: save video to SD card, ftprec: save video to FTP server, relay: relay output
switch: on enabled, off disabled
ExampleGET: http://admin:instar@1param.cgi?cmd=getmdalarm&-aname=email&cmd=getmdalarm&-aname=emailsnap&cmd=getmdalarm&-aname=ftpsnap&cmd=getmdalarm&-aname=snap&cmd=getmdalarm&-aname=emailrec&cmd=getmdalarm&-aname=record&cmd=getmdalarm&-aname=ftprec&cmd=getmdalarm&-aname=relay
SET: http://192.168.178.88/param.cgi?cmd=setmdalarm&-aname=email&-switch=off&cmd=setmdalarm&-aname=emailsnap&-switch=off&cmd=setmdalarm&-aname=ftprec&-switch=off&cmd=setmdalarm&-aname=snap&-switch=off&cmd=setmdalarm&-aname=ftpsnap&-switch=off&cmd=setmdalarm&-aname=record&-usr=admin&-pwd=instar


param.cgi?cmd=getrelayattr

FunctionAlarm output relay time
Authorityadmin
Format GET/param.cgi[?cmd=getrelayattr]
Format SET/param.cgi[?cmd=setrelayattr&-time=]
Parametertime: Output time (in seconds), range of values [5, 10, 20, 30]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getrelayattr
GET: http://192.168.178.88/param.cgi?cmd=getrelayattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setrelayattr&-time=10
SET: http://192.168.178.88/param.cgi?cmd=setrelayattr&-time=10&-usr=admin&-pwd=instar


param.cgi?cmd=getalarmsnapattr

FunctionNumber of alarm snapshots
Authorityadmin
Format GET/param.cgi[?cmd=getalarmsnapattr]
Format SET/param.cgi[?cmd=getscheduleex&-ename=]
Parametersnap_count: Number of pictures taken, the range of values [1, 2, 3]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getalarmsnapattr
GET: http://192.168.178.88/param.cgi?cmd=getalarmsnapattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setalarmsnapattr&-snap_count=2
SET: http://192.168.178.88/param.cgi?cmd=setalarmsnapattr&-snap_count=2&-usr=admin&-pwd=instar


param.cgi?cmd=getscheduleex

FunctionAlarm & recording schedule
Authorityadmin
Format GET/param.cgi[?cmd=getscheduleex&-ename=]
Format SET/param.cgi[?cmd=setscheduleex&-ename=&-week0=&-week1=&-week2=&-week3=&-week4=&-week5=&-week6=]
Parameterename: Option md alarm arming, plan planned recording
week0: Sunday: 24 hours will be subdivided into half an hour as a time period, each time period state with P or N, a total of 48 bytes (P means open, N means off)
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getscheduleex&-ename=plan
GET: http://192.168.178.88/param.cgi?cmd=getscheduleex&-ename=md&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setscheduleex&-ename=md&-week0=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP&-week2=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP&-week3=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP&-week4=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP&-week5=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP&-week5=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP&-week7=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
RemarkThe parameter -week0 - -week6, each parameter has 48 characters, that is, the video configuration string of 24 hours a day (24 hours a day will be subdivided into half an hour as a time period, with the character P or N to indicate whether to enable recording, P means active, N means off)


param.cgi?cmd=getplanrecattr

FunctionScheduled recording parameter
Authorityadmin
Format GET/param.cgi[?cmd=getplanrecattr]
Format SET/param.cgi[?cmd=setplanrecattr&-planrec_enable=&-planrec_time&-planrec_chn]
Parameterplanrec_enable: Enable recording 0 off, 1 Open
planrec_time: Video file duration [15-900] seconds
planrec_chn: Video channel [11-13]
planrec_type: Video format 0 AVI, 1 264
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getplanrecattr
GET: http://192.168.178.88/param.cgi?cmd=getplanrecattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setplanrecattr&-planrec_enable=1&-planrec_time=30&-planrec_chn=12


param.cgi?cmd=relayctrl

FunctionManually open or close the alarm relay
Authorityadmin
Format SET/param.cgi[?cmd=relayctrl&-act=]
Parameteract: Close off, Open on
ExampleSET: http://admin:instar@192.168.178.88/param.cgi?cmd=relayctrl&-act=on
SET: http://192.168.178.88/param.cgi?cmd=relayctrl&-act=on&-usr=admin&-pwd=instar


param.cgi?cmd=getalarmsnapattr

FunctionSnapshot image file name parameter
Authorityadmin
Format GET/param.cgi[?cmd=getalarmsnapattr]
Format SET/param.cgi[?cmd=setalarmsnapattr&-snap_name_mode=&-snap_alarm_name=&-snap_timer_name=]
Parametersnap_name_mode: Naming method 0 Timestamp, 1 Fixed file name
snap_alarm_name: Alarm capture image file name
snap_timer_name: Scheduled capture image file name
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getalarmsnapattr
GET: http://192.168.178.88/param.cgi?cmd=getalarmsnapattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setalarmsnapattr&-snap_name_mode=1&-snap_alarm_name=snapalarm&-snap_timer_name=snaptime


param.cgi?cmd=getmdalarm

FunctionAlarm capture
Authorityadmin
Format GET/param.cgi[?cmd=getmdalarm&-aname=email]
Format SET/param.cgi[?cmd=setmdalarm&-aname=email-switch=on]
Parametermd_email_switch [on/off]
md_emailsnap_switch [on/off]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=email
GET: http://192.168.178.88/param.cgi?cmd=getmdalarm&-aname=emailsnap&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setmdalarm&-aname=email&-switch=on
SET: http://192.168.178.88/param.cgi?cmd=setmdalarm&-aname=emailsnap&-switch=on&-usr=admin&-pwd=instar


param.cgi?cmd=getlogattr

FunctionCamera access log
Authorityadmin
Format GET/param.cgi[?cmd=getlogattr]
Format SET/param.cgi[?cmd=setlogattr&-aname=log_mode=on]
Parameterlog_mode: 0 normal mode 1 log IP address
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getlogattr
GET: http://192.168.178.88/param.cgi?cmd=getlogattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setlogattr&-log_mode=1
SET: http://192.168.178.88/param.cgi?cmd=setlogattr&-log_mode=1&-usr=admin&-pwd=instar


param.cgi?cmd=getbackupschedule

FunctionBackup time period
Authorityadmin
Format GET/param.cgi?cmd=getbackupschedule&-ename=io
Parameterweek1 - week6: PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getbackupschedule&-ename=io
GET: http://192.168.178.88/param.cgi?cmd=getbackupschedule&-ename=io&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setbackupschedule&-ename=io&-week0=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP&-week1=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
Remarkename is md, plan, snap, pir or io. Each parameter has 48 characters, which is a 24-hour video configuration string (24 hours a day will be subdivided into half-hours as a time period, with the character P or N indicating whether to enable recording, P for recording, and N for not recording. )


param.cgi?cmd=getcustomschedule

FunctionCustom time schedule
Authorityadmin
Format GET/param.cgi?cmd=getcustomschedule&-ename=io
Parameterweek1 - week6: PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getcustomschedule&-ename=io
GET: http://192.168.178.88/param.cgi?cmd=getcustomschedule&-ename=io&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setcustomschedule&-ename=io&-week0=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP&-week1=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
Remarkename is md, plan, snap, pir or io. Each parameter has 48 characters, which is a 24-hour video configuration string (24 hours a day will be subdivided into half-hours as a time period, with the character P or N indicating whether to enable recording, P for recording, and N for not recording. )


User Management

param.cgi?cmd=getuserattr

FunctionAll user information
Authorityadmin
Format GET/param.cgi[?cmd=getuserattr]
Format SET/param.cgi[?cmd=setuserattr&-at_username=&-at_newname= &-at_password =]
Parametername0, name1, name2: admin, user and guest username
password0, password1, password2: admin, user and guest password
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getuserattr
GET: http://192.168.178.88/param.cgi?cmd=getuserattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setuserattr&-at_username=admin&-at_newname=newname
Remarkat_username, at_newname, at_password maximum number of characters is 16


param.cgi?cmd=getsetupflag

FunctionAdmin user parameter
Authorityadmin
Format GET/param.cgi[?cmd=getsetupflag]
Parametername0: username
password0: password
authLevel0: reserved field
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getsetupflag
GET: http://192.168.178.88/param.cgi?cmd=getsetupflag&-usr=admin&-pwd=instar


param.cgi?cmd=getstreamflag

FunctionGuest user parameter
Authorityguest
Format GET/param.cgi[?cmd=getstreamflag]
Parametername2: username
password2: password
authLevel2: reserved field
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getstreamflag
GET: http://192.168.178.88/param.cgi?cmd=getstreamflag&-usr=admin&-pwd=instar


param.cgi?cmd=getptzflag

FunctionUser user parameter
Authorityuser
Format GET/param.cgi[?cmd=getptzflag]
Parametername1: username
password1: password
authLevel1: reserved field
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getptzflag
GET: http://192.168.178.88/param.cgi?cmd=getptzflag&-usr=admin&-pwd=instar


param.cgi?cmd=getuserinfo

FunctionAll user information
Authorityadmin
Format GET/param.cgi[?cmd=getuserinfo]
Parametername: username
password: password
authLevel: Permission 15 admin, 3 user, 1 guest
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getuserinfo
GET: http://192.168.178.88/param.cgi?cmd=getuserinfo&-usr=admin&-pwd=instar


Scheduled Capture

param.cgi?cmd=getsnaptimerattrex

FunctionScheduled capture parameter
Authorityadmin
Format GET/param.cgi[?cmd=getsnaptimerattrex]
Format SET/param.cgi[?cmd=setsnaptimerattrex&-as_enable=&-as_interval=&-as_type=]
Parameteras_snap_enable: Scheduled capture to save pictures to SD card 0 off, 1 enabled
as_snap_interval: Interval, in seconds [5-86400]
as_email_enable: Scheduled capture to save pictures by Email 0 off, 1 enabled
as_email_interval: Interval, in seconds [5-86400]
as_ftp_enable: Scheduled capture to save pictures to FTP server 0 off, 1 enabled
as_ftp_interval: Interval, in seconds [5-86400]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getsnaptimerattrex
GET: http://192.168.178.88/param.cgi?cmd=getsnaptimerattrex&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setsnaptimerattrex&-as_enable=1&-as_interval=60&-as_type=snap
RemarkTo SET use as_enable to enable timed capture [0, 1], as_interval capture interval in seconds [5-86400] and as_type as snap to save the picture to the SD card, email to send an image to Email and ftp to send the picture to the FTP server.


FTP

param.cgi?cmd=getftpattr

FunctionFTP parameter
Authorityadmin
Format GET/param.cgi[?cmd=getftpattr]
Format SET/param.cgi[?cmd=getftpattr&-ft_server=&-ft_port=&-ft_username=&-ft_password=&- ft_dirname =&-ft_mode=]
Parameteras_snap_enable: Scheduled capture to save pictures to SD card 0 off, 1 enabled
as_snap_interval: Interval, in seconds [5-86400]
as_email_enable: Scheduled capture to save pictures by Email 0 off, 1 enabled
as_email_interval: Interval, in seconds [5-86400]
as_ftp_enable: Scheduled capture to save pictures to FTP server 0 off, 1 enabled
as_ftp_interval: Interval, in seconds [5-86400]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getftpattr
GET: http://192.168.178.88/param.cgi?cmd=getftpattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setftpattr&-ft_server=220.112.14.173&-ft_port=21&-ft_username=FTPUsername&-ft_password=FTPPassword&-ft_dirname=Program Files&-ft_mode=1


param.cgi?cmd=testftp

FunctionTest FTP
Authorityadmin
Format GET/param.cgi[?cmd=testftp]
ParameterResult: 0 successful, -1 Unknown error, -2 Unable to connect to server, -3 Username or password is incorrect, -4 Path error
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=testftp


SMTP

param.cgi?cmd=getsmtpattr

FunctionSMTP configuration parameter
Authorityadmin
Format GET/param.cgi[?cmd=getsmtpattr]
Format SET/param.cgi[?cmd=setsmtpattr&-ma_server=&-ma_port=&-ma_ssl=&-ma_logintype=&-ma_username=&-ma_password=&-ma_from=&-ma_to=&-ma_subject=&-ma_text=]
Parameterma_server: SMTP server address
ma_port: Server port
ma_ssl: Secure connection type 0 off, 1 SSL, 2 TLS, 3 STARTTLS
ma_logintype: 1 Turn on authentication, 3 Turn off verification
ma_username: Username
ma_password: Password
ma_from: Sender address
ma_to: Recipient address
ma_subject: Email subject
ma_text: Email text
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getsmtpattr
GET: http://192.168.178.88/param.cgi?cmd=getsmtpattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setsmtpattr&-ma_server=stmp.sdf.com&-ma_from=sd1@sdf.com&-ma_to=a1@sdf.com&-ma_subject=demosubject&-ma_text=demotext&-ma_logintype=1&-ma_username=demo&-ma_password=123456&-ma_port=25&-ma_ssl=0


param.cgi?cmd=testsmtp

FunctionTest SMTP server configuration
Authorityadmin
Format GET/param.cgi[?cmd=smtp]
ParameterResult: 0 successful, -1 Unknown error, -2 SSL error, -3 can not connect to the server, -4 wrong user name or password
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=testsmtp


SD card

param.cgi?cmd=sdfrmt

FunctionFormat the SD card as a FAT32 file system
Authorityadmin
Format GET/param.cgi?cmd=sdfrmt
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=sdfrmt
GET: http://192.168.178.88/param.cgi?cmd=sdfrmt&-usr=admin&-pwd=instar


param.cgi?cmd=sdstop

FunctionUnmount SD card
Authorityadmin
Format GET/param.cgi?cmd=sdstop
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=sdstop
GET: http://192.168.178.88/param.cgi?cmd=sdstop&-usr=admin&-pwd=instar


Scheduled reboot

param.cgi?cmd=gettimerreboot

FunctionFormat the SD card as a FAT32 file system
Authorityadmin
Format GET/param.cgi?cmd=gettimerreboot
Parametersr_enable: Scheduled restart 0 off, 1 on
sr_day: Week: [0-6] (Sunday-Saturday), 7 per day
sr_hour: Time: [0-23] hours
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=gettimerreboot
GET: http://192.168.178.88/param.cgi?cmd=sdfrmt&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=settimerreboot&-sr_enable=0
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=settimerreboot&-sr_enable=1&-sr_hour=0&-usr=admin&-pwd=instar


Language settings

param.cgi?cmd=getlanguage

FunctionLanguage setting
Authorityadmin
Format GET/param.cgi[?cmd=getlanguage]
Format SET/param.cgi[?cmd=setlanguage&-language=]
Parameterlanguage: [0-4]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getlanguage
GET: http://192.168.178.88/param.cgi?cmd=getlanguage&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi? cmd=setlanguage&-language=0
SET: http://admin:instar@192.168.178.88/param.cgi? cmd=setlanguage&-language=0&-usr=admin&-pwd=instar


Language settings

param.cgi?cmd=getlanguage

FunctionLanguage setting
Authorityadmin
Format GET/param.cgi[?cmd=getlanguage]
Format SET/param.cgi[?cmd=setlanguage&-language=]
Parameterlanguage: [0-4]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getlanguage
GET: http://192.168.178.88/param.cgi?cmd=getlanguage&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi? cmd=setlanguage&-language=0
SET: http://admin:instar@192.168.178.88/param.cgi? cmd=setlanguage&-language=0&-usr=admin&-pwd=instar


System settings

param.cgi?cmd=getserverinfo

FunctionDevice information
Authorityadmin
Format GET/param.cgi[?cmd=getserverinfo]
Parametermodel: Model number
hardVersion: Hardware version
softVersion: Software version
webVersion: UI version
name: Device name
startdate: System start time
upnpstatus: UPNP Status ok, off or failed
facddnsstatus: Manufacturer dynamic domain name status ok, off or failed
th3ddnsstatus: Third-party dynamic domain name status ok, off or failed
platformstatus: P2P Platform status
runtimes: Reserved
sdstatus: SD card status out, ready or readonly
sdfreespace: The remaining free space of the SD card, in KB
sdtotalspace: SD card total capacity in KB
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getserverinfo
GET: http://192.168.178.88/param.cgi?cmd=getserverinfo&-usr=admin&-pwd=instar


param.cgi?cmd=getdevtype

FunctionDevice type information
Authorityadmin
Format GET/param.cgi[?cmd=getdevtype]
Parameterdevtype: Equipment type
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getdevtype
GET: http://192.168.178.88/param.cgi?cmd=getdevtype&-usr=admin&-pwd=instar


param.cgi?cmd=getstreamnum

FunctionStream viewer count
Authorityadmin
Format GET/param.cgi[?cmd=getstreamnum]
Parameterstream_num: The number of online users, such as var stream_num = "1";
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getstreamnum
GET: http://192.168.178.88/param.cgi?cmd=getstreamnum&-usr=admin&-pwd=instar


param.cgi?cmd=getservertime

FunctionSystem time information
Authorityadmin
Format GET/param.cgi[?cmd=getservertime]
Format SET/param.cgi[?cmd=setlanguage&-language=]
Parametertime: Current date and time [yyyy].[mm].[dd].[hh].[mm].[ss] for example: 2020.08.23.10.35.08
timeZone: Time zone, such as timeZone="Europe/Berlin";
dstmode: Enable daylight saving time: on enabled, off disabled
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getservertime
GET: http://192.168.178.88/param.cgi?cmd=getservertime&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setservertime&-time=2011.08.23.10.35.08&-timezone=Europe%2FBerlin&-dstmode=off
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setservertime&-time=2011.08.23.10.35.08&-timezone=Europe%2FBerlin&-dstmode=off&-usr=admin&-pwd=instar


Time Zone Table
Etc/GMT-12(GMT-12:00)
Pacific/Apia(GMT-11:00)
Pacific/Honolulu(GMT-10:00)
America/Anchorage(GMT-09:00)
America/Los_Angeles(GMT-08:00)
America/Denver(GMT-07:00)
America/Tegucigalpa(GMT-07:00)
America/Phoenix(GMT-07:00)
America/Winnipeg(GMT-06:00)
America/Mexico_City(GMT-06:00)
America/Chicago(GMT-06:00)
America/Costa_Rica(GMT-06:00)
America/Indianapolis(GMT-05:00)
America/New_York(GMT-05:00)
America/Bogota(GMT-05:00)
America/Santiago(GMT-04:00)
America/Caracas(GMT-04:00)
America/Montreal(GMT-04:00)
America/St_Johns(GMT-03:30)
America/Thule(GMT-03:00)
America/Buenos_Aires(GMT-03:00)
America/Sao_Paulo(GMT-03:00)
Atlantic/South_Georgia(GMT-02:00)
Atlantic/Cape_Verde(GMT-01:00)
Atlantic/Azores(GMT-01:00)
Europe/Dublin(GMT)
Africa/Casablanca(GMT)
Europe/Amsterdam(GMT+01:00)
Europe/Belgrade(GMT+01:00)
Europe/Brussels(GMT+01:00)
Europe/Warsaw(GMT+01:00)
Africa/Lagos(GMT+01:00)
Europe/Athens(GMT+02:00)
Europe/Bucharest(GMT+02:00)
Africa/Cairo(GMT+02:00)
Africa/Harare(GMT+02:00)
Europe/Helsinki(GMT+02:00)
Asia/Jerusalem(GMT+02:00)
Asia/Baghdad(GMT+03:00)
Asia/Kuwait(GMT+03:00)
Europe/Moscow(GMT+03:00)
Africa/Nairobi(GMT+03:00)
Asia/Tehran(GMT+03:30)
Asia/Dubai(GMT+04:00)
Asia/Baku(GMT+04:00)
Asia/Kabul(GMT+04:30)
Asia/Yekaterinburg(GMT+05:00)
Asia/Karachi(GMT+05:00)
Asia/Calcutta(GMT+05:30)
Asia/Katmandu(GMT+05:45)
Asia/Almaty(GMT+06:00)
Asia/Dhaka(GMT+06:00)
Asia/Colombo(GMT+06:00)
Asia/Rangoon(GMT+06:30)
Asia/Bangkok(GMT+07:00)
Asia/Krasnoyarsk(GMT+07:00)
Asia/Hong_Kong(GMT+08:00)
Asia/Irkutsk(GMT+08:00)
Asia/Kuala_Lumpur(GMT+08:00)
Australia/Perth(GMT+08:00)
Asia/Taipei(GMT+08:00)
Asia/Tokyo(GMT+09:00)
Asia/Seoul(GMT+09:00)
Asia/Yakutsk(GMT+09:00)
Australia/Adelaide(GMT+09:30)
Australia/Brisbane(GMT+10:00)
Australia/Sydney(GMT+10:00)
Pacific/Guam(GMT+10:00)
Australia/Hobart(GMT+10:00)
Asia/Vladivostok(GMT+10:00)
Asia/Magadan(GMT+11:00)
Pacific/Auckland(GMT+12:00)
Pacific/Fiji(GMT+12:00)
Pacific/Tongatapu(GMT+13:00)

param.cgi?cmd=getntpattr

FunctionNTP parameter
Authorityadmin
Format GET/param.cgi[?cmd=getntpattr]
Format SET/param.cgi[?cmd=setntpattr&-ntpenable=&-ntpserver=&-ntpinterval=]
Parameterntpenable: Enable NTP: on enabled, off disabled
ntpserver: NTP Server time.nist.gov, time.kriss.re.kr, time.windows.com, time.nuri.net
ntpinterval: Synchronization interval: range [1-24] hours
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=getntpattr
GET: http://192.168.178.88/param.cgi?cmd=getntpattr&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setntpattr&-ntpenable=1&-ntpinterval=2&-ntpserver=time.nuri.net
SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setntpattr&-ntpenable=1&-ntpinterval=2&-ntpserver=time.nuri.net&-usr=admin&-pwd=instar


web/tmpfs/snap.jpg

FunctionSnapshot Path
Authoritydmin, user and guest
Format GET/web/tmpfs/snap.jpg
ExampleGET: http://admin:instar@192.168.178.88/web/tmpfs/snap.jpg
GET: http://192.168.178.88/web/tmpfs/snap.jpg&-usr=admin&-pwd=instar


sysreset.cgi

FunctionRestore system to factory settings
Authorityadmin
Format GET/sysreset.cgi
ExampleGET: http://admin:instar@192.168.178.88/sysreset.cgi
GET: http://192.168.178.88/sysreset.cgi&-usr=admin&-pwd=instar


sysreboot.cgi

FunctionRestart the system
Authorityadmin
Format GET/sysreboot.cgi
ExampleGET: http://admin:instar@192.168.178.88/sysreboot.cgi
GET: http://192.168.178.88/sysreboot.cgi&-usr=admin&-pwd=instar


backup.cgi

FunctionBackup configuration data
Authorityadmin
Format GET/backup.cgi
ExampleGET: http://admin:instar@192.168.178.88/backup.cgi
GET: http://192.168.178.88/backup.cgi&-usr=admin&-pwd=instar


restore.cgi

FunctionRestore system settings
Authorityadmin
Format GET/restore.cgi[?-setting_file=]
Parametersetting_file: System configuration file path
ExamplePOST: <form name="form6" method="post" enctype="multipart/form-data" action="cgi-bin/hi3510/restore.cgi" ><input type="file" name="setting_file" ><input type="submit" value="restore" >


param.cgi?cmd=logsync

FunctionUpdate log information
Authorityadmin
Format GET/param.cgi[?cmd=logsync]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=logsync
GET: http://192.168.178.88/log/syslog.txt&-usr=admin&-pwd=instar
RemarkThis CGI is to refresh the log information. After the execution, obtain the log content by accessing /log/syslog.txt. Note: The device restarts and the log is automatically cleared.


param.cgi?cmd=cleanlog

FunctionClear log information
Authorityadmin
Format GET/param.cgi[?cmd=cleanlog&-name=]
ExampleGET: http://admin:instar@192.168.178.88/param.cgi?cmd=cleanlog
GET: http://192.168.178.88/param.cgi?cmd=cleanlog&-usr=admin&-pwd=instar