How to send PTZ HOME command to the camera using MIP SDK

Hi,

I am creating a PTZ service for milestone in .NET. I am referencing the sample hosted on your github.

link - https://github.com/milestonesys/mipsdk-samples-component/blob/main/PTZandPresets/MainForm.cs

In this example, I could not find details on how to send HOME configuration command to the camera. I am able to do PAN/TILT/ZOOM/Center but unable to find anything for Home option.

Please let me know how to set this command.

Have a look at “/cameras/{id}/ptzPresets:” in openapi.yaml. I’d use the GET function to see if there is a Home preset and then try PUT to see if I could change it that way.

Hi @John Edens (Stephen F Austin State University)​ I think you are talking about MIP API but I am looking for a solution in MIP SDK.

The messages you can use for controlling PTZ does not include a message for a goto home position. It is not possible to send a message or other form of command to do this.

Instead, as a workaround, you might be able to use a PTZ preset (as Home). If you run the sample, you can see how you can use and “trigger” PTZ Presets -

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/ptzandpresets/readme.html&tree=tree_2.html