Skip to content

Instantly share code, notes, and snippets.

@justintime
Last active January 3, 2024 18:04
Show Gist options
  • Save justintime/44346d410e62c3909ff071e8aa793ca5 to your computer and use it in GitHub Desktop.
Save justintime/44346d410e62c3909ff071e8aa793ca5 to your computer and use it in GitHub Desktop.
Tasmota Watchdog
Rule1
ON system#boot do Var1 3 ENDON
ON system#boot do Var2 0 ENDON
ON Var1#State>1439 DO Var1 1439 ENDON
ON Time#Minute|%var1% DO backlog WebQuery http:/www.google.com/ GET ENDON
ON WebQuery#Data$!Done DO backlog Add2 1 ENDON
ON Var2#state >= 2 DO backlog Mult1 2; Power1 0; Delay 10; Power1 1; Var2 0 ENDON
ON WebQuery#Data=Done DO Var1 3; Var2 0 ENDON
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment