Smart Home Automation Forum
Rs485 addresses for KC868-A6 relays - 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-A6 (https://www.kincony.com/forum/forumdisplay.php?fid=22)
+--- Thread: Rs485 addresses for KC868-A6 relays (/showthread.php?tid=9066)



Rs485 addresses for KC868-A6 relays - Yuriy - 02-21-2026

Hello everyone!
Please, help me, what are the Rs485 addresses (for ESPhome firmware) of the KC868-A6 relays?

Code:
switch:
- platform: modbus_controller
  modbus_controller_id: modbus_device
  name: "Relay rs485"
  register_type: coil
  address: ???????????????
  bitmask: 1

Thank you in advance.


RE: Rs485 addresses for KC868-A6 relays - admin - 02-21-2026

this is RS485 modbus protocol document: https://www.kincony.com/forum/showthread.php?tid=2528


RE: Rs485 addresses for KC868-A6 relays - Yuriy - 02-22-2026

(02-21-2026, 10:27 PM)admin Wrote: this is RS485 modbus protocol document: https://www.kincony.com/forum/showthread.php?tid=2528

Thank you for your answer.
But in that document relays addresses described in the different format.

Example from modbus_controller documentation esphome
Code:
switch:
- platform: modbus_controller
  ...
  address: 0x15

If i am not mistaken, it's register addresses of relays


RE: Rs485 addresses for KC868-A6 relays - Yuriy - 02-22-2026

Addition
 
KC868-A6 don’t get response by different requests (address scan, slave scan, write single coil, etc) - Timeout error, by Modbus Poll software

Am I right, that
Code:
uart:
  - id: rs485
    tx_pin: GPIO27
    rx_pin: GPIO14
    baud_rate: 9600
    stop_bits: 1
    parity: NONE

modbus:
  id: modbus1
  uart_id: rs485

modbus_controller:
- id: modbus_device
  address: 0x1
  modbus_id: modbus1
  setup_priority: -10

in ESPhome firmware enough to enable modbus for KC868-A6 and it must give back response for example for request 01 05 00 00 FF 00 8C 3A by Modbus Poll?


RE: Rs485 addresses for KC868-A6 relays - admin - 02-22-2026

yes, if you download KCS v2 firmware for A6 board, then enable RS485 modbus protocol, you can control relay by modbus.
if you want config by ESPHome, you need config all modbus by yourself.
you can see this video tour: https://youtu.be/xmBWzVGpggo


RE: Rs485 addresses for KC868-A6 relays - Yuriy - 02-23-2026

(02-22-2026, 10:58 PM)admin Wrote: yes, if you download KCS v2 firmware for A6 board, then enable RS485 modbus protocol, you can control relay by modbus.
if you want config by ESPHome, you need config all modbus by yourself.
you can see this video tour: https://youtu.be/xmBWzVGpggo


Thank you for your answer.

But in your video there is no ESPhome firmwere as client.

If anybody know, tell me please, how can i enable modbus in clinet ESPhome firmware.

Thank you in advance.