INSTAR 1080p CGI Commands

Complete CGI List

param.cgi?cmd=get3thddnsattr

Usage
FunctionGet your Camera´s 3rd Party DDNS Configuration
Authorityadmin
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=0&-d3th_uname=myUsername&-d3th_passwd=myPassword&-d3th_domain=myDomain.dyndns.com

param.cgi?cmd=getaencattr&-chn=[1,2 or 3]

Usage
FunctionGet Audio Encoder Parameter
Authorityadmin
Parameter
  • chn: 1st, 2nd or 3rd audio channel: 1, 2, 3
  • aeswitch_[1,2 or 3]: Audio encode switch on, off: 1, 0
  • aeformat: Audio encode format g711a: G711A 64Kbps, g726: G726 16Kbps

Be aware: the g726 audio format is not widely supported. It is recommend to leave everything at g711a

Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getaencattr&-chn=2
  • GET: http://192.168.178.88/param.cgi?param.cgi?cmd=getaencattr&-chn=2&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setaencattr&-chn=2&-aeswitch_2=1&-aeformat_2=g711a

param.cgi?cmd=getalarmserverattr&-as_index=1

Usage
FunctionGet Alarmserver [0] Configuration for the Push Service
Authorityadmin
Parameter aname:
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getalarmserverattr&-as_index=1
  • GET: http://192.168.178.88/param.cgi?cmd=getalarmserverattr&-as_index=1&-ename=md&-usr=admin&-pwd=instar

param.cgi?cmd=getalarmserverattr&-as_index=3

Usage
FunctionGet Alarmserver [2] Configuration
Authorityadmin
Parameter aname:
  • as_server[2]: Address of the receiving Server (e.g. Home Automation Server) [IPv4 Address]
  • as_port[2]: Port of the receiving Server [1-65536]
  • as_auth[2]: Authentication required [0, 1]
  • as_username[2]: Alarmserver Username
  • as_password[2]: Alarmserver Password
  • as_path[2]: URL Path
  • as_area[2]: Send Query when Motion is Detected
  • as_io[2]: Send Query when Alarm Input is Triggered
  • as_audio[2]: Send Query when Audio Alarm is Triggered
  • as_areaio[2]: Send Query when Motion is Detected and Input is Triggered
  • as_activequery[2]: Append Alarm Trigger to Query
  • as_query1[2]: Activate Sending optional Parameter 1
  • as_queryattr1[2]: Command 1 Attribute
  • as_queryval1[2]: Command 1 Value
  • as_query2[2]: Activate Sending optional Parameter 2
  • as_queryattr1[2]: Command 2 Attribute
  • as_queryval2[2]: Command 2 Value
  • as_query3[2]: Activate Sending optional Parameter 3
  • as_queryattr3[2]: Command 3 Attribute
  • as_queryval3[2]: Command 3 Value
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getalarmserverattr&-as_index=3
  • GET: http://192.168.178.88/param.cgi?cmd=setalarmserverattr&-as_index=3&-as_server=192.168.1.114&-as_port=80&-as_path=/&-as_queryattr1=command1&-as_queryval1=false&-as_queryattr2=command2&-as_queryval2=true&-as_activequery=0&-as_auth=0&-as_query1=1&-as_query2=1

param.cgi?cmd=getalarmsnapattr

Usage
FunctionCreate Snapshots with a fixed Name or Generate it from a Timestamp
Authorityadmin
Parameter aname:
  • snap_chn: Set Snapshot Resolution to Video Channel [11, 12, 13]
  • snap_name: Fixed File Name for All Alarm Snapshots (leave empty for auto-name by time stamp)
  • snap_timer_name: Fixed File Name for All Photoseries Snapshots (leave empty for auto-name by time stamp)
  • snap_name_mode: Set Filename to [0] time stamp, or [1] fixed file name set snap_name and snap_timer_name
  • snap_count: Number of Snapshot saved to SD Card per Alarm Event [1-15]
  • ftp_snap_count: Number of Snapshot send to FTP Server per Alarm Event [1-15]
  • email_snap_count: Number of Snapshot send by Email per Alarm Event [1-15]
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?param.cgi?cmd=getalarmsnapattr
  • GET: http://192.168.178.88/param.cgi?param.cgi?cmd=getalarmsnapattr&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setalarmsnapattr&-snap_name_mode=0

param.cgi?cmd=getalarmsnapattr

FunctionSet Number of Alarm Snapshots
Authorityadmin
Parameter
  • snap_chn: Set Snapshot Resolution to Video Channel [11, 12, 13]
  • snap_name: Fixed File Name for All Alarm Snapshots (leave empty for auto-name by time stamp)
  • snap_timer_name: Fixed File Name for All Photoseries Snapshots (leave empty for auto-name by time stamp)
  • snap_name_mode: Set Filename to [0] time stamp, or [1] fixed file name set snap_name and snap_timer_name
  • snap_count: Number of Snapshot saved to SD Card per Alarm Event [1-15]
  • ftp_snap_count: Number of Snapshot send to FTP Server per Alarm Event [1-15]
  • email_snap_count: Number of Snapshot send by Email per Alarm Event [1-15]
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_chn=11&-snap_count=6&-email_snap_count=6&-ftp_snap_count=6

