1
0
mirror of https://github.com/esphome/esphome.git synced 2025-01-19 12:24:05 +00:00
Tercio Filho 625726c650
[Modbus Controller] Added preference to change command retries (#7312)
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-09-11 17:21:31 +12:00

17 lines
270 B
YAML

uart:
- id: uart_modbus
tx_pin: 17
rx_pin: 16
baud_rate: 9600
modbus:
id: mod_bus1
flow_control_pin: 15
modbus_controller:
- id: modbus_controller1
address: 0x2
modbus_id: mod_bus1
allow_duplicate_commands: true
max_cmd_retries: 10