Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
yaml detail for DI on modbus controller
#1
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.
Reply
#2
here is modbus protocol document: https://www.kincony.com/forum/showthread.php?tid=2528
you can add digital input port as a "binary_sensor".
Reply
#3
(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
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)