mirror of https://github.com/arendst/Tasmota.git
add sivat timer update
This commit is contained in:
parent
1f860deb02
commit
dbe91e5a1a
|
@ -33,6 +33,12 @@ const char HTTP_SCRIPT_ROOT[] PROGMEM =
|
||||||
"la('&sv='+ivar+'_'+par);"
|
"la('&sv='+ivar+'_'+par);"
|
||||||
"rfsh=0;"
|
"rfsh=0;"
|
||||||
"}"
|
"}"
|
||||||
|
"function sivat(par,ivar){"
|
||||||
|
"rfsh=1;"
|
||||||
|
"par = par.slice(0, 2) + par.slice(3);"
|
||||||
|
"la('&sv='+ivar+'_'+par);"
|
||||||
|
"rfsh=0;"
|
||||||
|
"}"
|
||||||
"function pr(f){"
|
"function pr(f){"
|
||||||
"if(f){"
|
"if(f){"
|
||||||
"clearTimeout(lt);clearTimeout(ft);"
|
"clearTimeout(lt);clearTimeout(ft);"
|
||||||
|
|
Loading…
Reference in New Issue