INSTAR Deutschland GmbHINSTAR Deutschland GmbH

2560p CGI Commands



Audio & Video Settings




param.cgi?cmd=getaudioalarmattr

Function Audio detection parameter
Authority admin
Format GET /param.cgi?cmd=getaudioalarmattr
Format SET /param.cgi[?cmd=setaudioalarmattr&-aaenable=&-aavalue=]
Parameter aa_enable: De/Activate Audio Detection [0, 1]
aa_value: Sensitivity [10 - 100]
Example GET: 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

Function Fisheye correction parameter
Authority admin
Format GET /param.cgi[?cmd=getfisheyeattr]
Format SET /param.cgi[?cmd=setfisheyeattr]
Parameter fisheye_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
Example GET: 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

Function Video stream properties
Authority admin
Format GET /param.cgi[?cmd=getvideoattr]
Format SET /param.cgi[?cmd=setvideoattr&-vinorm=&-profile=&-videomode=]
Parameter videomode: 31: 720PQ720PQQ720P, 32: 720PQQ720PQQ720P, 33: Q720PQ720PQQ720P, 34: Q720PQQ720PQQ720P, 35: 720PD1CIF, 36: 720PCIFCIF, 41: 1080PQ720PQQ720P, 42: 1080PQQ720PQQ720P, 45: 1080PD1CIF, 46: 1080PCIFCIF, 51: 960PVGAQVGA, 52: 960PQVGAQVGA, 53:VGAVGAQVGA, 54: VGAQVGAQVGA, 55: 960PD1CIF, 56: 960PCIFCIF, 17: D1CIFCIF, 20: CIFCIFCIF
vinorm: P 50Hz(PAL), N 60Hz(NTSC)
profile: 0 baseline, 1 mainprofile
wdrmode: WDR: 0 close, 1 open
maxchn: Maximum coding channel
ftpsnap: mdftpsnapswitch [on, off] Send Snapshot to FTP Server
sound: mdsoundswitch [on, off] Audio Alarm Signal
type: mdalarmtype [on, off] Link Alarm Areas and Alarm-Input
Example GET: 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

Function Video encoding paramter
Authority admin, user, guest
Format GET /param.cgi[?cmd=getvencattr &-chn=]
Format SET /param.cgi[?cmd=setvencattr&-chn=&-bps=&-fps=&-brmode=&-imagegrade=&-gop=]
Parameter chn: 31: 720PQ720PQQ720P, 32: 720PQQ720PQQ720P, 33: Q720PQ720PQQ720P, 34: Q720PQQ720PQQ720P, 35: 720PD1CIF, 36: 720PCIFCIF, 41: 1080PQ720PQQ720P, 42: 1080PQQ720PQQ720P, 45: 1080PD1CIF, 46: 1080PCIFCIF, 51: 960PVGAQVGA, 52: 960PQVGAQVGA, 53:VGAVGAQVGA, 54: VGAQVGAQVGA, 55: 960PD1CIF, 56: 960PCIFCIF, 17: D1CIFCIF, 20: CIFCIFCIF
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
Example GET: 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

Function Image paramter
Authority admin
Format GET /param.cgi[?cmd=getimageattr]
Format SET /param.cgi[?cmd=setimageattr&-image_type=&-brightness=&-saturation=&-contrast=&-targety=&-gamma=&-flip=&-mirror=&-aemode=]
Parameter display_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
Example GET: 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

Function Lens distortion value
Authority admin
Format GET /param.cgi[?cmd=getldcattr]
Format SET /param.cgi[?cmd=setldcattr&- ldc_ratio =]
Parameter ldc_ratio: Distortion value [0-511]
Example GET: 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

Function IRCut switch threshold
Authority admin
Format GET /param.cgi[?cmd=getircutattr]
Format SET /param.cgi[?cmd=setircutattr&-saradcswitchvalue=]
Parameter saradc_switch_value: IRCut switching threshold [1-1024]
Example GET: 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

