Aller au contenu principal
Aller au contenu principal
Temperature and humidity sensor

Decentlab DL-CWS LoRaWAN decoder and payload format

The Decentlab DL-CWS is a LoRaWAN temperature and humidity sensor that reports surface temperature, tilt, temperature and humidity. It is rated IP67, it runs on a replaceable 2 C alkaline battery and it works from -20 to 50 °C.

Payload format

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.

Example 1 · fPort 1

Payload (hex)

02 46 39 00 03 8A 77 8A 95 97 7A 87 4C 80 47 8A 5E 0B 74

Decoded (JSON)

{
  "air_humidity": {
    "displayName": "Air humidity",
    "unit": "%",
    "value": 60.1
  },
  "air_temperature": {
    "displayName": "Air temperature",
    "unit": "°C",
    "value": 27.09
  },
  "angle": {
    "displayName": "Angle",
    "unit": "°",
    "value": 71
  },
  "battery_voltage": {
    "displayName": "Battery voltage",
    "unit": "V",
    "value": 2.932
  },
  "device_id": 17977,
  "dew_point": {
    "displayName": "Dew point",
    "unit": "°C",
    "value": 18.68
  },
  "protocol_version": 2,
  "sensor_temperature": {
    "displayName": "Sensor temperature",
    "unit": "°C",
    "value": 26.54
  },
  "surface_temperature": {
    "displayName": "Surface temperature",
    "unit": "°C",
    "value": 26.79
  }
}
FieldValue
air_humidity60.1 %
air_temperature27.09 °C
angle71 °
battery_voltage2.932 V
device_id17977
dew_point18.68 °C
protocol_version2
sensor_temperature26.54 °C
surface_temperature26.79 °C

Specifications

Manufacturer
Decentlab
Model
DL-CWS
Type
Temperature and humidity sensor
Measures
surface temperature, tilt, temperature, humidity
Protection
IP67
Battery
2 C alkaline (replaceable)
Operating temperature
-20 … 50 °C
LoRaWAN regions
EU863-870, AS923, US902-928, AU915-928

Connect it to Cloud Studio IoT

  1. 1

    Register the device in your network server

    Add it to The Things Stack, ChirpStack, Actility ThingPark or LORIOT with its DevEUI, JoinEUI and AppKey and the frequency plan of your region.

  2. 2

    Apply the decoder

    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.

  3. 3

    Connect the network server to Cloud Studio IoT

    Set up the integration once per network server; every device registered there then reaches Cloud Studio IoT with its decoded values.

  4. 4

    Build dashboards and alarms

    The decoded fields become device variables for dashboards, alarms by email or SMS, and scheduled reports.

See your Decentlab DL-CWS on a dashboard

Start a free trial, add the device with its DevEUI and get dashboards and alarms from its next uplink.

Talk to us

Frequently asked questions

Device facts and decoder examples: The Things Network Device Repository (Apache-2.0) · commit 7693223, imported 2026-10-05.