This is my personal script that I've been using in my current setup. I've been trying to make this work with the built-in CURL command of AgentDVR but it just doesn't. Luckily, AgentDVR has a feature where one can add their own bash/bat script to run a command. You don't need a subscription to make this work.
- Instruction for the script are in the script.
- Copy the file inside AgentDVR/Commands/
- Open AgentDVR Web UI
- Edit the IPCam you want to have this command.
- Navigate to Actions > Add > Task
- Under Task, Choose Execute Command
- With File, choose the filename you chose for the file in 2.
- Under Parameters, add these: {0:H:mm:ss} {AI} {BASE64IMAGE} {NAME} then click OK
- These parameters corresponds to the tags in the script with $1, $2 etc..
- Under If, if you want to test, you can choose Manual Alert, in my case, I'm choosing AI: Object Found
- OK, then OK.