Function IRCut switch threshold
Authority admin
Format GET /param.cgi[?cmd=getoverlayattr&-region=]
Format SET /param.cgi[?cmd=setoverlayattr&-region=&-show=&-name=&-place=]
Parameter region: 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
Example GET: 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

Function Phone snapshot parameter
Authority admin
Format GET /param.cgi[?cmd=getoverlayattr&-region=]
Format SET /param.cgi[?cmd=setoverlayattr&-region=&-show=&-name=&-place=]
Parameter msize: 1 Maximum resolution of the second stream, 2 Second stream minimum resolution
Example GET: 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

Function Audio encoding paramter
Authority admin
Format GET /param.cgi[?cmd=getaencattr&-chn=]
Format SET /param.cgi[?cmd=setaencattr&-chn=]
Parameter chn: 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
Example GET: 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

Function Audio input volume
Authority admin
Format GET /param.cgi[?cmd=getaudioinvolume]
Format SET /param.cgi[?cmd=setaudioinvolume&-volume=]
Parameter volume: Volume [1-100]
volin_type: 0 linear input, 1 microphone input
aec: Echo cancellation 0 off 1 on
denoise: Noise reduction
Example GET: 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

Function Audio output volume
Authority admin
Format GET /param.cgi[?cmd=getaudiooutvolume]
Format SET /param.cgi[?cmd=setaudiooutvolume&-volume=]
Parameter ao_volume: Volume [1-100]
Example GET: 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

Function Request the next frame as a key frame
Authority admin
Format GET /param.cgi[?cmd=requestifrm&-chn=]
Parameter chn: 11, 12, 13
Example GET: 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

Function Privacy area parameter
Authority admin
Format GET /param.cgi[?cmd=getcover]
Format SET /param.cgi[?cmd=setcover&-show=&-region=&-color=&-x=&-y=&-w=&-h=]
Parameter show_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
Example GET: 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

Function Tone setting
Authority admin
Format GET /param.cgi[?cmd=playsound&-tone=custom&-times=1]
Parameter tone: Play type, custom or bell
times: Play times, range [1-50]
Example GET: 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

Function Stop tone
Authority admin
Format GET /param.cgi[?cmd=stopsound]
Parameter stopsound: Stop sound
Example GET: 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

Function File Upload
Authority admin
Format GET /cert.cgi?-filename=cert.pem
Parameter Upload a custom SSL certificate
Example GET: 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

Function LED light parameter
Authority admin
Format GET /param.cgi[?cmd=getlampctrl]
Format SET /param.cgi[?cmd=setlampctrl]
Parameter lampstat: LED light status auto automatic, open forced open, close forced off
Example GET: 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

Function LED light parameter
Authority admin
Format GET /param.cgi[?cmd=getinfrared]
Format SET /param.cgi[?cmd=setinfrared]
Parameter infraredstat: Infrared LED light status auto automatic, close forced off
Example GET: 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

Function Network parameter
Authority admin
Format GET /param.cgi[?cmd=getnetattr]
Format SET /param.cgi[?cmd=setnetattr&-dhcp=&-ipaddr=&-netmask=&-gateway=&-dnsstat=&-fdnsip=&-sdnsip=]
Parameter dhcp: 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
Example GET: 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

Function HTTP Port
Authority admin
Format GET /param.cgi[?cmd=gethttpport]
Format SET /param.cgi[?cmd=sethttpport&-httpport=]
Parameter httpport: Camera LAN Port [80-65535]
Example GET: 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

Function HTTPS Port
Authority admin
Format GET /param.cgi[?cmd=gethttpsport]
Format SET /param.cgi[?cmd=sethttpsport&-httpsport=]
Parameter httpport: Camera LAN Port [80-65535]
Example GET: 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

Function RTSP/RTP Port
Authority admin
Format GET /param.cgi[?cmd=gethttpport]
Format SET /param.cgi[?cmd=setrtspport&-rtspport=&-rtpport=]
Parameter rtspport: Camera RTSP Port [80-65535]
rtpport: Camera RTP Port [5000-8000]
Example GET: 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

