Revision [5315]
This is an old revision of TasmotaRules made by ZorrUno on 2020-03-18 06:18:59.
Various Tasmota Rules
Rule to republish STATUS10 every 5 seconds (otherwise you can't read it over time)
rule1 on system#boot do ruletimer1 5 endon on rules#timer=1 do backlog status 10; ruletimer1 5 endon
Rule to turn an additional sonoff device on & off on press
rule2 on Power2#state do WebSend [192.168.2.71] POWER2 %value% endon
Rules for downstairs lounge switch. Turn other light switch on, and hold to turn everything off
Rule1 on button1#state=2 do WebSend [192.168.2.83,admin:sonoffviewnels] Power1 toggle endon Rule2 on button1#state=3 do backlog WebSend [192.168.2.83,admin:sonoffviewnels] Power1 off;WebSend [192.168.2.83,admin:sonoffviewnels] Power2 off;WebSend [192.168.2.83,admin:sonoffviewnels] Power1 off; WebSend [192.168.2.83,admin:sonoffviewnels] Power2 off;WebSend [192.168.2.76,admin:sonoffviewnels] Power1 off; WebSend [192.168.2.76,admin:sonoffviewnels] Power2 off;WebSend [192.168.2.75,admin:sonoffviewnels] Power1 off endon