Page 1 of 1

Customize PTZ Script / Buttons

Posted: Sat Apr 24, 2021 10:05 am
by JasonBorn
Hi,
i got three PTZ Hikvision cameras and want to start a patrol drive by a script each camera by pressing a button - for example "wake up". I would "abuse" the "wake up" button to start the patrol.
That wouldn't be a problem if i got only one camera. But on 2+ i need more HikVision control scripts.
Is there an easy way to add this script for each cam?

Re: Customize PTZ Script / Buttons

Posted: Sun Apr 25, 2021 2:40 am
by iconnor
Why not just use presets. tell it to go to preset 1, then to preset 2...

Re: Customize PTZ Script / Buttons

Posted: Sun Apr 25, 2021 11:44 am
by alabamatoy
The Amcrest cameras have this functionality built into the new ones, its called "tour". But it has occurred to me that it could be very useful to have, and not all the difficult to code, a PTZ script function that would allow input of a wait time (the time to stay put on a given preset) and the presets to use (1, 3, 4, 7 and 10 for example) and have it just send the ordered PTZ preset after the specified wait time, and start the list over again after its done.

This caused me to wonder how long the little transmission motor and gears in the camera would last.....

Re: Customize PTZ Script / Buttons

Posted: Sun Apr 25, 2021 7:50 pm
by JasonBorn
iconnor wrote: Sun Apr 25, 2021 2:40 am Why not just use presets. tell it to go to preset 1, then to preset 2...
I wanna press one button and the ptz should drive to (for example) preset 1 - wait 5 seconds, preset 4 - wait 5 seconds etc.
My script would do this but i havnt found an easy way for several ptz's.
New (or more expensive) hikvision cams got this feature on its own. But not the cheap ones.

Re: Customize PTZ Script / Buttons

Posted: Sun Apr 25, 2021 7:53 pm
by JasonBorn
alabamatoy wrote: Sun Apr 25, 2021 11:44 am The Amcrest cameras have this functionality built into the new ones, its called "tour". But it has occurred to me that it could be very useful to have, and not all the difficult to code, a PTZ script function that would allow input of a wait time (the time to stay put on a given preset) and the presets to use (1, 3, 4, 7 and 10 for example) and have it just send the ordered PTZ preset after the specified wait time, and start the list over again after its done.

This caused me to wonder how long the little transmission motor and gears in the camera would last.....
Thats exacly what i want. User paranoid helped me with a ptz script for it. But now i need the "patrol" or "tour" for several ptz cameras