-->
Page 2 of 2

Re: Esp8622 Tasmota

PostPosted: Wed Mar 10, 2021 9:45 pm
by guysnraw
guysnraw wrote:Hi Guys, in tasmota I wanted to get event switch state and then run a command but i couldn’t do that in rule, what am i missing?
Rule1 on power1#state=1 do event chkswitch=%sw[1]% endon on event#chkswitch=1 do power1 0 endon
When power1 is on it says backlog event chkswitch=%sw[1]% and event done but power1 not off :roll:


sw[1] doesn't work for all users, instead they gave me an idea to use switch1#boot trigger and do var1 %value% command. It works pretty awesome. Esp8622 rocks :ugeek: