Scripting Layout Position

Joined
Oct 30, 2020
Messages
3
Reaction score
2
Location
Barto, PA
Hey all. New to the forum, I've been using this site for a reference for a long time now.
Is there a way to script "Move to first layout position"? We want the camera to PTZ to its position when told to (via DI), but we want the picture to enlarge as well.. I'm open to any suggestions.
Thanks in advanced.
 

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
7,005
Reaction score
9,653
Location
Alabama
@mynameisgreg , once you've made that preset in cam using the cam's webGUI (including zoom), as indicated by @samplenhold , you should be able to find a HTTP command to call it up such as " /admin?camera=x&preset=n" which calls up " Goto PTZ preset n on camera x (short name)"

These and MUCH more can be found (where else but) in BI's built-in Help under "Administration" ==>> HTTP Interface"
 
Joined
Oct 30, 2020
Messages
3
Reaction score
2
Location
Barto, PA
Got it. thank you!
I ended up passing for "on alert":
10.30.30.148:81/admin?camera=ptz&priority=1&user=username&pw=password

and for "On reset" passing: &priority=0

Then, I assigned each camera a global DIO bit (2,4,8,16) and pass this in our VB script:

Next step is getting it to trigger using the cameras DIO not a global DIO bit.
 
Top