One option for you to consider:
- Use the "notes" filter matching criteria to search for "detected:" text. If that text is found, that means the ES found an object for that event
- If it matches use
%EIMOD% to include the detected image.
I also saw your other post in the mobile forum:
- If you are looking to offload GPU detection to one server and run ES in another with ZM, then mlapi is the way to go
- If you haven't already, feel free to read up on the
Key Principles document for the ES. You'll find several places where you can insert your custom script to send out emails or pretty much do anything else, including, say, using a service like pushover which in turn can send notifications to as many devices as you want. If you use pushover, you could also have multiple servers send a notification to the same device (but pushover delivers the image to a pushover app, not zmNinja). the attributes of interest are api_push_script, event_start_hook_notify_userscript, event_end_hook_notify_userscript
TBH its pretty simple to add an ability for multiple ESs "reporting" to one master ES which would then notify zmNinja. I never got around to doing it.
All that being said, I no longer maintain the ES or the ML code and won't be adding/changing it. There are some other variants/extensions of the code I've seen being posted, but have never used/looked into them, so I can't speak for what they do/don't. If you are upto making changes to the ES/ML part, feel free to do PRs for the ZM authors to consider merging.