Modbus Component

The Modbus protocol is used by many consumer and industrial devices for communication. This component allows components in ESPHome to communicate to those devices. Modbus requires a UART Bus to communicate.

# Example configuration entry
uart:
  ...

modbus:

Configuration variables:

  • flow_control_pin (Optional, Pin): The pin used to switch flow control. This is useful for RS485 transeivers that do not have automatic flow control switching, like the common MAX485.

See Also