PTZ Tours
AnsweredHi,
I understand that a tour can be set to start 120s after inactivity from a preset. Can this time be adjusted?
Or, if the home option is not set, and a user moves the PTZ to a position for an hour or so to watch a car, how can they re-start the tour? I mean, from Android App. I can see fixed presets can be selected for PTZ positions, but no tour can be selected to start? And I could not see any way to create a soft button to start a tour either?
Any help appreciated...
-
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}
-
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. -
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
Please sign in to leave a comment.
Comments
4 comments