Hi,
I’ve been trying to make a MIP plugin that connects to my own system using the Access Control sample and I just can’t understand the logic behind it and was wondering if you could tell me if my approach is actually correct.
I have my own server running on another machin than the XProtect system. On it i have a configuration with controllers and doors.
I thought of having a background plugin which would connect to my own server and retrieve all access control events.
In the management plugin, I created 3 ItemManager, one for my server, one for my controllers and one for my doors. On each item node, I recreate my servers configuration. My ItemManagers ressembles the ones in your sample, each of them having a related camera and event. They listen for messages from the background plugin to trigger those events.
Each of these events is supposed to send an alarm when triggered.
I want to know if that approach seems right to you? Or should I be making an ACMIP plugin?
If it is, can you explain to me how am I suppose to retrieve my server Url and use it in the Background Plugin?
And how can I link my custom events to alarms in enterprise?
Do you have an example of the Access Control plugin actually connecting to a system on a remote server that I could use?
I add to this message a sample of what I’m trying to do, using a xml file to imitate the connection to my server, maybe this will make my questions a bit clearer.