Revision [7649]

This is an old revision of TasmotaBathroomFanRules made by ZorrUno on 2021-11-17 07:18:08.

 

rule1 on Rules#Timer=1 do power3 off endon

rule2 on button1#state=10 do power3 toggle endon on button2#state=10 do power3 toggle endon

rule3 on button3#state=10 do backlog power3 toggle; ruletimer1 600 endon  
on button3#state=11 do backlog power3 toggle; ruletimer1 3600 endon
on button3#state=12 do backlog power3 toggle; ruletimer1 14400 endon

backlog rule1 1;rule2 1; rule3 1; setoption1 1; setoption13 0; setoption32 60; setoption73 1


rule1 on Rules#Timer=1 do power3 off endon

rule2 on button1#state=10 do power3 toggle endon on button2#state=10 do power3 toggle endon 

rule3 on button3#state=10 do backlog power3 toggle; ruletimer1 600 endon on button3#state=11 do backlog power3 toggle; ruletimer1 3600 endon on button3#state=12 do backlog power3 toggle; ruletimer1 14400 endon

backlog rule1 1;rule2 1; rule3 1; setoption1 1; setoption13 0; setoption32 60; setoption73 1


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
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki