Reset stats remotely http

bishop20012

Young grasshopper
Joined
Dec 29, 2017
Messages
36
Reaction score
11
Greetings,

Is there a way to reset the stats of all your cameras remotely with a rest command or something?

Thanks,
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,680
Reaction score
14,041
Location
USA
Using the JSON API, you can.

1703114721050.png

UI3 does not have a button for it, but can still make it a little easier for you. Open UI3, then open the browser developer tools, and paste ExecJSON({ cmd: "camlist", reset: 1 });
 

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
16,863
Reaction score
39,237
Location
Alabama
In BI's HTTP commands there's:
Code:
http://BI-Server-IP:BI-Server-Port/admin?camera=CameraShortName&reset&user=Username&pw=Password
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,680
Reaction score
14,041
Location
USA
Yeah TonyR's answer should be easier to work with, but I believe secure authentication will need to be disabled.
 
Top