Toggle Auto Tracking via http

DarkHelmet

Getting the hang of it
Feb 26, 2017
166
66
Does anyone know how to toggle a Smart Plan on or off via a simple http command? The Dahua API documentation is super old and I can't find any reference to it. Specifically, I want to be able to toggle Auto Tracking on or off with a SD50225U.

edit for anyone who sees this in the future:
First I opened Chrome's network monitor and toggled the option on and off in the cam UI. I saw it was using VideoAnalyseGlobal (which doesnt even exist in the current API docs)
Then I did http://[user]:[pass]@<ip>/cgi-bin/configManager.cgi?action=getConfig&name=VideoAnalyseGlobal
which showed me the setting that was changing:
On:
Code:
VideoAnalyseGlobal[0].Scene.Type=IntelliTrack
Off:
Code:
VideoAnalyseGlobal[0].Scene.Type=

knowing that, I could toggle as such-
On: http://[user]:[pass]@<ip>/cgi-bin/configManager.cgi?action=setConfig&VideoAnalyseGlobal[0].Scene.Type=IntelliTrack
Off: http://[user]:[pass]@<ip>/cgi-bin/configManager.cgi?action=setConfig&VideoAnalyseGlobal[0].Scene.Type=0
 
Last edited: