Skip to content

Instantly share code, notes, and snippets.

@e-bits
Created January 4, 2022 18:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save e-bits/d013d4a796fac23b2525a0d10b107627 to your computer and use it in GitHub Desktop.
Save e-bits/d013d4a796fac23b2525a0d10b107627 to your computer and use it in GitHub Desktop.
Automatically Switch off Power after a given time in Tasmota Firmware.

Thanks @bentolor for guiding me into right direction: arendst/Tasmota#8984 (comment)

Example for automatically disabling Power after 10minutes or 600seconds:

Rule1  ON Power1#state=1 DO RuleTimer1 600 ENDON ON Rules#Timer=1 DO Power1 Off ENDON
Rule1 1

Each line needs to be execute separatly in Tasmota console. Tested on SonOff BasicR2 with Tasmota 10.1.0 and it's working perfectly fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment