07-11-2023, 01:44 PM
how to wire? why not let 4pcs of A16 board all connect to your router by network cable?
KC868-A16 work with relay board by RS485 modbus in ESPHome
|
07-11-2023, 01:44 PM
how to wire? why not let 4pcs of A16 board all connect to your router by network cable?
07-11-2023, 09:02 PM
07-11-2023, 10:36 PM
ok, if you want to add 4pcs A16 board on one modbus , just need to add "modbus_controller_id", here is example of use 2pcs A16 board:
modbus_controller: - id: a16a address: 1 modbus_id: modbus1 update_interval: 3s modbus_controller: - id: a16b address: 1 modbus_id: modbus1 update_interval: 3s switch: - platform: modbus_controller modbus_controller_id: a16a name: 'modbus-switch1' address: 0 # 0:relay1 1:relay2 ...... register_type: coil bitmask: 1 - platform: modbus_controller modbus_controller_id: a16b name: 'modbus-switch1' address: 0 # 0:relay1 1:relay2 ...... register_type: coil bitmask: 1 |
« Next Oldest | Next Newest »
|
Users browsing this thread: |
1 Guest(s) |