PTZ Tours

Answered

Comments

4 comments

  • Avatar
    Norman - Nx Support

    Hi Tristan Stania,

    Currently, there is no option to adjust this time to start a tour after inactivity.

    If they want to restart the tour via the Nx Mobile App, you can use a soft trigger to do an API request.

    http://<serverIp>:7001/api/ptz?command=GetToursPtzCommand&cameraId={<cameraId>}

    For example:

    http://localhost:7001/api/ptz?command=GetToursPtzCommand&cameraId={fd254d46-c9d8-11eb-b8bc-0242ac130003}

    This way you can collect the applicable Tour ID and this enables you to set up a Do HTTP request in the rules engine combined with a Soft Trigger as the action.

    The following URL can be used:

    http://<serverIp>:7001/api/ptz?command=ActivateTourPtzCommand&tourId={<tourId>}&cameraId={<cameraId>} 

    For example:

    http://localhost:7001/api/ptz?command=ActivateTourPtzCommand&tourId={aa254d46-c9d8-22eb-b8bc-0242ac130de3}&cameraId={fd254d46-c9d8-11eb-b8bc-0242ac130003} 

     

    0
    Comment actions Permalink
  • Avatar
    Tristan Stania

    Appreciate that. Do you know if there is a way to set a delay for the action from the soft trigger? I.e. action from soft trigger begins one hour after it's triggered
    Or, is it possible to have a regular trigger every hour to run that action

    0
    Comment actions Permalink
  • Avatar
    Norman - Nx Support

    Hi Tristan Stania,

    There is no option to delay the actions.

    To execute something, you could use a cronjob on the OS level to execute an HTTP request.
    If you use Windows, you can use the Task Scheduler.

    0
    Comment actions Permalink
  • Avatar
    Tristan Stania

    Thanks Norman. The API calls work a treat.

    - For tours, is it possible to set the delay longer than 60s at each preset? maybe setting via API?

    - Under the advanced tab there is a section called imaging. Can I ask how the brightness works? Does this adjust the camera exposure? I.e. ISO/Shutter Speed etc

    0
    Comment actions Permalink

Please sign in to leave a comment.