Knowledge/Integration/ioBroker

GuideM-Center

M-Bus meters with the M-Center in ioBroker

ioBroker comes with a Modbus and an MQTT adapter. With both, the values of all meters on the EMU M-Center arrive in ioBroker as data points.

What you need

  • A configured M-Center with Modbus TCP server licence (210.300.04) or MQTT licence (210.300.03).
  • The «Modbus» or «MQTT Broker/Client» adapter in ioBroker.
  • The Modbus device addresses of the meters and OBIS codes entered in the M-Center.

Route 1: Modbus adapter

  1. Install the «Modbus» adapter and create an instance.
  2. Connection: TCP, type master, partner IP of the M-Center, port 502.
  3. Device ID: the Modbus device address of the meter in the M-Center.
  4. Enter the values in the «Holding Registers» tab, for example register 1030 for import tariff 1 with the data type float big endian (32 bit).
  5. Choose the poll interval to match the readout interval of the M-Center, usually 15 minutes.

The manual counts registers from 1. Whether the adapter counts from 0 or from 1 depends on its settings. Compare the first value with the meter reading in the M-Center and shift the address by one if necessary.

Depending on the adapter version, one instance queries one or several device addresses. With many meters, MQTT is often more convenient.

Route 2: MQTT adapter

The MQTT adapter works as a broker or as a client. As a broker, you enter its address directly in the M-Center. ioBroker creates a data point for every topic received; the structure follows the M-Center’s topic:

<prefix>/emu/mcenter/<MAC>/meterreading/<serial number>/byobis/<OBIS code>

After the first messages, check in the object tree how the values arrive before you build scripts or visualisations on them.

Frequently asked questions


Which data type is correct?

float32 big endian with the high word first. For status registers and very large meter readings uint64, also big endian.

Where can I find all register addresses?

On the M-Bus to Modbus TCP page and in full in the M-Center manual, chapter Modbus Server.

Read more


SEITEM-Bus to Modbus TCPRegister map SEITEM-Bus to MQTTTopic structure SEITEMore integrationsOverview

Questions about the integration?


Send us your meter list. We will help with addresses, OBIS codes and licences.

Phone
+41 (0)41 545 03 00

Technical support
helpdesk [at] emuag.ch
Support form →