Wireless M-Bus NB-IoT Gateway with external power supply.
Model | LOB-GW-DINRAIL-HYB-WMBUS |
Order number |
|
8000157 - Wireless M-Bus Gateway (ext. Power, Din-Rail) Including: Antenna | 8000158 - Wireless M-Bus Gateway (ext. Power, 230V) Including: Antenna, 1x cable feedthrough |
Table of Content
Overview
The Lobaro Wireless M-Bus Gateway is a simple to use, cost and energy efficient device that receives, caches and forwards metering consumption data from up to 500 Wireless M-Bus enabled devices (more on request possible), like water meters, electricity meters, heat meters onto the Internet.
The gateway collects data from all metering device conforming to the 868 MHz Wireless M-Bus standard (EN 13757-4) or uses Sensus RF Bubble UP low power short range FSK radio modulation to broadcast consumption data. Their wireless range is typically only about 50m with this traditional technology. The Lobaro Wireless M-Bus Gateway extends this range by collecting the short range data and then uploads it using modern cellular IoT networks (Narrowband IoT) onto the Internet.
Metering data is send to the Lobaro Platform, were it gets parsed, displayed and made available for further processing. Because most Wireless M-Bus telegrams are encrypted, the Platform allows adding decryption keys for individual meters, so that the data can be decrypted by the Platform.
Basic work cycle
Quick start guide
- Make sure the SIM card is inserted correctly.
- Connect power to the device
- Go to The Lobaro Platform and log into your account.
- Go to "Devices" and select your "Lobaro NB-IoT wMBus Gateway".
- If you have several Gateways: the "Address" is printed on the device's case as "DevEUI".
- You should see all wMBus Telegrams the Gateway collected so far.
- If the data is encrypted (closed lock symbol 🔒), you can add keys for your devices under "Organisation → wMbus".
- Push the reset button inside the device, if you want to trigger data collection (will take several minutes).
Compatible meters
The Lobaro wMBUS Gateways are working with every meter using standard 868 MHz wMbus:
- wireless MBUS S1, C1 or T1 mode (unidirectional 868 MHz modes following DIN EN 13757-4)
- Open metering specification (OMS) v3 & v4
- Sensus RF Bubble UP - Manufacturer specific radio protocol
For more details please refer to our Wireless M-BUS article on doc.lobaro.com.
Setting up the device
Interfaces
Connections as on the label:
- Vin - Supply voltage 12 - 24 Volt DC
- GND - Ground
- Vout - same as Vin
- NC - not connected
- NC - not connected
- GND - Ground
- Connected cables must be between 0.05 mm² (AWG30) and 1.31 mm² (AWG16).
- Inserted cable length must be between 6mm and 7mm.
- Recommended wire termination:
- Weidmüller: H0,14/10 GR SV, Article Nr.: 9005180000, 8mm/6mm, max. AWG26
- All cables must only be connected or disconnected while the device is not powered
- Vout only supports small consumers like sensors with ≤ 1W
Power Supply
- Power supply via external mains adapter with 12 - 24 Volt DC
- Power output must be at least 2W and maximum 100W.
Radio (LoRa, FSK, NB-IoT, LTE Cat-M1)
Female SMA Connector | Antenna | Nano SIM (4FF) for mobile connectivity |
The antenna is used for different radio technologies based on LoRa, FSK including LoRaWAN® and wireless MBUS S1, C1/T1 Modes (868 MHz), OMS v3 & v4.
The same antenna is also used for communication via NB-IoT and LTE Cat-M1. A Nano SIM (4FF) is required for mobile connectivity.
The SIM Cad must be inserted or removed only when the device is not powered.
Properties of compatible SMA Antennas:
SMA Joint Rod Antenna (LTE, LoRa) | |
---|---|
Frequency range | 698-960 / 1710-2700 MHz |
Length | 108 mm |
Antenna Gain | 2 dBi |
V.S.W.R | <= 2.5 |
Radiation | Omnidirektional |
Polarisation | Vertical |
Max. Power | 5 W |
Impedance | 50 Ohm |
Connector | SMA Male |
Material of dome | TPE |
Lobaro Article Nr. | 3000413 |
The device was only tested with the listed antenna. Lobar does not take liability for the use with other antennas.
RESET-Button
- Press the RESET Button to restart the deivce
- The RESET Button can be pressed through a small hole in the cover (e.g. with a paper clip). The position is marked with a ring on the label.
Config Port
- The config port can only be reached when the cover is removed
- The configuration port is compatible with our 6-pin Lobaro USB Configuration Adapter (Arcticle Nr. 8000005).
- A free to use configuration tool can be downloaded from the Lobaro website.
LED
- Status information is visualized via the LED
Mobile operator and LTE band configuration
If you are using a different mobile operator than pre-configured, you should change the mobile operator code set in the Config Parameters Operator
and (LTE) Band
Operator codes are 5 digit codes that indicate country and operator.
For details about configuration for mobile network operation please refer to our article about LTE / NB-IoT Networks
Configuration
The device is shipped with default configuration parameters. The configuration can be changed via the 6-pin config port using the Lobaro USB Configuration Adapter.
More information about the usage of the configuration tools can be found in our documentation.
Remote Configuration is also supported after initial network connection.
Connection Parameters
Name | Description | Default Value | Value Description & Examples |
---|---|---|---|
WAN | Uplink techoology | lte | Possible values: lte , lorawan |
LoRaWAN Parameters
Name | Description | Default Value | Value Description & Examples |
---|---|---|---|
OTAA | Activation: OTAA or ABP | true | true = use OTAA, false = use ABP |
DevEUI | DevEUI used to identify the Device | e.g. 0123456789abcdef | |
JoinEUI | Used for OTAA (called AppEUI in v1.0) | e.g. 0123456789abcdef | |
AppKey | Key used for OTAA (LoRaWAN v1.0.x and v1.1) | ||
NwkKey | Key used for OTAA (LoRaWAN v1.1 only) | ||
| Initial and maximum Spearding Factor | 12 | |
ADR | Adaptiv Data Rate (ADR) enabled | true | |
TimeSync | Days after which to sync time over LoRaWAN | 0 | days, 0 =don't sync time |
RemoteConf | Allow remote config via LoRaWAN | true | |
LostReboot | Days without downlink before reboot | 7 | days, 0 =never reboot |
PayloadFormat |
| 0 | For details see manual of wMBUS LoRaWAN bridge |
NB-IoT Parameters
The NB-IoT functionality is enabled if the WAN
parameter is set to "lte". A SIM-Card has to inserted.
Name | Description | Default Value | Value Description & Examples | |
---|---|---|---|---|
Host | Hostname / IP of the Lobaro Platform API | 94.130.20.37 | 94.130.20.37 = backend.lobaro.com DNS is not supported yet | |
Port | Port number of the Lobaro Platform API | 5683 | ||
Operator | Mobile Operator Code | 26201 | 26201 (=Deutsche Telekom), for other operators, see above. | |
Band | NB-IoT Band | 8 | "8", "20", "8,20", Empty = Auto detect (longer connecting time) | |
APN | Mobile operator APN | iot.1nce.net | 1nce: iot.1nce.net Vodafone Easy Connect: lpwa.vodafone.com (l = little L) | |
PIN | SIM PIN (since v0.7.0) | Empty or 4 digits (e.g. 1234) | ||
UseNbiot | Try to connect with NB-IoT | true | ||
UseLtem | Try to fallback to LTE-M when supported by the Modem | false | not supported with all Hardware revisions |
Metering reception Parameters
Name | Description | Default Value | Default Values & Examples |
---|---|---|---|
cmodeDurSec | Duration (Seconds) of wireless M-Bus C1/T1-mode receive | 300 | 0 = Do not collect C1/T1 mode |
smodeDurSec | Duration (Seconds) of wireless M-Bus S1-mode receive | 0 | 0 = Do not collect S1 mode |
xmodeDurSec | Duration (Seconds) of Sensus RF receive | 0 | 0 = Do not collect Sensus RF telegrams |
mFilter | wMBus manufacturer filter sep. by , e.g. dme,itw (Comma separated list WITHOUT spaces) | blank = no filter, not used for xmode (Sensus RF) | |
typFilter | meter device type filter e.g. 08,07 for Heat Cost and Water (Comma separated list WITHOUT spaces) |
| |
devFilter | meter id filter e.g.
| blank = no filter | |
maxTelegrams | Maximum number of telegrams to receive. If reached, the upload is started. | 0 | |
listenCron | Cron expression† defining when to receive wMBUS | 0 0 12 * * * | 0 0 12 * * * = (once per day) |
extRam | Configure paramters for the external ram in format: <bytes>,<type>
| empty |
|
† See also our Introduction to Cron expressions.
Modes of operation (work cycle)
This chapter explains how the device works to collect and upload wireless Mbus data.
- Wakup at
listenCron / On start up of device ignore listenCron always run following steps.
- Collect C-Mode and T-Mode telegrams for
cmodeDurSec
(if not 0) Collect S-Mode telegrams for
smodeDurSec
(if not 0)- Collect X-Mode telegrams (Sensus RF) for x
modeDurSec
(if not 0) - Upload all stored data via NB-IoT / LTE-CatM1 or LoraWAN (see "WAN" configuration)
- When the upload fails the upload is retried every 24h or until the next
listenCron
trigger.
- When the upload fails the upload is retried every 24h or until the next
- Sleep till next
listenCron
or status telegram upload.
Deduplication
When collecting wMbus telegrams, duplicates are always replaced by the latest telegram in memory. This leads to only 1 Telegram per Type and Meter per upload phase.
A telegram is considdered a duplicate when all of the following criteria match:
- The actual length of the telegram is the same
- The ID is the same
- The CI-Field is the same
Mobile data consumption
Uploading one wMbus telegram consumes approximately 400 bytes data including all metadata.
Telegram upload interval | Monthly NB-IoT data usage |
---|---|
1 each Day | ~12 kB |
8 each Day (every 3h) | ~100 kB |
400 each Week | ~700 kB |
250 each Day | ~3 MB |
All calculations are estimations and might varry depending on the configuration
The Lobaro Platform
The easiest way to work with the Lobaro wMBus Gateway is the Lobaro Platform. You can find it under https://platform.lobaro.com – Log in with the credentials provided by Lobaro.
Your Gateways should be listed under "Devices". If you have multiple devices in your account, you can distinguish them by the field "Address". The Address is printed on the box of the Gateway (the Address is the IMEI of the modem used by the device; that is the unique hardware address used for mobile communication).