Smart Home Automation Forum
yaml detail for DI on modbus controller - 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: yaml detail for DI on modbus controller (/showthread.php?tid=6158)



yaml detail for DI on modbus controller - Savino - 07-20-2024

Hello,

where I could find yaml file with details to add digital inputs of kc868-a6 board to modbus-controller?


I have already info to add relay, as following:

- platform: modbus_controller
  name: 'modbus-switch1'
  address: 0 # 0: relay1  1: relay 2 .........
  register_type: coil
  bitmask: 1

I need something similar to add digital inputs to the RS485.


RE: yaml detail for DI on modbus controller - admin - 07-20-2024

here is modbus protocol document: https://www.kincony.com/forum/showthread.php?tid=2528
you can add digital input port as a "binary_sensor".


RE: yaml detail for DI on modbus controller - Savino - 07-21-2024

(07-20-2024, 10:15 PM)admin Wrote: here is modbus protocol document: https://www.kincony.com/forum/showthread.php?tid=2528
you can add digital input port as a "binary_sensor".

done.
Thanks