The Features Menu :: Pan & Tilt


param.cgi?cmd=getmotorattr

Get Pan&Tilt Settings

  • 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.2.168/param.cgi?cmd=getmotorattr`
GET: `http://192.168.2.168/param.cgi?cmd=getmotorattr&-usr=admin&-pwd=instar`
SET: `http://admin:instar@192.168.2.168/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=getmdalarm&-aname=preset

Get State of Alarm Position

  • md_preset_switch: Go to [alarmpresetindex] (Alarm Position) at Alarm Event - [on, off]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getmdalarm&-aname=preset
GET: http://192.168.2.168/param.cgi?cmd=getmdalarm&-aname=preset&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setmdalarm&-aname=preset&-switch=on

param.cgi?cmd=gettimerpreset

Get Park Position 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.2.168/param.cgi?cmd=gettimerpreset
GET: `http://192.168.2.168/param.cgi?cmd=gettimerpreset&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=settimerpreset&-timerpreset_enable=1&-timerpreset_index=1&-timerpreset_interval=600

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

One-Step Pan&Tilt Control

  • admin_value46: De/Activate One-Step Pan&Tilt Control - [0, 1]

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=get_instar_admin&-index=46
GET: http://192.168.2.168/param.cgi?cmd=get_instar_admin&-index=46&-usr=admin&-pwd=instar
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=set_instar_admin&-index=46&-value=0