Skip to main content

MBus Add-On

Configuration Parameters​

In addition to the GW4 configuration parameters the add-on has the following specific parameters:

Wired M-Bus Meter Reading​

KeyTypeDefaultDescription
mbusAddrListString*:+M-Bus baudrate and address list
addonAccumulateNumber1Number of readouts to upload together

mbusAddrList Parameter​

This parameter specifies the baudrate, list of devices, and an optional interface, separated by :.

Instead of a numeric baudrate, * can be specified for automatic baudrate detection.

The list of device addresses is separated by ,. Instead of an address, * can be specified to scan for primary addresses or + to scan for secondary addresses. Detected addresses are appended to the device list.

Optionally, an interface can be added after the device list for gateways with multiple interfaces capable of M-Bus communication. M specifies M-Bus and R specifies RS-485. On gateways with only one interface, this option is ignored.

note

Device scanning is only executed at power-on. If a device is connected later, restart the gateway to execute the device scan again.

warning

It is possible to specify any combination of numeric addresses, +, and *. This may lead to reading a device twice: first with its primary address and again with its secondary address.

tip

Instead of a configuration string, you can specify A to activate automatic configuration mode. In this case, the baudrate is detected automatically, followed by a scan for secondary addresses. If both steps are successful, a suitable configuration string is generated and stored in mbusAddrList, overwriting the A value.

When using automatic configuration, make sure all devices are connected and fully operational.

addonAccumulate Parameter​

To save energy, measurements can be stored before uploading them.

With the default value of 1, all measurements are uploaded immediately. When a value greater than 1 is configured, that number of readouts is collected before the modem is activated and the data is uploaded.