For anyone looking here in the future: I modified your script @johnnyletrois to not post MQTT events, but instead trigger Synology Surveillance Station to start recording.
This works very well, with the only issue that Surveillance Stations does not give you push notices, because it’s currently...