Function RTSP/RTP Port
Authority admin
Format GET /param.cgi[?cmd=getrtmpattr]
Format SET /param.cgi[?cmd=setrtspport&-rtspport=&-rtpport=]
Parameter rtmpport: Camera RTSP Port [80-65535]
Example GET: 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

Function RTSP Authentication
Authority admin
Format GET /param.cgi[?cmd=getrtspauth]
Format SET /param.cgi[?cmd=setrtspauth&- rtsp_aenable=]
Parameter rtsp_aenable: Disable/enable [0, 1]
Example GET: 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

Function Internet (WAN) IP
Authority admin
Format GET /param.cgi[?cmd=getinterip]
Parameter interip: WAN IP address, e.g. "220.112.14.173"
Example GET: 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

Function Universal Plug&Play
Authority admin
Format GET /param.cgi[?cmd=getupnpattr]
Format SET /param.cgi[?cmd=setupnpattr&-upm_enable=]
Parameter upm_enable: Disable/enable [0, 1]
Example GET: 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

Function ONVIF parameter
Authority admin
Format GET /param.cgi[?cmd=getonvifattr]
Format SET /param.cgi[?cmd=setonvifattr&-ovenable=&-ovport=&-ovauthflag=&-ovforbitset=]
Parameter ov_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
Example GET: 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

Function Wireless paramter
Authority admin
Format GET /param.cgi[?cmd=getwirelessattr]
Format SET /param.cgi[?cmd=setwirelessattr&-wfenable=&-wfssid=&-wfauth=&-wfkey=&-wfenc=&-wfmode=]
Parameter wf_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
Example GET: 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

Function Search for wireless networks
Authority admin
Format GET /param.cgi[?cmd=searchwireless]
Parameter waccess_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)
Example GET: 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
Remark Note: 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

Function Set test wireless network configuration
Authority admin
Format GET /param.cgi[?cmd=chkwirelessattr&-wfssid=&-wfauth=&-wfkey=&-wfenc=&-wf_mode=]
Parameter wf_ssid: WiFi Channel
wf_auth: Signal strength
wf_key: SSID
wf_enc: Encryption Mode
wf_mode: Verification method
Example SET: 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
Remark You 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

Function WIFI MAC address
Authority admin
Format GET /param.cgi[?cmd=getwifimac]
Parameter wifimac: WIFI MAC address
wifitype: WIFI module type
Example GET: 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

Function INSTAR DDNS paramter
Authority admin
Format GET /param.cgi[?cmd=getourddnsattr]
Format SET /param.cgi[?cmd=setourddnsattr&-ourenable=&-ourserver=&-ourport=&-ouruname=&-our_passwd=]
Parameter our_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
Example GET: 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

Function Third-party DDNS paramter
Authority admin
Format GET /param.cgi[?cmd=get3thddnsattr]
Format SET /param.cgi[?cmd=set3thddnsattr.&-d3thenable=&-d3thservice=&-d3thuname=&-d3thpasswd=&-d3th_domain=]
Parameter d3th_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
Example GET: 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

Function Pan & tilt step size
Authority admin
Format GET /param.cgi[?cmd=getmotorrange]
Format SET /param.cgi[?cmd=setmotorrange&-panrange=&-tiltrange=&-panhome=&-tilthome=]
Parameter panrange: Horizontal level
tiltrange: Vertical level
panhome: Horizontally centered
tilthome: Vertical centering
Example GET: 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

Function Pan & tilt step size
Authority admin, user
Format GET /param.cgi?cmd=ptzctrl.cgi[&-step=&-act=&-speed=]
Parameter step: 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]
Example GET: 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

Function PTZ preset parameter
Authority admin, user
Format GET /param.cgi?cmd=preset[&-act=&-status=&-number=]
Parameter act: Operation command goto go to preset position, set set the preset position
status Preset operation instructions: 0 clear, 1 save
number: Preset number
Example GET: 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

