Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A16 "input1 toggle output1" automation rules in Tasmota
#5
I ended up creating just 2 rules like this:

rule1
on PCF8574-1_INP#D0=0 do power1 toggle endon
on PCF8574-1_INP#D1=0 do power2 toggle endon
on PCF8574-1_INP#D2=0 do power3 toggle endon
on PCF8574-1_INP#D3=0 do power4 toggle endon
on PCF8574-1_INP#D4=0 do power5 toggle endon
on PCF8574-1_INP#D5=0 do power6 toggle endon
on PCF8574-1_INP#D6=0 do power7 toggle endon
on PCF8574-1_INP#D7=0 do power8 toggle endon
rule1 1

rule2
on PCF8574-2_INP#D0=0 do power9 toggle endon
on PCF8574-2_INP#D1=0 do power10 toggle endon
on PCF8574-2_INP#D2=0 do power11 toggle endon
on PCF8574-2_INP#D3=0 do power12 toggle endon
on PCF8574-2_INP#D4=0 do power13 toggle endon
on PCF8574-2_INP#D5=0 do power14 toggle endon
on PCF8574-2_INP#D6=0 do power15 toggle endon
on PCF8574-2_INP#D7=0 do power16 toggle endon
rule2 1

It's ok now
Reply


Messages In This Thread
RE: KC868-A16 "input1 toggle output1" automation rules in Tasmota - by pmotshegwa - 03-30-2022, 12:22 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)