How to UpdateHardware on devices with the MIP SDK without MIP drivers?

When using InvokeMethod with MethodId UpdateHardware, I’m getting this error:

VM067001: Update hardware is only supported for MIP drivers

The error also shows in the ConfigApiClient example.

In the management client, I can update hardware data without problems on the same devices that I receive this error for.

I’m doing changes directly on multiple devices which will expose new events that I want to use in XProtect. Is there a way, using the MIP SDK, to Update hardware data for multiple devices?

/Daniel

Quick question: What product and version is the XProtect VMS?

I’m using XProtect Corporate 2022 R3

Hi, you are correct in that this functionality is not currently available in the Configuration API or the REST API.

I’m looking into what it would take to enable this functionality, I will get back to you as soon as I have a better idea on whether this is something we can do or not.

Best regards,

Simon Rønneberg

Hello there,

I was wondering if there’s any updates regarding this?

Thanks,

/Daniel

This answer was not correct. I found that the change is already implemented. See my “I have good news..” post below ..

We have made a request for enhancement. However, no decision has been made to prioritize this for development. I can only say that there will be no change to the functionality in the upcoming 2023R3 release.

I understand. Thanks for the reply

I have good news. This was implemented and released with 2023R1.

--

Configuration API

  • ReplaceHardware method has been added to Hardware items which makes is possible to update the configuration after hardware has been physically replaced. It can also be used to change the driver used for the hardware.

--

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/mip2023r1_intro.html&tree=tree_home.html

These are good news indeed! It seems this would work for us.

Thanks!

/Daniel