Function Pan & tilt parameter
Authority admin
Format GET /param.cgi[?cmd=getmotorattr]
Format SET /param.cgi[?cmd=setmotorattr&-panspeed=&-tiltspeed=&-panscan=&-tiltscan=&-movehome=&-ptzalarmmask=&-alarmpresetindex=]
Parameter panspeed: 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:
Example GET: 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

Function Tilt up
Authority admin, user
Format GET /ptzup.cgi
Example GET: http://admin:instar@192.168.178.88/ptzup.cgi



ptzdown.cgi

Function Tilt up
Authority admin, user
Format GET /ptzdown.cgi
Example GET: http://admin:instar@192.168.178.88/ptzdown.cgi



ptzleft.cgi

Function Tilt up
Authority admin, user
Format GET /ptzleft.cgi
Example GET: http://admin:instar@192.168.178.88/ptzleft.cgi



ptzright.cgi

Function Tilt up
Authority admin, user
Format GET /ptzright.cgi
Example GET: http://admin:instar@192.168.178.88/ptzright.cgi



ptzzoomin.cgi

Function Tilt up
Authority admin, user
Format GET /ptzzoomin.cgi
Example GET: http://admin:instar@192.168.178.88/ptzzoomin.cgi



ptzzoomout.cgi

Function Tilt up
Authority admin, user
Format GET /ptzzoomout.cgi
Example GET: http://admin:instar@192.168.178.88/ptzzoomout.cgi



Motion detection, I/O alarm

param.cgi?cmd=getmdattr

Function Motion detection areas parameter
Authority admin
Format GET /param.cgi[?cmd=getmdattr]
Format SET /param.cgi[?cmd=setmdattr&-enable=&-s=&-name=&-x=&-y=&-w=&-h=]
Parameter m1_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
Example GET: 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
Remark The 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

Function External alarm input paramter
Authority admin
Format GET /param.cgi[?cmd=getioattr]
Format SET /param.cgi[?cmd=setioattr &-ioenable=&-ioflag=]
Parameter io_enable: External alarm input 0 disabled, 1 enabled
io_flag: External alarm mode 0 normally closed, 1 normally open
Example GET: 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

Function PIR alarm parameter
Authority admin
Format GET /param.cgi[?cmd=getpirattr]
Format SET /param.cgi[?cmd=setpirattr &-pirenable=&-pirflag=]
Parameter pir_enable: PIR alarm 0 disabled, 1 enabled
pir_flag: PIR alarm mode 0 normally closed, 1 normally open
Example GET: 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

Function Audio detection alarm parameter
Authority admin
Format GET /param.cgi[?cmd=getaudioalarmattr]
Format SET /param.cgi[?cmd=setaudioalarmattr&-aaenable=&-aavalue=]
Parameter aa_enable: Audio alarm 0 disabled, 1 enabled
aa_value: Audible alarm sensitivity: range [1-100]
Example GET: 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

Function Alarm action parameter
Authority admin
Format GET /param.cgi[?cmd=getmdalarm&-aname=]
Format SET /param.cgi[?cmd=setmdalarm &-aname=&-switch=]
Parameter aname 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
Example GET: 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

Function Alarm output relay time
Authority admin
Format GET /param.cgi[?cmd=getrelayattr]
Format SET /param.cgi[?cmd=setrelayattr&-time=]
Parameter time: Output time (in seconds), range of values [5, 10, 20, 30]
Example GET: 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

Function Number of alarm snapshots
Authority admin
Format GET /param.cgi[?cmd=getalarmsnapattr]
Format SET /param.cgi[?cmd=getscheduleex&-ename=]
Parameter snap_count: Number of pictures taken, the range of values [1, 2, 3]
Example GET: 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

