BlogContact

Modbus Devices

How to add and configure Modbus devices in boneIO Black.

The boneIO Black controller supports the Modbus RTU protocol, which allows you to connect external measurement devices, energy meters, sensors, and other devices.

Modbus is configured by default - you don't need to change UART settings. Just add the devices you want to monitor.

Modbus Devices List

Modbus Devices List

Go to Settings → Connections → Modbus Devices to see the list of configured Modbus devices.

Supported Devices

boneIO Black supports the following Modbus device models:

Energy Meters

ModelDescription
SDM120Eastron SDM120 single-phase energy meter
SDM630Eastron SDM630 3-phase energy meter
OR-WE-517ORNO OR-WE-517 3-phase energy meter
DTS1964DTS1964 3-phase power and energy meter
LE-03MWF&F LE-03MW 3-phase energy meter
LE-03MW CTF&F LE-03MW CT 3-phase energy meter with current transformers
Socomec Countis E03 / E23Socomec Countis energy meters

Sensors

ModelDescription
CWTCWT soil moisture, temperature and EC sensor (with filters)
SHT20 / SHT30Sensirion temperature and humidity sensors
PT100PT100 temperature transmitter
boneIO Edge TempboneIO temperature sensor extension board
DYP-A12DYP-A12 ultrasonic distance / level sensor
Liquid Level SensorGeneric liquid level sensor (with tank dimensions)
QDW90ALiquid pressure sensor
GDFS / GDFXGD series flow sensors

Ventilation, heat recovery and air conditioning

ModelDescription
Defro AIR DRXDefro heat recovery ventilation unit
EHT Topventil PlusEHT ventilation system
Thessla GreenThessla Green heat recovery ventilation unit
Wanas 415Wanas heat recovery ventilation unit
VentclearVentclear ventilation system
Fujitsu ACFujitsu air conditioning interface

Other Devices

ModelDescription
R4DCB088-channel 1-Wire thermometer module
N4DSC08N4DSC08 8-channel relay board
ESP32 Relay x4 ModbusboneIO ESP32 4-channel relay board
SofarSofar photovoltaic inverter

Adding a Modbus Device

  1. Go to Settings → Connections → Modbus Devices
  2. Click Add (+ button)
  3. Fill in the form:

Adding Modbus Device

Basic Settings

FieldDescriptionRequired
Display NameName displayed in Home AssistantNo
AreaArea/roomNo
AddressModbus address of the device (1-247)✅ Yes
ModelDevice model from the supported list✅ Yes
IDCustom identifier (optional)No
Update IntervalData reading interval (default 30s)No

Modbus Address must be unique for each device on the bus. Check the device documentation to find or set its address.

Example SDM120 Meter Configuration

  1. Display Name: Kitchen power meter
  2. Area: Kitchen
  3. Address: 1 (default SDM120 address)
  4. Model: SDM120
  5. Update Interval: 10s (read every 10 seconds)

Additional Options for Selected Models

CWT - Sensor Filters

The CWT model allows adding filters for temperature and humidity readings:

FilterDescription
roundRound to N decimal places
offsetAdd a constant value (calibration)
multiplyMultiply by value
filter_outFilter out a specific value
filter_out_greaterFilter out values greater than N
filter_out_lowerFilter out values less than N

LIQUID-SENSOR - Tank Dimensions

The LIQUID-SENSOR model requires tank dimensions:

FieldDescription
WidthTank width (in meters)
LengthTank length (in meters)

Modbus Settings (Advanced)

Modbus Settings

If your device requires custom communication parameters, you can change them in Settings → Connections → Modbus:

ParameterDefaultDescription
UARTuart4Serial port (uart4 for new boneIO, uart1 for old)
Baudrate9600Transmission speed
Data bits8Number of data bits
ParityN (None)Parity: N (none), E (even), O (odd)
Stop bits1Number of stop bits

Changing UART parameters is only needed when the Modbus device requires different settings than default. Most devices work with default parameters (9600 8N1).

Verification in Home Assistant

After adding a Modbus device:

  1. The device will automatically appear in Home Assistant via MQTT Discovery
  2. Go to Settings → Devices & Services → MQTT
  3. Find the boneIO Black device - Modbus sensors will be visible as entities

Data from Modbus devices is automatically published to MQTT and available in Home Assistant for creating automations, charts, and dashboards.