As per: NodeJS Module: node-dahua-api psyciknz/CameraEvents This is a python service I run in docker. One of the first I wrote from scratch, so the documentation is probably a little light. I've updated the readme for some run information, (git clone, python CameraEvents.py). And will figure out making the docker image automatically (this is all learning to me). The main things it can do are to convert all VideoMotion events and IVS events into switches that can then be read by OpenHAB and HomeAssistant (or anything else that uses MQTT). IT also has the ability to pull a snapshot from the camera and post that as binary data to mqtt.