AboutBlogContact
Advanced & Guides

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 SettingsModbus Devices to see the list of configured Modbus devices.

Supported Devices

boneIO Black supports the following Modbus device models:

Energy Meters

ModelDescription
SDM120Eastron SDM120 energy meter (single-phase)
SDM630Eastron SDM630 energy meter (3-phase)
ORNO-OR-WE-517ORNO OR-WE-517 energy meter
DTS1964_3FDTS1964 3-phase energy meter
SOCOMEC_E03Socomec Countis E03 meter
SOCOMEC_E23Socomec Countis E23 meter

Temperature and Humidity Sensors

ModelDescription
CWTCWT temperature and humidity sensor (with filters)
SHT20SHT20 temperature and humidity sensor
SHT30SHT30 temperature and humidity sensor
PT100PT100 temperature sensor

Other Devices

ModelDescription
R4DCB081-Wire thermometer hub module
LIQUID-SENSORLiquid level sensor (with tank dimensions)
FUJITSU-ACFujitsu air conditioning
VENTCLEARVentClear ventilation
SOFARSofar photovoltaic inverter

Adding a Modbus Device

  1. Go to SettingsModbus 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 SettingsModbus:

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 SettingsDevices & ServicesMQTT
  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.