Skip to content

Instantly share code, notes, and snippets.

@qguv
Last active January 31, 2019 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qguv/1229fc9ddb801114a3cdc47861f46833 to your computer and use it in GitHub Desktop.
Save qguv/1229fc9ddb801114a3cdc47861f46833 to your computer and use it in GitHub Desktop.
sonoff-tasmota periodic short relay
poweronstate 0
rule1
on system#boot do
ruletimer1 4
endon
on rules#timer=1 do backlog
ruletimer2 1;
power1 1;
endon
on rules#timer=2 do backlog
ruletimer1 4;
power1 0;
endon
rule1 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment