Running it inside this ZM docker that is geared toward unraid but should work on Linux Ubuntu.
You have to setup a userscript.sh to install prerequisites but it does work and seem to be pretty quick and send the MQTT info about what object was detected.
@faspina Can you go into more details on your setup, specifically what you are installing via userscript.sh? I am running the same docker build, but am not seeing events on the zoneminder mqtt channel.
the userscript.sh is only needed if you want object detection. if you just want mqtt message when there is motion alert from zoneminder. Make sure you turn on the mqtt option in the zmeventnotification.ini file.
Read this thread in the unraid forum regarding using the docker with zmeventnotification.