The Weble IoT universal gateway reads utility meters with several drivers. They overlap: a Landis & Gyr E450 is wired on an M-Bus line but is read with the OBIS driver, and a Kamstrup OMNIPOWER can be received over wireless M-Bus or read on its HAN interface. This article helps you choose the right driver and mode, and shows which address to route and log once the meter is read.
The parameters of each driver are described on the driver pages: M-Bus, OBIS IEC62056 meters and Impulse.
| The meter has... | Driver (name in Gateway driver) | Mode | What the gateway does |
|---|---|---|---|
| A wired M-Bus interface (two-wire bus, EN 13757) | M-Bus | Type Serial (M-Bus level converter on a serial or USB port) or TCP (M-Bus to Ethernet converter) |
Master: polls each meter. |
| A wireless M-Bus radio (868 MHz, T1 or C1 mode) | M-Bus | Type Wireless |
Listens to the telegrams the meters send by themselves. |
| An IEC 62056-21 optical port, or an RS-485 interface with the same protocol | OBIS IEC62056 meters | Protocol D0Protocol |
Requests the data (optical head). |
| A Landis+Gyr E650 read through its optical port | OBIS IEC62056 meters | Protocol DLMS |
Opens the DLMS connection and reads a fixed list of registers. |
| A customer interface that pushes DLMS/HDLC frames: Landis & Gyr E450, Kamstrup OMNIPOWER HAN | OBIS IEC62056 meters | Protocol By meter model, then Model |
Listens only. |
| A pulse output (one pulse per Wh, per litre...) | Impulse | — | Counts the pulses received on a serial port. |
| A Siemens RVD25x / RVD26x heating controller | M-Bus | Type Serial or TCP |
Reads the controller block by block, can write setpoints. See the RVD2xx article. |
Not available: the SmlProtocol and JsonEfrProtocol entries of the OBIS driver (German SML meters, EFR Smart Grid Hub) are not available in the current firmware, and the DLMS mode only supports the Landis+Gyr E650. Meters read through a cloud service can be handled by dedicated drivers, for example smart-me.
Same meter, two drivers. The E450 is connected to the gateway through an M-Bus line, but it does not speak the M-Bus protocol on it: it pushes DLMS frames. Use the OBIS driver in
By meter model, not the M-Bus driver (see Landis & Gyr E450 meters). A Kamstrup OMNIPOWER with a wireless M-Bus module is received by the M-Bus driver inWireless(decoderomnipower); the same meter read on its wired HAN port uses the OBIS preset Kamstrup OMNIPOWER HAN.
| Driver and mode | Hardware | Notes |
|---|---|---|
M-Bus Serial |
M-Bus level converter (master) connected to a serial or USB port | Bus speed Serial Baudrate, 2400 by default. Meters are found with M-Bus Methods › Scan primary addresses or Scan secondary addresses. |
M-Bus TCP |
M-Bus to Ethernet converter | Host and Port (default 10001) of the converter. Slow converters may need a longer Request timeout (ms). |
M-Bus Wireless |
IMST iM871A USB receiver | Linux gateways only (the type is not offered on Windows). The AES Key of each encrypted meter, from the meter supplier. Meters are found with M-Bus Methods › Scan addresses. |
OBIS D0Protocol |
IEC 62056-21 optical head (or RS-485 interface) on a serial or USB port | Standard settings: 300 baud, 7 data bits, even parity. You create the addresses of the values you need. |
OBIS DLMS |
Optical head | Landis+Gyr E650 only. Nothing else to set. |
OBIS By meter model |
Connection to the customer interface of the meter (M-Bus line for the E450, HAN port for the Kamstrup) | Choose the Model: the serial settings are preset. Addresses are created from the first frames received. |
| Impulse | A device that sends at least one byte on a serial line for each pulse | The gateway does not read a dry contact directly. Several counters can share a line, each identified by the text it sends. |
All four drivers are licensed options: a gateway without the licence stops at start with missing license. Contact support@weble.ch.
How often the values are refreshed depends on the driver:
| Driver and mode | Refresh |
|---|---|
M-Bus Serial / TCP |
Polling (ms/cron) of the gateway, a duration in milliseconds or a cron expression (*/15 * * * * = every 15 minutes). A meter can have its own Polling (ms/cron) in its address form. |
M-Bus Wireless |
Set by the meter: the gateway receives each telegram the meter transmits. |
OBIS D0Protocol |
Polling column of the root address (%obis:), duration in ms or cron. |
OBIS DLMS |
Fixed: every 30 seconds. |
OBIS By meter model |
Set by the meter (the E450 of the article pushes its instantaneous values every 5 seconds). |
| Impulse | Each pulse updates the counter immediately. |
Recommendations:
always then records one point per reading, which gives regular time series for exports.Route and log the address that holds the value itself, not the meter address (which holds a JSON object with all the data).
| Driver and mode | Address to route and log | Unit |
|---|---|---|
M-Bus Serial / TCP |
%mbus:<meter>/<record>, for example %mbus:12345678254D0107/1 (with Only values, the default). The description of each record gives the quantity. |
With Apply unit factor (default), the factor of the meter is applied and energies are converted to kWh. Scale and Offset of the address can convert further (for example 0.001 for litres to m³). |
M-Bus Wireless |
The value addresses created under the meter address. See the M-Bus page. | As decoded from the telegram. |
OBIS D0Protocol |
%obis:/<code>/value, created by you with the code copied from the root value. |
Unit sent by the meter (/unit address). |
OBIS DLMS |
%obis:/1.8.0/value (active energy import), %obis:/16.7.0/value (active power)... |
Unit sent by the meter. |
OBIS By meter model |
%obis:/1.1.1.8.0.255/value (E450 total import energy), %obis:/1.0.1.7.0.255/value (E450 import power)... |
Sent by the meter: Wh and W for the E450, not kWh. |
| Impulse | %impulse (or %impulse:<text> when the line carries several counters) |
Set by the increment: with one pulse per 10 Wh, set %impulse/increment to 0.01 to count in kWh. |
Points to check:
always on the %impulse address so that the counter is kept after a restart, and align it with the meter reading by writing that reading to %impulse.%impulse/dt, the time between the two last pulses.on update, always or a duration). See Logging and history.