Function Alarm & recording schedule
Authority admin
Format GET /param.cgi[?cmd=getscheduleex&-ename=]
Format SET /param.cgi[?cmd=setscheduleex&-ename=&-week0=&-week1=&-week2=&-week3=&-week4=&-week5=&-week6=]
Parameter ename: 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)
Example GET: 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
Remark The 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

Function Scheduled recording parameter
Authority admin
Format GET /param.cgi[?cmd=getplanrecattr]
Format SET /param.cgi[?cmd=setplanrecattr&-planrecenable=&-planrectime&-planrec_chn]
Parameter planrec_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
Example GET: 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

Function Manually open or close the alarm relay
Authority admin
Format SET /param.cgi[?cmd=relayctrl&-act=]
Parameter act: Close off, Open on
Example SET: 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

Function Snapshot image file name parameter
Authority admin
Format GET /param.cgi[?cmd=getalarmsnapattr]
Format SET /param.cgi[?cmd=setalarmsnapattr&-snapnamemode=&-snapalarmname=&-snaptimername=]
Parameter snap_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
Example GET: 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

Function Alarm capture
Authority admin
Format GET /param.cgi[?cmd=getmdalarm&-aname=email]
Format SET /param.cgi[?cmd=setmdalarm&-aname=email-switch=on]
Parameter md_email_switch [on/off]
md_emailsnap_switch [on/off]
Example GET: 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

Function Camera access log
Authority admin
Format GET /param.cgi[?cmd=getlogattr]
Format SET /param.cgi[?cmd=setlogattr&-aname=log_mode=on]
Parameter log_mode: 0 normal mode 1 log IP address
Example GET: 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

Function Backup time period
Authority admin
Format GET /param.cgi?cmd=getbackupschedule&-ename=io
Parameter week1 - week6: PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
Example GET: 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
Remark ename 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

Function Custom time schedule
Authority admin
Format GET /param.cgi?cmd=getcustomschedule&-ename=io
Parameter week1 - week6: PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
Example GET: 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
Remark ename 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

Function All user information
Authority admin
Format GET /param.cgi[?cmd=getuserattr]
Format SET /param.cgi[?cmd=setuserattr&-atusername=&-atnewname= &-at_password =]
Parameter name0, name1, name2: admin, user and guest username
password0, password1, password2: admin, user and guest password
Example GET: 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
Remark at_username, at_newname, at_password maximum number of characters is 16



param.cgi?cmd=getsetupflag

Function Admin user parameter
Authority admin
Format GET /param.cgi[?cmd=getsetupflag]
Parameter name0: username
password0: password
authLevel0: reserved field
Example GET: 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

Function Guest user parameter
Authority guest
Format GET /param.cgi[?cmd=getstreamflag]
Parameter name2: username
password2: password
authLevel2: reserved field
Example GET: 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

Function User user parameter
Authority user
Format GET /param.cgi[?cmd=getptzflag]
Parameter name1: username
password1: password
authLevel1: reserved field
Example GET: 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

Function All user information
Authority admin
Format GET /param.cgi[?cmd=getuserinfo]
Parameter name: username
password: password
authLevel: Permission 15 admin, 3 user, 1 guest
Example GET: 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

Function Scheduled capture parameter
Authority admin
Format GET /param.cgi[?cmd=getsnaptimerattrex]
Format SET /param.cgi[?cmd=setsnaptimerattrex&-asenable=&-asinterval=&-as_type=]
Parameter as_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]
Example GET: 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
Remark To 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

Function FTP parameter
Authority admin
Format GET /param.cgi[?cmd=getftpattr]
Format SET /param.cgi[?cmd=getftpattr&-ftserver=&-ftport=&-ftusername=&-ftpassword=&- ftdirname =&-ftmode=]
Parameter as_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]
Example GET: 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

Function Test FTP
Authority admin
Format GET /param.cgi[?cmd=testftp]
Parameter Result: 0 successful, -1 Unknown error, -2 Unable to connect to server, -3 Username or password is incorrect, -4 Path error
Example GET: http://admin:instar@192.168.178.88/param.cgi?cmd=testftp



