Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
communicate between multiple boards
#1
Question 
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 Smile thank you in advance for support!
Reply
#2
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.
Reply
#3
(06-02-2024, 02:17 PM)admin Wrote: 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.

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?
Reply
#4
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
Reply
#5
Do you have an example,  KCS IFTTT documentation is not clear on how to specify external card to do this?
Reply
#6
use customsize protocol , send to another control by HTTP or TCP command.
Reply
#7

(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.
here is online guide of KCS v2 firmware : https://www.kincony.com/esp32-kcsv2-firmware.html

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:
(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.
here is online guide of KCS v2 firmware : https://www.kincony.com/esp32-kcsv2-firmware.html

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


Here is video how it works: https://youtu.be/ob0VQNtprIM


Attached Files Image(s)
       
Reply
#8
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.
Reply
#9
(06-23-2024, 09:20 AM)e^ admin Wrote: 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.

Hi!
i tried your solution with same result as before: both "on" rules work fine, "off" rule doesn't work


Attached Files Image(s)
       
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)