Schedule a PTZ Tour
AnsweredHi guys - We have NX Witness up and running with 8 cameras. 2 fisheye and 2 PTZ and the recording and playback etc is amazing.
We are trying to see if we can schedule a PTZ Tour but are having issues.
A) In the actions we can see PTZ Presets but not PTZ tours so thats problem one
B) We can't workout how to have it schedule/time based only so we can have the tour start at 6pm and stop at 6am - I know you can set a schedule for triggers but what trigger do we use so that its always valid so the time becomes the only trigger??
-
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). -
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.
-
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.
Please sign in to leave a comment.
Comments
3 comments