Smart Home Automation Forum
Assistance with RS485 Communication via KC868-A16 & Wemos D1 - 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: Assistance with RS485 Communication via KC868-A16 & Wemos D1 (/showthread.php?tid=7878)



Assistance with RS485 Communication via KC868-A16 & Wemos D1 - Bastn - 03-28-2025

Hi,
I currently have the following setup:
  • Wemos D1 (ESP8266) connected to the Wi-Fi network.
  • KC868-A16 connected to the Wi-Fi network, running KCS firmware V2.
  • RS485 I/O module (25IOB16) connected to the KC868-A16 via RS485 (A/B).
I want to be able to read and write the inputs and outputs of the RS485 I/O module (25IOB16) using:
  • or IFTTT through the KC868-A16.
  • orA Wemos D1 (ESP8266) running Arduino code, connected to the same Wi-Fi network as the KC868-A16.
Issues I’m Facing:
  • I am unable to send or receive RS485 commands via IFTTT on the KC868-A16. (not supported by software?)
  • I am unable to send or receive RS485 commands from a small web UI on the Wemos D1 to the RS485 I/O module (25IOB16).
Objective:
I am looking to replace my current PLC, which simply toggles outputs based on input signals in my house.
Could you provide guidance on how to achieve this?
Thanks!


RE: Assistance with RS485 Communication via KC868-A16 & Wemos D1 - admin - 03-28-2025

KCS v2 support send customize command by RS485.
KCS v3 support receive and send customize command by RS485.
KCS v3 use by KC868-A16v3 board.


RE: Assistance with RS485 Communication via KC868-A16 & Wemos D1 - Bastn - 03-28-2025

I have KC868-a16 board (not a16V3)
Therefore I only can send commands using customize command by RS485, correct?
If I want to read / write, I will need to make a new firmware in Arduino for KC868-a16, correct?


RE: Assistance with RS485 Communication via KC868-A16 & Wemos D1 - admin - 03-29-2025

Therefore I only can send commands using customize command by RS485, correct? -->YES
If I want to read / write, I will need to make a new firmware in Arduino for KC868-a16, correct? -->Yes