Revision [7639]
This is an old revision of TasmotaBathroomFanRules made by ZorrUno on 2021-11-17 05:34:56.
rule1 on button3#state=2 do backlog power3 toggle; ruletimer1 60 endon rule2 on Rules#Timer=1 do power3 off endon backlog rule1 1;rule2 1; rule3 0; setoption1 1; setoption13 0; setoption32 60
rule1 on button1#state=2 do backlog power1 toggle; ruletimer1 600 endon on button1#state=3 do backlog power1 1; ruletimer1 0 endon on power2#state=1 do backlog power1 1; power2 0; ruletimer1 3600 endon
rule2 on Rules#Timer=1 do power1 off endon
List of button states
10=1 short press
11=2 short press
12=3 short press
13=4 short press
14=5 short press
3=LONG press