Schedule a PTZ Tour

Answered

Comments

3 comments

  • Avatar
    Matthew Beechey

    We have since done the tour scheduling in the camera's settings (They are Dahua) - The only problem there is they'll probably be out by an hour come daylight savings ending but we'll see if that works or not. Its also going to be interesting if the cameras motion detection is triggered by the cameras tour or if its smart enough not to trigger motion when its panning.....

    Still keen to know how we do a time based event though or am I barking up the wrong tree and anything that is purely time scheduled you would do in Camera (Aside from recording schedules etc).

    0
    Comment actions Permalink
  • Avatar
    Sergey Yuldashev

    Hello Matthew,

    The only thing I could recommend you is using Nx Witness API to activate the PTZ tour using the command:

    api/ptz?command=ActivateTourPtzCommand&cameraId=<cameraId_value>&tourId=<tourId_value>

    The tour Id values could be retrieved with a command:

    api/ptz?command=GetToursPtzCommand&cameraId=<cameraId_value>

    Unfortunately right now there are no scheduled/time based events in the Nx Witness event engine so you would have to use some 3rd party scheduler. E.g. sending the above commands with curl running by the cron job or a Windows Task Scheduler.

    0
    Comment actions Permalink
  • Avatar
    Matthew Beechey

    Thanks Sergey - I'll have a look at the API manual as it sounds like there might be some good opportunities to customise things and add some smarts. As I said above once I realised we could do it in Camera I realised that was a smarter idea anyway so sometimes its just coming at things from a different angle. I'm new to security systems in general and I've been roped into helping with this from an IT background which at the end of the day security systems are more IP based computer systems than anything now but it still pays to have a background in the history of it like anything.

    0
    Comment actions Permalink

Please sign in to leave a comment.