Using the Management Server to store plugin config, and editing it from the Management Client

I’m making several plugins for Aquaculture feeding cameras for Milestone. It involves knowing several IP addresses per camera, and permanently associating the right camera with the right IPs and credentials. Now that it’s scaling up I can’t simply hardcode GUIDs anymore.

My idea was to add some properties fields for the relevant cameras in the Management Server, and have my plugin read them.

My XProtect plugins will look for a boolean, let’s say, ‘feedCamera == true’, then set up all the XProtect stuff.

The parameters should be able to be altered in the Mangement Client, under the camera item, along with the rest. The cameras themselves are normal PTZ cameras supported out of the box in Milestone.

I want to make a way to define a camera as a feed camera, where it adds all these parameters through some sort of script. Or maybe redefining it as an item type that inherits from the PTZ camera but adds some bells and whistles?

Is this at all possible? Can the o powerful Milestone gods set me on the right path?

Many thanks!

Hi Vegard,

The following samples should demonstrate how you can do this:

https://doc.developer.milestonesys.com/html/samples/AdminTabPlugin.html

https://doc.developer.milestonesys.com/html/samples/AdminTabHardwarePlugin.html

Please get back to us if this does not solve your issue.

Best regards,

Simon

Hey, thanks, Simon. This is exactly what I imagined and looks really promising.