New ZoneMinder API

Hi

I installed dlandon’s docker zomeminder yesterday and I’ve enabled mqtt in the zmeventnotification.ini

I was wondering if there is an easy way to trigger a ‘force alarm’ event on a monitor to trigger a recording in ZM from home assistant?

I’d like to use home assistant sensors to decide when to record video, rather than using the motion detection in zoneminder.

Thanks
Mike

Edit - I found this but I’d like an easier method :smiley:

Edit 2 - I think this might be the way to go. --> https://gist.github.com/swilson/89096c289d07fdf7d5d92796354a7b19