How to get motion trigger events from Dahua NVR into HA?

Have a Dahua NVR with 5 cameras. Would like to get motion trigger events from it to HA so that can assign some actions to them.
I saw a number of posts but cannot work it out if it was done or not

I works for me successfully for couple of months now.

How do I set this up in HA? Very new to Docker and all

You run it as docker container and communicate with HA through MQTT