Toggle Auto Tracking via http

DarkHelmet

Getting the hang of it
Joined
Feb 26, 2017
Messages
167
Reaction score
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:

Wonderbret

n3wb
Joined
Jul 27, 2020
Messages
2
Reaction score
0
Location
California
I'm looking for the API call to check if my camera is currently tracking an object. Do you happen so know this call?
 
Top