Self-host mbusd
v0.5.3Modbus TCP to RTU gateway for serial devices
- Stars
- 684
- Port
- 502 (Modbus TCP server)
3cky/mbusdWhat is mbusd?
This gateway connects Modbus TCP clients to RTU serial devices, acting as a TCP server that becomes an RTU master on the serial bus. Multiple TCP clients can share the same RS-232 or RS-485 line. Serial parameters like baud rate, parity, and timeouts are fully configurable. It handles RS-485 direction control automatically or via RTS, and can discard local echo from adapters that loop back transmissions. Standard function codes 1-7, 15, and 16 are supported; others work best-effort. Deployment options include building from source with CMake, running as a systemd service, or using the Docker image. The default port 502 needs root access. Settings come from command-line flags or a config file.
Should you self-host mbusd?
mbusd scores 52/100 on selfhost.directory (how scoring works) and ranks #3 of 4 in Industrial IoT. It has 684 GitHub stars.
It shipped 1 stable release in the past year. The latest, v0.5.3, came out on 7 April 2026.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is BSD-3-Clause-licensed and written mostly in C.
Its closest alternative on selfhost.directory is LinuxCNC (63/100, 2 512 stars). It scores higher overall, so compare the two before you pick. See mbusd vs LinuxCNC side by side.
Features
- Configurable RTU serial parameters
- Configuration file support
- Local echo handling
- Modbus TCP to RTU gateway
- Multi-master support
- Request retry with CRC validation
- RS-485 direction control
- Standard Modbus function codes
- Systemd service support
mbusd README
More in Industrial IoT
OpenMESOpenMES is a self-hosted MES for small manufacturers. Tracks production, manages work orders, connects machines via MQTT/Modbus/OPC UA — deployable via Docker.
Scada-LTSSelf-hosted, open-source SCADA system with multi-protocol support, HMI builder, real-time data visualization, and web-based UI for industrial automation.
simple-iotSelf-hosted IoT platform for device management, telemetry, visual rule chains, and alarms — single Spring Boot binary with built-in MQTT broker and Vue 3 console.
ThingsboardSelf-hosted source-available IoT platform for device management, data processing, and visualization with rule engine and multi-protocol support.
zpl-restzpl-rest is an open-source, self-hosted print server that lets any system send JSON to print ZPL labels on Zebra printers via a REST API and web UI with live preview.
EMQXThe most scalable and reliable MQTT broker for AI, IoT, IIoT and connected vehicles
LinuxCNCOpen-source, self-hosted CNC machine controller for Linux with realtime kernels; interprets G-code and drives mills, lathes, 3D printers and robot arms.
0 comments