Tasmota Rule Commands

Greglsh

Senior Member
Joined
Dec 27, 2009
Messages
921
Reaction score
142
Location
Durban
Hi

I wonder if someone can help, I have a smart plug that runs Tasmota 9.4.0. I have my fridge plugged into this. What I want to do is if the power goes off, then lets say 1 hour later it returns, I only want the switch to turn on 2 minutes after the power has returned. I did find a rule on the internet but this did not seem to work. I also found you had to enable timers in Tasmota.

Had a power issue this morning for 2 hours, power back and the switch never turned on? Had to manually switch it on from the browser window.

This is the command I used
Rule1 ON Power1#Boot DO RuleTimer1 60 ENDON ON Rule#Timer=1 DO Power on ENDON

Edit: got it working with this rule (was missing the s on Rules#Timer=1)
rule1 on Power1#Boot do ruletimer1 60 endon on Rules#Timer=1 do Power on endon
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X