modbus4mqtt
modbus4mqtt is a gateway that translates between Modbus TCP/IP and MQTT. It bridges industrial or energy devices that speak Modbus with MQTT-based automation and monitoring systems. The mapping of Modbus registers to MQTT topics is configured through a simple YAML file, making it easy to define which registers to poll and how to publish their values. Key features include configurable polling intervals, address offsets for different Modbus addressing conventions, support for Modbus variants, adjustable read and write batching sizes, and configurable word order for multi-register values. It supports both Modbus single-register and multi-register write operations. Modbus4mqtt is designed as a focused component intended to integrate into larger systems rather than serve as a complete solution. It works well as part of Home Assistant setups or custom monitoring platforms. The software is available as a Python module installable via pip and as a Docker container for easy deployment. Built-in YAML configurations are