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`
panspeed=0;tiltspeed=0;panscan=1;tiltscan=1;movehome="off";ptzalarmmask="off";ptzrfmask="off";selfdet="off";alarmpresetindex=1;initpresetindex=1;

GET: `http://192.168.2.168/param.cgi?cmd=getmotorattr&-usr=admin&-pwd=instar`
panspeed=0;tiltspeed=0;panscan=1;tiltscan=1;movehome="off";ptzalarmmask="off";ptzrfmask="off";selfdet="off";alarmpresetindex=1;initpresetindex=1;

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=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
timerpreset_enable=0;timerpreset_index=1;timerpreset_interval=9600;

GET: http://192.168.2.168/param.cgi?cmd=gettimerpreset&-usr=admin&-pwd=instar
timerpreset_enable=0;timerpreset_index=1;timerpreset_interval=9600;

SET: http://admin:instar@192.168.2.168/param.cgi?cmd=settimerpreset&-timerpreset_enable=1&-timerpreset_index=1&-timerpreset_interval=600