SMTP

param.cgi?cmd=getsmtpattr

Function SMTP configuration parameter
Authority admin
Format GET /param.cgi[?cmd=getsmtpattr]
Format SET /param.cgi[?cmd=setsmtpattr&-maserver=&-maport=&-massl=&-malogintype=&-mausername=&-mapassword=&-mafrom=&-mato=&-masubject=&-matext=]
Parameter ma_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
Example GET: 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

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



SD card

param.cgi?cmd=sdfrmt

Function Format the SD card as a FAT32 file system
Authority admin
Format GET /param.cgi?cmd=sdfrmt
Example GET: 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

Function Unmount SD card
Authority admin
Format GET /param.cgi?cmd=sdstop
Example GET: 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

Function Format the SD card as a FAT32 file system
Authority admin
Format GET /param.cgi?cmd=gettimerreboot
Parameter sr_enable: Scheduled restart 0 off, 1 on
sr_day: Week: [0-6] (Sunday-Saturday), 7 per day
sr_hour: Time: [0-23] hours
Example GET: 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

Function Language setting
Authority admin
Format GET /param.cgi[?cmd=getlanguage]
Format SET /param.cgi[?cmd=setlanguage&-language=]
Parameter language: [0-4]
Example GET: 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

Function Language setting
Authority admin
Format GET /param.cgi[?cmd=getlanguage]
Format SET /param.cgi[?cmd=setlanguage&-language=]
Parameter language: [0-4]
Example GET: 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

Function Device information
Authority admin
Format GET /param.cgi[?cmd=getserverinfo]
Parameter model: 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
Example GET: 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

Function Device type information
Authority admin
Format GET /param.cgi[?cmd=getdevtype]
Parameter devtype: Equipment type
Example GET: 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

Function Stream viewer count
Authority admin
Format GET /param.cgi[?cmd=getstreamnum]
Parameter stream_num: The number of online users, such as var stream_num = "1";
Example GET: 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

Function System time information
Authority admin
Format GET /param.cgi[?cmd=getservertime]
Format SET /param.cgi[?cmd=setlanguage&-language=]
Parameter time: 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
Example GET: 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

Function NTP parameter
Authority admin
Format GET /param.cgi[?cmd=getntpattr]
Format SET /param.cgi[?cmd=setntpattr&-ntpenable=&-ntpserver=&-ntpinterval=]
Parameter ntpenable: 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
Example GET: 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

Function Snapshot Path
Authority dmin, user and guest
Format GET /web/tmpfs/snap.jpg
Example GET: 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

Function Restore system to factory settings
Authority admin
Format GET /sysreset.cgi
Example GET: http://admin:instar@192.168.178.88/sysreset.cgi
GET: http://192.168.178.88/sysreset.cgi&-usr=admin&-pwd=instar



sysreboot.cgi

Function Restart the system
Authority admin
Format GET /sysreboot.cgi
Example GET: http://admin:instar@192.168.178.88/sysreboot.cgi
GET: http://192.168.178.88/sysreboot.cgi&-usr=admin&-pwd=instar



backup.cgi

Function Backup configuration data
Authority admin
Format GET /backup.cgi
Example GET: http://admin:instar@192.168.178.88/backup.cgi
GET: http://192.168.178.88/backup.cgi&-usr=admin&-pwd=instar



restore.cgi

Function Restore system settings
Authority admin
Format GET /restore.cgi[?-setting_file=]
Parameter setting_file: System configuration file path
Example POST: <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

Function Update log information
Authority admin
Format GET /param.cgi[?cmd=logsync]
Example GET: http://admin:instar@192.168.178.88/param.cgi?cmd=logsync
GET: http://192.168.178.88/log/syslog.txt&-usr=admin&-pwd=instar
Remark This 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

Function Clear log information
Authority admin
Format GET /param.cgi[?cmd=cleanlog&-name=]
Example GET: 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