Tasmota Auto Off

This took me a while the first time, then found I had to do it again and had to look it up once more. One kind person had already worked this out and it led me to this command in the tasmota console:

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


Rule1 1

To enable the rule.

This rule will turn off thetasmota socket 30 minutes after it is turned on.

Of course, I should probably be doing that with Home Assistant now. Then I don’t have to go looking for the rule.

So that is what I did!