Is it possible to create a MIP driver which declares its own custom device events that are added and enabled by default?
The interconnect driver does this at the hardware and device level where there are events that are added and enabled by default and they cannot be removed.
MIP drivers built for sensors may potentially have dozens of custom events which always make sense to enable by default as those events are the primary purpose of the device. But I can’t find anything in the driver framework docs to suggest it is possible to make these events enabled by default. As a result, it becomes a job for the customer to manually add each event one at a time.
It’s possible to use the Set-VmsDeviceEvent cmdlet from the MilestonePSTools powershell module to enable events in bulk, but that’s an added step and potentially new unfamiliar territory.
Another option is to develop a “configuration tool” using MIP SDK to help automate those configuration steps (optionally including adding the hardware). But that would require additional development effort on top of the MIP driver, and for the customer to use an additional application to handle onboarding devices.