The user-defined event My UserDefined Event is being triggered fine, based on the rule I show in the screenshot.
I’m listening for and successfully receive this event in the Event Server where I’ve registered a handler on NewEventIndication.
The problem is that it does not contain any information about the camera that was responsible for indirectly triggering it. The Source is the site itself. I even printed the raw Message given to the handler as the first parameter and it contains no information that can help me identify the camera. I’m on XProtect Essentials+ 2019.
What I’m trying to do is listen to various kinds of system, device etc events (in this case Motion Started) that are triggered against cameras. And by creating a user-defined event this way, make it simpler for the user of the plugin, who can then just create rules like this and customize exactly what events trigger the user-defined event. So a sort of common interface; the plugin will only listen for this user-defined event.
I also tried to ditch this approach and added an item picker on the plugin’s Management Client UI which the user can click on and select the events it wants the plugin to listen. But the item picker never allows selecting system, device, analytics etc events. I even made the item picker without any KindFilter (so no filter)…and still no event item was shown in the select list.
Any help would be appreciated.