param.cgi?cmd=getaudioalarmattr

Usage
FunctionSet Audio Detection Parameter
Authorityadmin
Parameter
  • aa_enable: De/Activate Audio Detection [0, 1]
  • aa_value: Sensitivity [10 - 100]
  • aa_time: Minimum Audio Signal Length Threshold [0 - 10]
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

param.cgi?cmd=getaudioinvolume

Usage
FunctionGet the Volume the Audio Input
Authorityadmin
Parameter
  • volume: Audio input volume: 1 - 100
  • volin_type: 0: linear input, 1: microphone input
  • aec: audio encoder: 0, 1
  • denoise: Noise surpression: 0, 1
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&-volin_type=1

param.cgi?cmd=getaudiooutvolume

Usage
FunctionGet the Volume the Audio Output
Authorityadmin
Parameter
  • volume: Audio input volume: 1 - 100
  • volin_type: 0: linear input, 1: microphone input
  • aec: audio encoder: 0, 1
  • denoise: Noise surpression: 0, 1
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=94

param.cgi?cmd=chkwirelessattr

Usage
FunctionGet your Camera´s Search for WiFi Access Points
Authorityadmin
Parameter
  • wf_ssid: SSID (max. 32 CHaracters)
  • wauth: Encryption mode - 0: (no encryption), 1 (WEP), 2 (WPA-PSK), 3 (WPA2-PSK)
  • wf_key: WiFi Key
  • wf_enc: Encryption 0 (TKIP), 1 (AES)
  • wf_mode: Connection Mode 0 (Infra), 1 (Ad-hoc)
Note To test WiFi login first set parameters with chkwirelessattr, then test login with getchkwireless:
  • Check result 0 (failure)
  • Check result 1 (success)
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
  • GET: http://192.168.178.88/param.cgi?cmd=getchkwireless

param.cgi?cmd=getcover

Usage
FunctionGet Privacy Mask Attributes
Authorityadmin
Parameter
  • region: Privacy Mask [1-4]
  • show_[1-4]: [0, 1] De/Activate Mask
  • color_[1-4]: Brightness [0-100]
  • x_[1-4]: X-Coordinate Origin [0-(1920-w)]
  • y_[1-4]: Y-Coordinate Origin [0-(1080-h)]
  • w_[1-4]: Mask Width [1-1920] Pixel
  • h_[1-4]: Mask Height [1-1080] Pixel
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&-region=1&-show=0&-color=f42ee7&-x=0&-y=0&-w=240&-h=240&cmd=setcover&-region=2&-show=1&-color=f42ee7&-x=1173&-y=270&-w=408&-h=228&cmd=setcover&-region=3&-show=0&-color=f42ee7&-x=0&-y=840&-w=240&-h=240&cmd=setcover&-region=4&-show=0&-color=f42ee7&-x=1680&-y=840&-w=240&-h=240

param.cgi?cmd=getftpattr

Usage
FunctionGet INSTAR Cloud Server Parameter
Authorityadmin
Parameter
  • ft_server: FTP Server Address
  • ft_port: FTP Server Port
  • ft_username: FTP Username
  • ft_password: FTP Password
  • ft_mode: FTP Mode Port (0) or Passive (1)
  • ft_dirname: FTP Directory
  • ft_autocreatedir: Automatically create the directory 0 (no), 1 (yes)
  • ft_dirmode: 0 (Create a new Folder every Day), 1 (All Files in One Directory)
  • ft_ssl: FTPS Encryption - 0:None, 1:SSL, 2: TLS
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=192.168.178.1&-ft_port=21&-ft_username=ftpuser&-ft_password=123456&-ft_mode=1&-ft_dirname=.%2F&-ft_autocreatedir=1&-ft_dirmode=1&-ft_ssl=0

param.cgi?cmd=gethttpport

Usage
FunctionGet your Camera´s HTTP Port
Authorityadmin
Parameter
  • httpport: Camera LAN Port
RemarkCamera needs to be manually rebooted after setting the port
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=80

param.cgi?cmd=gethttspport

Usage
FunctionGet your Camera´s HTTPS Port
Authorityadmin
Parameter
  • httpsport: Camera LAN Port
RemarkCamera needs to be manually rebooted after setting the port
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

param.cgi?cmd=getimageattr

Usage
FunctionGet Image Parameter
Authorityadmin
Parameter
  • display_mode: Current 0: black and white mode 1: color mode
  • brightness: brightness [0-100]
  • saturation: saturation [0-255]
  • sharpness: sharpness [0-100]
  • contrast: contrast [0-100]
  • hue: hue: [0-255]
  • wdr: Software Wide Dynamic Range Mode: [on, off]
  • night: Night mode 0 (inactive), 1 (active)
  • shutter: Shutter Speed [0 - 65535]
  • flip: flip: Flip the Image [on, off]
  • mirror: Mirror the Image [on, off]
  • gc: Night illumination, value Range 0=auto, [1-255]=maual
  • ae: Minimum exposure, range 0-65535
  • targety: Exposure [0-255]
  • noise: Low light denoising intensity (0-100)
  • gamma: Gamma 0-3
  • aemode: Auto-Exposure mode, the range [0-2]
    • 0 Automatic
    • 1 Indoor
    • 2 Outdoor
  • imgmode: Image priority mode
    • 0: Frame rate priority
    • 1: Illumination priority
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&-brightness=4&-saturation=3&-contrast=4&-flip=off&-mirror=off&-shutter=1120&-sharpness=4

param.cgi?cmd=getimageattrex

Usage
FunctionGet Extended Image Attributes
Authorityadmin
Parameter
  • display_mode: Current 0 (Black&White), 1 (Colour Mode)
  • wdrauto: Hardware Wide Dynamic Range 0 (Auto), 1 (Manual)
  • wdrautval: Auto WDR Strength [0-2]
  • wdrmanval: Manual WDR Strength [0-255]
  • d3noauto: 3D Noise Reduction Mode: 0 (auto), 1 (manual)
  • d3noval: 3D Noise Reduction Strength: [0-255]
  • gcauto: Signal Gain: 0 (auto), 1 (manual)
  • gcval: Gain Multiplier: [0-255]
  • aemodeex: Exposure Mode
    • Highlight (Exposure) priority
    • Lowlight (Framerate) priority
  • aelowval: Lowlight Intensity [0-255]
  • aehighval: Highlight Intensity [0-255]
  • aeratio: Length Exposure Ratio [0-100]
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getimageattrex
  • GET: http://192.168.178.88/param.cgi?cmd=getimageattrex&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setimageattrex&-wdrauto=0&-wdrautval=2&-d3noauto=1&-d3noval=120

param.cgi?cmd=getinfrared

Usage
FunctionGet IR LED Parameter
Authorityadmin
Parameter
  • infraredstat: IR LED Status - auto, close (deactivated)
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

param.cgi?cmd=get_instar_admin&-index=17

Usage
Authorityadmin
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=get_instar_admin&-index=17
  • GET: http://192.168.178.88/param.cgi?cmd=get_instar_admin&-index=17
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=set_instar_admin&-index=17&-value=1%3B0%3B0%3B0%3B1%3B1

param.cgi?cmd=get_instar_admin&-index=31

Usage
FunctionGet FTP Server Parameter
Authorityadmin
Parameter
  • admin_value31: "[FTP Server];[FTP User Name];[FTP User Password];[FTP Mode];[FTP Directory];[Auto Create Directory];[FTP Directory Mode];[FTP SSL]", e.g "192.168.178.1;21;ftpuser;1234;1;./Kamera;1;0;0";
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=get_instar_admin&-index=31
  • GET: http://192.168.178.88/param.cgi?cmd=get_instar_admin&-index=31&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=set_instar_admin&-index=31&-value=192.168.178.1%3B21%3Bftpuser%3B1234%3B1%3B.%2F%3B1%3B0%3B0

param.cgi?cmd=get_instar_admin&-index=44

Usage
FunctionSet File Length of Manual Recordings
Authorityadmin
Parameter
  • admin_value44: Recording Length in Seconds [60 - 3600] / Set [0] to Deactivate File Splitting
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=get_instar_admin&-index=44
  • GET: http://192.168.178.88/param.cgi?cmd=get_instar_admin&-index=44&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=set_instar_admin&-index=44&-value=600

param.cgi?cmd=get_instar_admin&-index=46

Usage
FunctionOne-Step Pan&Tilt Control
Authorityadmin
Parameter
  • admin_value46: De/Activate One-Step Pan&Tilt Control - [0, 1]
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=get_instar_admin&-index=46
  • GET: http://192.168.178.88/param.cgi?cmd=get_instar_admin&-index=46&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=set_instar_admin&-index=46&-value=0

param.cgi?cmd=get_instar_guest&-index=11

Usage
FunctionGet your Camera´s Time Configuration
Authorityadmin
Parameter
  • guest_value11: UI Language Selector [de, en, fr, cn]
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=param.cgi?cmd=get_instar_guest&-index=11
  • GET: http://192.168.178.88/param.cgi?cmd=get_instar_guest&-index=11&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=set_instar_guest&-index=11&-value=de

param.cgi?cmd=getinternetip

