The Features Menu :: Pan & Tilt Tour


param.cgi?cmd=getptztourattr

Get Pan&Tilt Tour Settings

  • 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]
  • tour_interval: Set interval to remain at each position in seconds [60-43200]
  • tour_atboot: Start tour after reboot

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getptztourattr

cmd="getptztourattr";
tour_index="3,1,5";
tour_interval="60,900,60";
tour_times="11";
tour_atboot="0";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getptztourattr&user=admin&pwd=instar

cmd="getptztourattr";
tour_index="3,1,5";
tour_interval="60,900,60";
tour_times="11";
tour_atboot="0";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setptztourattr&tour_index=3,1,5&tour_interval=60,900,60

cmd="setptztourattr";
response="200";

param.cgi?cmd=getptztourtimerattr

Get Pan&Tilt Tour Schedule Parameter

  • enable: De/Activate PTZ Tour Schedule [0, 1]
  • index: Comma separated list of all positions used in the tour.
  • times: Corresponding list of times of the day the positions from the list above should be used (0s = 00:00:00 - 86340s = 23:59:00) and days of the week from Mon - Sun, e.g. take a snapshot at 10 o'clock (36000s) every:
    • Mon: 36000-1
    • Tue: 36000-2
    • Wed: 36000-4
    • Thu: 36000-8
    • Fri: 36000-16
    • Sat: 36000-32
    • Sun: 36000-64
    • Mon-Tue: 36000-3
    • Mon-Tue,Sun: 36000-67
    • Mon-Sun: 36000-127

Example

GET: http://admin:instar@192.168.2.168/param.cgi?cmd=getptztourtimerattr

cmd="getptztourtimerattr";
enable="1";
index="3,1";
times="36000-16,12000-16";
response="200";
GET: http://192.168.2.168/param.cgi?cmd=getptztourtimerattr&user=admin&pwd=instar

cmd="getptztourtimerattr";
enable="1";
index="3,1";
times="36000-16,12000-16";
response="200";
SET: http://admin:instar@192.168.2.168/param.cgi?cmd=setptztourtimerattr&enable=1

cmd="setptztourtimerattr";
response="200";