Watchdog¶
/stm.cgi?wdogA¶
Set the watchdog function.
GET /stm.cgi?wdogA=B*C*D*E*F*G*H*I*J*K*L&wdogA=B*C*D*E*F*G*H*I*J*K*L&wdogA=B*C*D*E*F*G*H*I*J*K*L&wdogA=B*C*D*E*F*G*H*I*J*K*L&wdogA=B*C*D*E*F*G*H*I*J*K*L&wdogA=B*C*D*E*F*G*H*I*J*K*L
A
is the index of the watchdog entry, integer1-6
(all 6 must be set in one request - wdog1-wdog6)B
determines whether the watchdog is enabled, integer0-1
C
determines whether the email sending is enabled, integer0-1
-
D
defines which output is controlled, integer0-9
{ "0": "OUT0", "1": "OUT1", "2": "OUT2", "3": "OUT3", "4": "OUT4", "5": "OUT5", "6": "PWM0", "7": "PWM1", "8": "PWM2", "9": "PWM3", }
-
E
is a host to ping, string F
is the number of consecutive ping failures before restarting the output, integerG
is the timeout in seconds for the ping command, integerH
is the time between pings, integerI
is the delay in resuming ping in seconds after restarting the output, integerJ
is the output restart time in seconds, integerK
is the number of consecutive restarts before stopping the watchdog (if set to 0, restarts can be performed indefinitely), integerL
is delay of starting the watchdog function after starting the device, integer
Example:
http://192.168.1.100/stm.cgi?wdog1=1*0*1*ip.com*4*3*30*60*90*5*25&wdog2=0*0*0*ip.com*4*3*30*60*90*5*25&wdog3=0*0*2*ip.com*4*3*30*60*90*5*25&wdog4=0*0*0*ip.com*4*3*30*60*90*5*25&wdog5=0*0*0*ip.com*4*3*30*60*90*5*25&wdog6=0*0*0*ip.com*4*3*30*60*90*5*25