
ONOKOM AIR MD-3-MB-B
Controls Midea air conditioners via the ONOKOM MD-3-MB-B Modbus gateway.
This template connects Midea air conditioners via the ONOKOM MD-3-MB-B gateway using Modbus RTU. It provides indoor and outdoor temperature readings, error monitoring, and full HVAC control including mode selection, fan speed, vane swing, and target temperature.
- Protocol
- Modbus RTU
- Connection
- RS485, 9600 baud
- Registers
- 15, read and write
- Brand
- Onokom
- Key readings
- Indoor air temperature · Indoor heat exchanger temperature · Outdoor heat exchanger temperature · AC connected status · Error count · First error code
- Available commands
- Target temperature · modes · Smart fan speed · Vanes swing
- Compatible models
- ONOKOM MD-3-MB-B
- Last updated
Registers (15)
9 read, 8 write
| Name | Unit | Access | Address (Hidden until you enter your email) | Function (hidden) | Type (hidden) |
|---|---|---|---|---|---|
| Indoor air temperature | °C | Read | |||
| AC connected | Read | ||||
| Eco mode (Status) | Read and write | ||||
| Indoor heat exchanger temperature | °C | Read | |||
| Outdoor heat exchanger temperature | °C | Read | |||
| Horizontal vanes | Read and write | ||||
| Error count | count | Read | |||
| Error count | Read | ||||
| First error code | Read | ||||
| Active (Control) | Write | ||||
| Loxone modes (Control) | Write | ||||
| Smart fan speed | Write | ||||
| Target temperature | °C | Write | |||
| Vanes swing | Write | ||||
| Modbus address (Service) | Write |
Loading registers…
Send your device list
If a device is not in the library yet, we build the template for free as soon as we have the register data.
Use cases
- Monitor indoor air temperature and heat exchanger temperatures on a live cloud dashboard for each customer site.
- Set target temperature and operating mode remotely without visiting the installation location.
- Create an alert when the error count increases or a specific error code appears on the Midea unit.
- Track outdoor heat exchanger temperature trends to detect refrigerant issues or performance degradation.
- Manage multiple Midea air conditioners across different sites from a single ModbusCloud account.
- Adjust fan speed and vane swing settings remotely to optimize occupant comfort.
Installation
Connect the ONOKOM MD-3-MB-B gateway to the Midea air conditioner's communication bus following the wiring diagram in the ONOKOM manual.
Wire the RS-485 A and B terminals of the ONOKOM gateway to the corresponding terminals on your ModbusCloud Gateway.
Set the Modbus address of the ONOKOM gateway using service register 128 if multiple gateways share the same RS-485 bus.
Configure the ModbusCloud gateway serial port to Modbus RTU at 9600 baud, 8 data bits, no parity, 1 stop bit.
Import the ONOKOM AIR MD-3-MB-B template from the ModbusCloud template library and assign it to the correct Modbus address.
Verify communication by checking that indoor air temperature and AC connected status appear correctly on the ModbusCloud dashboard.
Things to watch for
The gateway does not respond on the RS-485 bus. What should I check?
Verify that the A and B wires are not swapped between the ONOKOM gateway and the ModbusCloud gateway. Confirm the baud rate is set to 9600 on both sides. Ensure the Modbus address configured in register 128 matches the address set in the ModbusCloud template.
I see an error count but the first error code register shows zero. Is this normal?
The error count register appears duplicated at address 0, which can cause unexpected readings. Check the actual error code register to confirm whether a real fault is present on the Midea unit.
Can I connect multiple ONOKOM gateways on the same RS-485 bus?
Yes. Each ONOKOM MD-3-MB-B must have a unique Modbus address. Change the address via service register 128 on each gateway before connecting them to the shared bus.
Eco mode and horizontal vanes do not seem to respond to write commands. What could be wrong?
Not all Midea indoor unit models support eco mode or horizontal vane control. Check the Midea unit specifications to confirm these features are available on your specific model.
Want to see how it works?