Usage
FunctionGet your Camera´s WAN IP Address
Authorityadmin
Parameter
  • internetip: Get Wide Area Network Address
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getinternetip
  • GET: http://192.168.178.88/param.cgi?cmd=getinternetip&-usr=admin&-pwd=instar

param.cgi?cmd=getioattr

Usage
FunctionSet Alarm Input Parameter
Authorityadmin
Parameter
  • io_enable: De/Activate Alarm Input [0, 1]
  • io_flag: Circuit Nomally Closed N.C. [0] or Normally Open N.O. [1]
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=0

param.cgi?cmd=getlanmac

Usage
FunctionGet your Camera´s LAN MAC Address
Authorityadmin
Parameter
  • lanmac: MAC Address of the LAN Interface
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getlanmac
  • GET: http://192.168.178.88/param.cgi?cmd=getlanmac&-usr=admin&-pwd=instar

param.cgi?cmd=getldcattr

Usage
FunctionGet Lens Distortion Correction
Authorityadmin
Parameter
  • ldc_enable: Image Distortion Correction: 0 (disabled), 1 (enabled)
  • ldc_xoffset: Horizontal Image Offset
  • ldc_yoffset: Vertical Image Offset
  • ldc_ratio: Distortion Correction [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_enable=1&-ldc_xoffset=0&-ldc_yoffset=0&-ldc_ratio=399

param.cgi?cmd=getlightattr

Usage
FunctionActivate / Deactivate Status LEDs
Authorityadmin
Parameter
  • light1_enable: WiFi Status LED - [on, off]
  • light2_enable: Power LED - [on, off]
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getlightattr
  • GET: http://192.168.178.88/param.cgi?cmd=getlightattr&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setlightattr&-light_index=1&-light_enable=on&cmd=setlightattr&-light_index=2&-light_enable=on

param.cgi?cmd=getmdalarm

Usage
FunctionSet Alarm Action Parameter
Authorityadmin
Parameter aname:
  • emailsnap: md_emailsnap_switch [on, off] E-mail Alarm / Send Snapshot
  • snap: md_snap_switch [on, off] Save Snapshot to SD
  • record: md_record_switch [on, off] Save Video to SD
  • ftprec: md_ftprec_switch [on, off] Send Video to FTP Server
  • relay: md_relay_switch [on, off] Alarm Out Relay
  • 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
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=emailsnap
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=snap
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=record
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=ftprec
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=relay
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=ftpsnap
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=sound
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=type
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setmdalarm&-aname=emailsnap&-switch=off&cmd=setmdalarm&-aname=snap&-switch=off&cmd=setmdalarm&-aname=ftpsnap&-switch=off&cmd=setmdalarm&-aname=record&-switch=off&cmd=setmdalarm&-aname=ftprec&-switch=on&cmd=setmdalarm&-aname=type&-switch=off&cmd=setmdalarm&-aname=relay&-switch=off&cmd=setmdalarm&-aname=sound&-switch=off

param.cgi?cmd=getmdalarm&-aname=server2

Usage
FunctionGet Alarm Server [1] Parameter
Authorityadmin
Parameter
  • md_server2_switch: De/Activate Alarm Server2 [off, on]
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=server2
  • GET: http://192.168.178.88/param.cgi?cmd=getmdalarm&-aname=server2&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setmdalarm&-aname=server2&-switch=on

param.cgi?cmd=getmdalarm&-aname=preset

Usage
FunctionGet State of Alarm Position
Authorityadmin
Parameter
  • md_preset_switch: Go to [alarmpresetindex] (Alarm Position) at Alarm Event - [on, off]
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdalarm&-aname=preset
  • GET: http://192.168.178.88/param.cgi?cmd=getmdalarm&-aname=preset&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setmdalarm&-aname=preset&-switch=on

param.cgi?cmd=getmdattr

Usage
FunctionSet Alarm Areas Parameter
Authorityadmin
Parameter aname:
  • m[1, 2, 3, 4]_enable: Dis/Enable Alarm Detection Area 1 - 4: [0, 1]
  • m[1, 2, 3, 4]_x: X-Axis Offset of Alarm Area Origin [0-(1920-w)]
  • m[1, 2, 3, 4]_y: Y-Axis Offset of Alarm Area Origin [0-(1080-h)]
  • m[1, 2, 3, 4]_w: Alarm Area Width [1-1920] Pixel
  • m[1, 2, 3, 4]_h: Alarm Area Height [1-1080] Pixel
  • m[1, 2, 3, 4]_sensitivity: Detection Sensitivity [1 - 100]
  • m[1, 2, 3, 4]_threshold: Detection Threshold (not active)
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getmdattr
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setmdattr&-name=1&-enable=0&-s=50&-x=0&-y=0&-w=1920&-h=1080&cmd=setmdattr&-name=2&-enable=0&-s=50&-x=1680&-y=0&-w=240&-h=240&cmd=setmdattr&-name=3&-enable=0&-s=50&-x=0&-y=840&-w=240&-h=240&cmd=setmdattr&-name=4&-enable=0&-s=50&-x=1680&-y=840&-w=240&-h=240

param.cgi?cmd=getmotorattr

Usage
FunctionGet Pan&Tilt Settings
Authorityadmin
Parameter
  • panspeed: fast (0) - slow (2)
  • tiltspeed: fast (0) - slow (2)
  • panscan: [1-50] - Number of hscans
  • tiltscan: [1-50] - Number of vscans
  • movehome: [on, off] - Go to Center or Postion [initpresetindex] after Restart
  • ptzalarmmask: [on, off] - Deactivate Motion Detection during Pan&Tilt
  • selfdet: De/Activate Calibration (Required for Preset Postions and PTZ Tour)
  • alarmpresetindex: [1-8]; - Alarmposition
  • initpresetindex: [1-8]; - Position Camera goes to after Restart
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&-selfdet=on&-movehome=off&-ptzalarmmask=on&-tiltspeed=0&-panspeed=0&-tiltscan=50&-panscan=50&-value=0&-alarmpresetindex=3

param.cgi?cmd=getnetattr

Usage
FunctionGet your Camera´s Network Configuration
Authorityadmin
Parameter
  • dhcpflag: on: (DHCP enabled), off: (DHCP disabled)
  • ip: 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=

param.cgi?cmd=getntpattr

Usage
FunctionGet your Camera´s Network Configuration
Authorityadmin
Parameter
  • ntpenable: De/Activate NTP Time Adjustment [0, 1]
  • ntpserver: NTP Server Address
  • ntpinterval: NTP Sync Interval in Hours [1 - 12]
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&-ntpserver=0.de.pool.ntp.org&-ntpinterval=1

param.cgi?cmd=getonvifattr

Usage
FunctionGet ONVIF Service Status
Authorityadmin
Parameter
  • ov_enable: 1: ONVIF activated, 0: ONVIF deactivated
  • ov_port: ONVIF Port
  • ov_authflag: 1: ONVIF Login Required, 0: ONVIF Authentication deactivated
  • ov_forbitset:
    • 0: When the time zone setting allows image parameter settings allow
    • 1: When the time zone setting disabled, the image parameter settings allow
    • 2: When the time zone setting allows image parameter settings prohibit
    • 3: When the time zone setting is prohibited, prohibited image parameter settings
  • ov_subchn: Use video channel 11, 12 or 13
  • ov_snapchn: Use video channel 11, 12 or 13 for snapshots
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=1&-ov_forbitset=0&-ov_subchn=12&-ov_snapchn=13

param.cgi?cmd=getourddnsattr

Usage
FunctionGet your Camera´s INSTAR DDNS Configuration
Authorityadmin
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

param.cgi?cmd=getoverlayattr&-region=[0, 1]

Usage
FunctionGet OSD Parameter
Authorityadmin
Parameter
  • region0: OSD time zone, 1: OSD Name region
  • show_[region]: 0 (hidden), 1 (displayed)
  • place_[region]: 0: top, 1: bottom
  • x_[region]: OSD region x coordinate
  • y_[region]: OSD region y coordinate
  • name_[region]: Region 0="YYYY-MM-DD hh:mm:ss", region="Camera Name"
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=1&-show=1&-name=IN-8015FullHD&cmd=setoverlayattr&-region=0&-show=1

param.cgi?cmd=getpirattr

Usage
FunctionSet Passive Infrared Motion Detection Sensor Parameter
Authorityadmin
Parameter
  • pir_enable: De/Activate PIR Sensor [0, 1]
  • pir_flag: Circuit Nomally Closed N.C. [0] or Normally Open N.O. [1]
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=0

param.cgi?cmd=getplancgi

Usage
FunctionSet your Camera to Reboot Automatically
Authorityadmin
Parameter
  • plancgi_enable_2: De/Activate Switch Event to restart Camera at Time see below
  • plancgi_enable_2: [0 - 86399] in seconds = 0:00:00 - 23:59:59 o´clock
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getplancgi
  • GET: http://192.168.178.88/param.cgi?cmd=getplancgi&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setplancgi&-plancgi_enable_2=1&-plancgi_time_2=36000

param.cgi?cmd=getplancgi

Usage
FunctionSet Timer Parameter
Authorityadmin
Parameter aname:
  • plancgi_enable_[0 - 19]: De/Activate Switch Event at Time see below
  • plancgi_time_[0 -19]: [0 - 86399] in seconds = 0:00:00 - 23:59:59 o´clock
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getplancgi
  • GET: http://192.168.178.88/param.cgi?cmd=getplancgi&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setplancgi&-plancgi_enable_3=0&-plancgi_enable_4=0

param.cgi?cmd=getplancgi

Usage
FunctionDefine a Time Window to Switch IR LEDs from off to auto
Authorityadmin
Parameter
  • plancgi_enable_[0, 1]: De/Activate Switch Event at Time see below
  • plancgi_enable_[0, 1]: [0 - 86399] in seconds = 0:00:00 - 23:59:59 o´clock
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getplancgi
  • GET: http://192.168.178.88/param.cgi?cmd=getplancgi&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setplancgi&-plancgi_enable_0=1&-plancgi_enable_1=1&-plancgi_time_0=21600&-plancgi_time_1=64800

param.cgi?cmd=getplanrecattr

Usage
FunctionSetup a Interval Snapshot Series Task
Authorityadmin
Parameter
  • as_snap_enable: Dis/Enable snapshot to SD card: [0, 1]
  • as_snap_interval: Time interval between shots in seconds [1-86400]
  • as_email_enable: Dis/Enable snapshot to Email: [0, 1]
  • as_email_interval: Time interval between shots in seconds [1-86400]
  • as_ftp_enable: Dis/Enable snapshot to FTP Server: [0, 1]
  • as_ftp_interval: Time interval between shots in seconds [1-86400]
  • as_cloud_enable: Dis/Enable snapshot to INSTAR Cloud Server: [0, 1]
  • as_cloud_interval: Time interval between shots in seconds [1-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_type=snap&-as_enable=1&-as_interval=60&cmd=setsnaptimerattrex&-as_type=email&-as_enable=1&-as_interval=300&cmd=setsnaptimerattrex&-as_type=ftp&-as_enable=1&-as_interval=60

param.cgi?cmd=getplanrecattr

Usage
FunctionSet Planned Video Recording Attribute
Authorityadmin
Parameter
  • planrec_enable: Dis/Enable Recording to SD card: [0, 1]
  • planrec_chn: Record Kamera Channel [11, 12, 13]
  • planrec_time: Recoding File Length (15-900seconds)
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_chn=11&-planrec_time=900

param.cgi?cmd=getptztour

Usage
FunctionGet Pan&Tilt Tour Settings
Authorityadmin
Parameter
  • tour_enable: De/Activate PTZ Tour [0, 1]
  • tour_times: Number of Rounds [1 - 50]
  • tour_index: Set Tour Positions to Preset Position [1-8] / [-1] to deactivate Tour Position
  • tour_interval: Set Pause when Tour Position is reached in seconds [60-43200]
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getptztour
  • GET: http://192.168.178.88/param.cgi?cmd=getptztour&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setptztour&-tour_index=0;1;2;-1;-1;-1;-1;-1&-tour_interval=300;300;300;300;300;300;300;300&-tour_times=1

param.cgi?cmd=getrtmpattr

Usage
FunctionGet your Camera's RTMP Port
Authorityadmin
Parameter
  • rtmpport: RTMP Port used byu the Flash Plugin to access the Video Stream
RemarkCamera needs to be manually rebooted after changing state.
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=setrtmpattr&-rtmpport=1935

param.cgi?cmd=getrtspauth

Usage
FunctionGet RTSP Authentication State
Authorityadmin
Parameter
  • rtsp_aenable: 1: RTSP Stream needs Authentication, 0: Authentication deactivated
RemarkCamera needs to be manually rebooted after changing state.
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

param.cgi?cmd=getrtspport

Usage
FunctionGet your Camera´s RTSP Port
Authorityadmin
Parameter
  • rtspport: Real Time Streaming Protocol Port
  • rtpport: Transport port for RTSP Media Stream
RemarkCamera needs to be manually rebooted after setting the port
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

param.cgi?cmd=getscheduleex&-ename=snap

Usage
FunctionSchedule for Interval Snapshot Series
Authorityadmin
Parameter aname:
  • week0: Sunday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week1: Monday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week2: Tuesday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week3: Wednesday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week4: Thursday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week5: Friday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week6: Saturday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?param.cgi?cmd=getscheduleex&-ename=snap
  • GET: http://192.168.178.88/param.cgi?param.cgi?cmd=getscheduleex&-ename=snap&-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&cmd=setsnaptimerattrex&-as_enable=1&-as_interval=60&-as_type=email&cmd=setsnaptimerattrex&-as_enable=1&-as_interval=60&-as_type=ftp

cmd=getscheduleex&-ename=plan

Usage
FunctionSchedule for Manual Recording Task
Authorityadmin
Parameter aname:
  • week0: Sunday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week1: Monday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week2: Tuesday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week3: Wednesday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week4: Thursday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week5: Friday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week6: Saturday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?param.cgi?cmd=getscheduleex&-ename=plan
  • GET: http://192.168.178.88/param.cgi?param.cgi?cmd=getscheduleex&-ename=plan&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setscheduleex&-ename=plan&-week0=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP&-week1=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP&-week2=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP&-week3=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP&-week4=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP&-week5=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP&-week6=PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP

param.cgi?cmd=getscheduleex&-ename=md

Usage
FunctionSet Motion Detection Time Schedule Parameter
Authorityadmin
Parameter aname:
  • week0: Sunday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week1: Monday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week2: Tuesday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week3: Wednesday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week4: Thursday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week5: Friday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
  • week6: Saturday:every 24 hrs divide to half hr is a segment , use P or N to indicate if the alarm is active - [P] means active , [N] means inactive
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getscheduleex&-ename=md
  • 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=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN&-week1=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week2=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week3=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week4=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week5=NNNNNNNNNNNNNNNNPPPPPPPPPPPPPPPPPPPPPPNNNNNNNNNN&-week6=NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

param.cgi?cmd=sdfrmt

Usage
FunctionFormat SD Card
Authorityadmin
Return
  • sdcard: format succeeded.
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

Usage
FunctionUnmount SD Card
Authorityadmin
Return
  • sdcard: stop succeeded.
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

param.cgi?cmd=searchwireless

Usage
FunctionGet your Camera´s Search for WiFi Access Points
Authorityadmin
Parameter
  • waccess_points: Wireless Network Signals
  • wchannel: Channel
  • wrssi: Signal Strength
  • wessid: SSID
  • wenc: Encryption Mode
  • wauth: Authority Mode
  • wnet: Connection mode(router mode, point to point mode)
Remark If waccess_points >1 the CGI will return more values for each variable - Example:
  • 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" ;
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

param.cgi?cmd=getserverinfo

Usage
FunctionGet your Camera Server Variables
Authorityadmin
Parameter
  • model: Camera Model Identifier
  • hardVersion: Hardware Version
  • softVersion: Firmware Version
  • webVersion: WebUI Version
  • startdate: Camera Uptime
  • upnpstatus: UPnP service ok, off, failed
  • facddnsstatus: INSTAR DDNS Status ok, off, failed
  • th3ddnsstatus: INSTAR 3rd Party DDNS Status ok, off, failed
  • platformstatus: Platform Status 0, 1
  • sdstatus: SD Card Status out, Ready, Read only
  • sdfreespace: SD free space,KB
  • sdtotalspace: SD total space,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=getservertime

Usage
FunctionGet your Camera´s Time Configuration
Authorityadmin
Parameter
  • time: Camera Time
  • timeZone: Cameras Time Zone e.g.[Europe%2FAmsterdam]
  • dstmode: De/Activate Daylight Saving Time [off, on]
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&-dstmode=on&-timezone=Europe%2FAmsterdam

param.cgi?cmd=getsmtpattr

Usage
FunctionGet Email Notification Parameter
Authorityadmin
Parameter
  • ma_server: SMTP Server Address e.g. smtp.strato.de
  • ma_port: SMTP Server Port e.g. 25, 587 (TLS) or 465 (SSL)
  • ma_ssl: SSL Encryption 0 (Disabled), 1 (SSL), 2 (TLS) or 3 (STARTTLS)
  • ma_logintype: Enable (1) or Disable (3) Authentication
  • ma_username: SMTP Server Username
  • ma_password: SMTP Server Password
  • ma_from: Sender Email Address
  • ma_to: Receiver Email Address
  • ma_subject: Mail Subject Line
  • ma_text: Mail Content
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_ssl=3&-ma_from=cam%40instar.email&-ma_to=me@gmail.com%3B&-ma_subject=Alarm%20Email&-ma_text=ALARM&-ma_server=mx.instar.email&-ma_port=587&-ma_logintype=1&-ma_username=cam%40instar.email&-ma_password=kunde123

param.cgi?cmd=getsysinfo

Usage
FunctionGet Device ID
Authorityadmin
Parameter
  • devid: Device Model Identifier
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=getsysinfo
  • GET: http://192.168.178.88/param.cgi?cmd=getsysinfo&-usr=admin&-pwd=instar

tmpfs/syslog.txt

Usage
FunctionGet your Camera´s System Log
Authorityadmin
Example
  • GET: http://admin:instar@192.168.178.88/tmpfs/syslog.txt
  • GET: http://192.168.178.88/tmpfs/syslog.txt&-usr=admin&-pwd=instar

param.cgi?cmd=sysreboot

Usage
FunctionReboot your Camera
Authorityadmin
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=sysreboot

sysreset.cgi

Usage
FunctionReset your Camera
Authorityadmin
Example
  • GET: http://admin:instar@192.168.178.88/sysreset.cgi

param.cgi?cmd=testftp

Usage
FunctionGet Test FTP Server Parameter
Authorityadmin
Parameter Result:
  • -0:succeed
  • -1: unknown error
  • -2: no connection to server
  • -3: username or password error
  • -4: path error
  • -5: no connection to server
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=testftp
  • GET: http://192.168.178.88/param.cgi?cmd=testftp&-usr=admin&-pwd=instar

param.cgi?cmd=gettimerpreset

Usage
FunctionGet Park Position Parameter
Authorityadmin
Parameter
  • timerpreset_enable: De/Activate Park Position - [0, 1]
  • timerpreset_index: Select Park Position - [1 - 8]
  • timerpreset_interval: Time before going back to Park Position in seconds - [30 - 900]
Example
  • GET: http://admin:instar@192.168.178.88/param.cgi?cmd=gettimerpreset
  • GET: http://192.168.178.88/param.cgi?cmd=gettimerpreset&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=settimerpreset&-timerpreset_enable=1&-timerpreset_index=1&-timerpreset_interval=600

upgrade.cgi[?-filename=]

Usage
FunctionUpdate your Cameras Software
Authorityadmin
Example

Has to be implemented with POST Method

param.cgi?cmd=getupnpattr

Usage
FunctionCheck UPnP Service Status
Authorityadmin
Parameter
  • upm_enable: 1: UPnP activated, 0: UPnP deactivated
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=0

param.cgi?cmd=getuserattr

Usage
FunctionGet your Camera´s Network Configuration
Authorityadmin
Parameter
  • at_username0: Username for User 1
  • at_password0: Password for User 1
  • at_authlevel0: User Authorisation: admin/user/guest [15, 3, 1]
  • at_enable0: De/Activate [0, 1]
  • at_username1: Username for User 2
  • at_password1: Password for User 2
  • at_authlevel1: User Authorisation: admin/user/guest [15, 3, 1]
  • at_enable1: De/Activate [0, 1]
  • at_username2: Username for User 3
  • at_password2: Password for User 3
  • at_authlevel2: User Authorisation: admin/user/guest [15, 3, 1]
  • at_enable2: De/Activate [0, 1]
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=admin&-at_enable=1&-at_password=instar&cmd=setuserattr&-at_username=user&-at_newname=user&-at_enable=0&-at_password=instar&cmd=setuserattr&-at_username=guest&-at_newname=guest&-at_enable=0&-at_password=instar

param.cgi?cmd=getvencattr&-chn=[11, 12. 13]

Usage
FunctionGet the Video Encoder Attributes for Video Streams 11, 12, 13
Authorityadmin
Parameter
  • bps_[1, 2, 3]:
    • Bitrate CH11 1080p = 512kbps - 4096kbps
    • Bitrate CH11 320p = 512kbps - 2048kbps
    • Bitrate CH11 160p = 90kbps - 512kbps
  • fps_[1, 2, 3]: Framerate:
    • PAL:Range [1 ~ 25]
    • NTSC:Range [1 ~ 30]
  • gop_[1, 2, 3]: Keyframe Interval: gop Range [10 ~ 150]
  • brmode_[1, 2, 3]: Video encode control:
    • 0: fixed bit rate
    • 1: changeable bit rate
  • imagegrade_[1, 2, 3]: 1 (low compression) -6 (high compression)
  • width_[1, 2, 3]: Video width
  • height_[1, 2, 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&-chn=11&-usr=admin&-pwd=instar
  • SET: http://admin:instar@192.168.178.88/param.cgi?cmd=setvencattr&-chn=11&-bps_1=2048&-imagegrade_1=4&-brmode_1=1&-fps_1=20&-gop_1=40

param.cgi?cmd=getvideoattr

Usage
FunctionGet the Video Attributes
Authorityadmin
Parameter
  • videomode: 41: Resolution CH11=1080p, CH12=320p, CH13=160p
  • vinorm: P: 50Hz(PAL) | N: 60Hz(NTSC)
  • wdrmode: Hardware Wide Dynamic Range: 0 (off), 1 (active)
  • profile: h.264 encoder 0: baseline, 1: mainprofile
  • maxchn: Maximum active video channels
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

param.cgi?cmd=getwifimac

Usage
FunctionGet your Camera´s WiFi MAC Address
Authorityadmin
Parameter
  • lanmac: MAC Address of the WLAN Interface
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

param.cgi?cmd=getwirelessattr

Usage
FunctionGet your Camera´s WLAN Configuration
Authorityadmin
Parameter
  • wf_enable: 1 (WiFi enabled), 0 (WiFi disabled)
  • wf_ssid: SSID (max. 32 Characters)
  • wf_auth: 0 (no encryption), 1 (WEP), 2 (WPA-PSK), 3 (WPA2-PSK)
  • wf_key: Key max. 63 Characters (Allowed special characters: &="`\)
  • wf_enc: Key type 0 (TKIP), 1 (AES)
  • wf_mode: 0 (infra), 1 (ad-hoc)
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=3&-wf_key=1234567890&-wf_enc=1&-wf_mode=0

Verwandte Themen:

Mehr