We are adding some new events to the plugin. But the event logs show they are not expected:
2020-09-29 10:12:23 AM UTC-05:00 Error AccessControlSystem Unable to handle EventOccurred event from access control system plugin. ACEvent.EventTypeId ‘Event_17’ is not expected for ‘MP - 1.1.2.I8’.
2020-09-29 10:12:40 AM UTC-05:00 Error AccessControlSystem Unable to handle EventOccurred event from access control system plugin. ACEvent.EventTypeId ‘Event_18’ is not expected for ‘MP - 1.1.2.I8’.
I see both events have been add to the configuration and their source type has MP in the Access Control Events tab in the Management Client.
Could someone please tell me what are missing? Thank you very much.
OK, I have tweaked some configuration settings. The error messages are gone. But I still cannot see any new events in the Smart Client. My MIP logs show,
2020-09-30 10:44:25.790 UTC-05:00 Info MIPPluginTrace Event OOManagers.EventManager.EventsOccurred signalled
2020-09-30 10:44:25.790 UTC-05:00 Info MIPPluginTrace Event OOManagers.EventManager.EventsOccurred handled
The XProtect event logs don’t have any related information even I have enabled Debug in the config.
Any help would be greatly appreciated. Thank you very much.
lisber
(Lisber Gouveia de Pontes (Milestone Systems))
3
Hi Louis,
I’ve been trying to raised a custom event type from a AC plugin, here’s what I’ve found. I believe it might help you to solve your problem.
AC is prepared to handle ‘AC systems’ eventTypes, and it’s advisable that those event types are retrieved at the AC configuration time (in MC)
Once the AC system is configured in order to process the events the method ‘FireEventsOccurred’ should be called:
Dll: VideoOS.Platform.AccessControl
Abstract class: ACEventManager
Thus, I did a small test, I’ve added a ‘Custom’ AC Event called 'Hello World’ and I’ve associated it to the Door Nº1: Thus, while configuring the AC System that event should be visible in MC:
To sum up, if the AC system is setting up al the Event Types at the MC configuration AND the ‘FireEventsOccurred’ method is called) those events should be visible on the SC.
Hint:
Check if the events are present in the table: “[Central].[Event_Active]” (They should be persisted there):
Thank you very much for replying my question. What I was trying to do was to capture events from devices I added. They are not doors.
Because I couldn’t find a way to save my configuration in the Smart Client, sometimes I missed some devices during past tests. That’s the root cause why I didn’t see the events. I already asked a question about saving configuration in this thread: