communicate between multiple boards - 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: communicate between multiple boards (/showthread.php?tid=5842) |
communicate between multiple boards - bartekm01 - 06-02-2024 Hi, I would like to ask about possibility to communicate between two or more KC868-A16 boards. So my scenario is that I have two A16s connected via lan cable to my local network. I was able to configure them in home assistant (esphome add on) using some of your lessons. I`m also able to add switches etc. But I dont know how to implement one thing - I have relays connected to digital outputs of those two boards (A16_1, A16_2) which are controlling lights/rollers in my house. Next to my front door I have wall switch which is connected to board A16_1 (input_1). What I want to achieve is that when I click wall switch all lights (both boards) should be turned off. So simply saying one input should turn off all outputs from both boards. How to send information from board A16_1 to a16_2 (in the future I`m planning to have more boards so I wish them to communicate one to each other)? is it possible? I`m beginner so I will be grateful for detailed answer thank you in advance for support! RE: communicate between multiple boards - admin - 06-02-2024 you just connect two A16 board to your router by ethernet cable is OK. config AUTOMATION in home assistant. for example: IF A16-1 PCB's INPUT trigger THEN A16-2 PCB's OUTPUT =ON like this way. home assistant will manager all device connected router, so you not need use wire connect with each A16 board together. RE: communicate between multiple boards - bartekm01 - 06-02-2024 (06-02-2024, 02:17 PM)admin Wrote: you just connect two A16 board to your router by ethernet cable is OK. thank you. is there any way to do it without HA? to be not dependent on it? because in this scenario if HA will go down my wall switch will not work - am I right? RE: communicate between multiple boards - admin - 06-02-2024 sure, if you want work without home assistant. you can download KCS firmware to board. make IFTTT command, IF board-A INPUT trigger board-B OUTPUT. here is online guide of KCS v2 firmware : https://www.kincony.com/esp32-kcsv2-firmware.html RE: communicate between multiple boards - Philadam - 06-03-2024 Do you have an example, KCS IFTTT documentation is not clear on how to specify external card to do this? RE: communicate between multiple boards - admin - 06-03-2024 use customsize protocol , send to another control by HTTP or TCP command. RE: communicate between multiple boards - a.demenev@limeup.ru - 06-23-2024 (06-02-2024, 10:25 PM)admin Wrote: sure, if you want work without home assistant. you can download KCS firmware to board. make IFTTT command, IF board-A INPUT trigger board-B OUTPUT. Hi! i have same situation, and my IFTTT rule doesn not work - i can't understand why, please, help me! So, i have 2 boards: A8S and A16S, both with KCS2.2 on A8S relay connected to input 15 on A16S Light state is on input2 of a16s Vintilation is on output1 on a16s i need: 1) switch on vent when in2 OR in15 is on 2) switch off vent when in2 AND in15 is off so i have 2 IFTTT rules: 1. Logical and=false; IF(DI2=true, DI15=true); THEN (DO (on-1)) 1. Logical and=true; IF(DI2=false, DI15=false); THEN (DO (off-1)) First rule works fine, but second - never works. Both rules enabled. when i click "run" - it works. Please help me to make this working (06-23-2024, 08:00 AM)a.demenev@limeup.ru Wrote: Here is video how it works: https://youtu.be/ob0VQNtprIM RE: communicate between multiple boards - admin - 06-23-2024 i need: 1) switch on vent when in2 OR in15 is on create 2 ifttt command for these: ifttt-1: IF in2=true THEN DO on-1 ifttt-2: IF in15=true THEN DO on-1 2) switch off vent when in2 AND in15 is off create by one IFTTT command, enable "AND" logical. RE: communicate between multiple boards - a.demenev@limeup.ru - 06-28-2024 (06-23-2024, 09:20 AM)e^ admin Wrote: i need: Hi! i tried your solution with same result as before: both "on" rules work fine, "off" rule doesn't work |