Last active
March 24, 2024 17:03
-
-
Save ccaum/5ab72a035a7a8b8cf3155c46b2d67654 to your computer and use it in GitHub Desktop.
This Tasmota rule will automatically turn on the switch if the humidity rises more than 65% and stay on a minimum of 20 minutes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backlog switchmode 1; poweronstate 0; TelePeriod 10; | |
Rule1 | |
on tele-SI7021#humidity>60 do backlog RuleTimer1 1200; power 1 endon | |
on power1#state do RuleTimer1 1200 endon | |
on Rules#Timer=1 do backlog RuleTimer1 0; power 0 endon | |
Rule1 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Carl, Where can i add this rule? Possible to paste to the ESP32 Tasmota Console and run like a code or i can upload like a file and add the rule to the booting proccess? Can i add a line like max time to run some electric motor doesn't like the 0-24 working. Thank You