The Decentlab DL-MBX is a LoRaWAN level and distance sensor that reports distance. It is rated IP67, it runs on a replaceable 2 C alkaline battery and it works from -20 to 50 °C.
An uplink from the device as it arrives at the network server, and what the official decoder returns for it. Examples come from the decoder's own test cases.
Payload (hex)
02 01 2F 00 03 04 D2 00 01 0B B1Decoded (JSON)
{
"battery_voltage": {
"displayName": "Battery voltage",
"unit": "V",
"value": 2.993
},
"device_id": 303,
"distance": {
"displayName": "Distance",
"unit": "mm",
"value": 1234
},
"number_of_valid_samples": {
"displayName": "Number of valid samples",
"value": 1
},
"protocol_version": 2
}| Field | Value |
|---|---|
| battery_voltage | 2.993 V |
| device_id | 303 |
| distance | 1234 mm |
| number_of_valid_samples | 1 |
| protocol_version | 2 |
Add it to The Things Stack, ChirpStack, Actility ThingPark or LORIOT with its DevEUI, JoinEUI and AppKey and the frequency plan of your region.
In The Things Stack, pick the model from the device repository and its decoder is applied for you. In ChirpStack v4, paste the official decoder as the device profile's JavaScript codec.
Set up the integration once per network server; every device registered there then reaches Cloud Studio IoT with its decoded values.
The decoded fields become device variables for dashboards, alarms by email or SMS, and scheduled reports.
Device facts and decoder examples: The Things Network Device Repository (Apache-2.0) · commit a49b17a, imported 2026-09-18.