I have 6 different kind of PTZ cameras. Over the years as I've added or replaced them, I've needed to learn their http cgi-bin commands to trigger camera setpoints so when things like doors, windows, mailbox, etc are opened or a motion sensor is triggered, I could move the cameras in view of those locations to those locations. For example, I have a Toshiba IK-WB11A with a 20x optical zoom. When my mailbox is opened, it zooms in so I can see the face of the person opening it and what they're putting in or out.
The down side is that I have either find the API online or use wireshark to reverse engineer it. Since BI already knows the preset/setpont APIs of all the cameras I have, I wanted a way to tell BI from an external app, like Homeseer to move a camera to a particular preset.
This may be doable through the json interface. I haven't even looked at that yet.
But for those issuing simple http commands from other programs, there is a way:
Where x is the setpoint/preset of your camera. i.e to move to setpoint 1, pos = 8. This doesn't appear to be documented and it doesn't appear to have come up here in the forum via searching as a solution. I just guessed that perhaps the documented:
might have pos values beyond {1,2,3,4,5,6,7,100} that could be used to trigger setpoints and it appears to work
The down side is that I have either find the API online or use wireshark to reverse engineer it. Since BI already knows the preset/setpont APIs of all the cameras I have, I wanted a way to tell BI from an external app, like Homeseer to move a camera to a particular preset.
This may be doable through the json interface. I haven't even looked at that yet.
But for those issuing simple http commands from other programs, there is a way:
http://{ip address}:{port}/cam/{short camera name}/pos = {x + 7}
Where x is the setpoint/preset of your camera. i.e to move to setpoint 1, pos = 8. This doesn't appear to be documented and it doesn't appear to have come up here in the forum via searching as a solution. I just guessed that perhaps the documented:
/cam/{cam-short-name}/pos=x Performs a PTZ command on the specified camera, where x= 0=left, 1=right, 2=up, 3=down, 4=home, 5=zoom in, 6=zoom out
might have pos values beyond {1,2,3,4,5,6,7,100} that could be used to trigger setpoints and it appears to work

Last edited: