KC868-A16 "input1 toggle output1" automation rules in Tasmota - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A16 (https://www.kincony.com/forum/forumdisplay.php?fid=25) +--- Thread: KC868-A16 "input1 toggle output1" automation rules in Tasmota (/showthread.php?tid=1792) |
KC868-A16 "input1 toggle output1" automation rules in Tasmota - admin - 03-29-2022 this rules sample will set KC868-A16 input1 toggle output1. for example if input1 -- toggle --> output1: rule1 on PCF8574-1_INP#D0=0 do power1 toggle endon rule1 1 if input2 -- toggle --> output2: rule2 on PCF8574-1_INP#D1=0 do power2 toggle endon rule2 1 if input3 -- toggle --> output3: rule3 on PCF8574-1_INP#D2=0 do power3 toggle endon rule3 1 here are setting photos for sample rule1: RE: KC868-A16 "input1 toggle output1" automation rules in Tasmota - pmotshegwa - 03-30-2022 I'm getting a command error when adding additional rules e.g. rule4 on PCF8574-1_INP#D3=0 do power4 toggle endon rule4 1 RE: KC868-A16 "input1 toggle output1" automation rules in Tasmota - admin - 03-30-2022 rule1-3 work well? RE: KC868-A16 "input1 toggle output1" automation rules in Tasmota - pmotshegwa - 03-30-2022 (03-30-2022, 07:12 AM)admin Wrote: rule1-3 work well? yes, rules 1,3, and 3 are ok. RE: KC868-A16 "input1 toggle output1" automation rules in Tasmota - pmotshegwa - 03-30-2022 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 RE: KC868-A16 "input1 toggle output1" automation rules in Tasmota - admin - 03-30-2022 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 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 use one rule1 will be ok. RE: KC868-A16 "input1 toggle output1" automation rules in Tasmota - admin - 03-30-2022 RE: KC868-A16 "input1 toggle output1" automation rules in Tasmota - Isaac639 - 12-13-2022 Is there a way to send a command over IP when an input is clicked? Thankyou. RE: KC868-A16 "input1 toggle output1" automation rules in Tasmota - admin - 12-13-2022 i have not tried this by tasmota, but if you can write arduino code, this function will be very easy to do. |