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
Ais the index of the watchdog entry, integer1-6(all 6 must be set in one request - wdog1-wdog6)Bdetermines whether the watchdog is enabled, integer0-1Cdetermines whether the email sending is enabled, integer0-1-
Ddefines 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", } -
Eis a host to ping, string Fis the number of consecutive ping failures before restarting the output, integerGis the timeout in seconds for the ping command, integerHis the time between pings, integerIis the delay in resuming ping in seconds after restarting the output, integerJis the output restart time in seconds, integerKis the number of consecutive restarts before stopping the watchdog (if set to 0, restarts can be performed indefinitely), integerLis 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