Smart Home Automation Forum
16 channels through esphome modbus communication. - 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: 16 channels through esphome modbus communication. (/showthread.php?tid=2122)



16 channels through esphome modbus communication. - 2sdaymars - 08-08-2022

I am currently trying to connect a controller with 16 channels through esphome modbus communication.

https://esphome.io/components/modbus_controller.html

Tried with this example but failed.

uart:
  id: mod_bus
  tx_pin: 17
  rx_pin: 16
  baud_rate: 115200
  stop_bits: 1

Are the tx and rx pin numbers correct?

What part should I edit?
I really need your help.
We are preparing a plant factory, so if this succeeds, we plan to continue ordering 16-channel boards in the future.

to be able to help
Load the controller Modbus sheet.


http://www.koreadigital.com/pages/sensecube/pdf/kcd-pe300_download_1.pdf



RE: 16 channels through esphome modbus communication. - admin - 08-08-2022

do you want to use KC868-A16 or KC868-E16S by RS485 modubs? can't use ethernet cable? ethernet will be easier than modbus config. now i just want to know, whether need MUST modbus?


RE: 16 channels through esphome modbus communication. - 2sdaymars - 08-08-2022

(08-08-2022, 11:34 AM)admin Wrote: do you want to use KC868-A16 or KC868-E16S by RS485 modubs? can't use ethernet cable? ethernet will be easier than modbus config. now i just want to know, whether need MUST modbus?

1.do you want to use KC868-A16 or KC868-E16S by RS485 modubs?   

1.I am using KC868-A16.


2.can't use ethernet cable? ethernet will be easier than modbus config.   


2.This is an environment where Ethernet cables cannot be used.
Is it not possible with wifi???
Ethernet and Could you please tell me the two methods of wifi?


3 now i just want to know, whether need MUST modbus?

Yes, I need this communication.

please give me direction


RE: 16 channels through esphome modbus communication. - admin - 08-08-2022

if you can't use ethernet, i suggest you use wifi, it's easy.
in our A16 ESPHome config file, you just need delete the ethernet config content, replace with your wifi router's ssid and password, such as add these text:

wifi:
ssid: "KinCony"
password: "a12345678"