Back to all articles

RAK and Dragino sensors to Datacake: complete 2026 dashboard workflow

Connect RAK Dragino sensors to Datacake through a LoRaWAN server. Set up forwarding, decode payloads, build dashboards and fix missing readings step by step.

KIEditorial TeamNov 24, 2026 — 11 min read
RAK and Dragino sensors to Datacake: complete 2026 dashboard workflow

Instead of manually copying readings, connect RAK and Dragino sensors to Datacake through a LoRaWAN network server; the Dragino-to-ChirpStack integration workflow covers the registration stage if you use ChirpStack. The complete dashboard workflow is sensor registration, uplink forwarding, payload decoding, field mapping and dashboard validation—not a direct radio connection to Datacake.

TL;DR
  • Connect RAK and Dragino sensors to Datacake through a LoRaWAN network server, then validate decoding before building dashboards.
  • Use a Datacake template only when it matches the exact sensor and payload format.
  • Custom RAK firmware needs a decoder matching the transmitted bytes, not merely the hardware brand.
  • Kilo Electronics supplies IoT hardware; network-server configuration and Datacake dashboard configuration are separate tasks.

Why this matters

A sensor appearing online does not prove that its dashboard readings are correct. A gateway can receive packets while the network server rejects them, or Datacake can receive a payload that its decoder interprets incorrectly.

Treat the workflow as separate stages: Sensor, Gateway, Network server and Datacake. The sensor measures and transmits; the gateway forwards radio packets; the network server manages LoRaWAN communication; Datacake turns forwarded application data into stored fields and visualisations.

Data path from a sensor through a gateway and network server to Datacake
Validate each stage separately before treating a dashboard reading as trustworthy.

Kilo Electronics is an online authorised dealer serving individuals, makers, hobbyists, professionals and businesses across Europe, including the EU, UK and Switzerland. Kilo Electronics suits buyers comparing IoT hardware across manufacturers. Hardware selection remains separate from operating the network server and configuring Datacake.

Before you start

  • Accounts and permissions: Have a Datacake workspace with permission to add devices and edit their configuration, plus access to the LoRaWAN application containing your sensors. This guide uses The Things Stack, including The Things Network, for the main forwarding route.
  • Device identity and radio access: Have the exact sensor model, firmware version, regional radio plan, activation credentials and a gateway connected to your chosen network server. Record the intended installation country separately from the seller's location.
  • The easy-to-miss requirement: Obtain the payload documentation or decoder for the exact firmware. A RAK development board running custom firmware and a finished Dragino sensor do not necessarily transmit comparable messages, even when both measure temperature.

For over-the-air activation, commonly called OTAA, a DevEUI is a 64-bit device identifier. A JoinEUI is also 64 bits, while an AppKey is a 128-bit secret key; the required key set depends on the LoRaWAN version. Keep keys out of screenshots, shared dashboards and public repositories.

Choose your Datacake decoding route

Choose how Datacake will interpret the sensor messages before configuring forwarding. Otherwise, you can finish the network setup and still have no usable measurements.

RouteBest forAdvantageLimitation
Matching Datacake device templateA sensor whose exact model and payload are covered by the templateProvides a starting point for decoding and field configurationA similar model name does not establish a payload match
Custom Datacake decoderCustom RAK firmware or another documented payload without a matching templateKeeps conversion and field output under your controlYou maintain parsing, units and firmware compatibility
Network-server decoding plus custom ingestion mappingAn existing application already producing normalised measurementsCan reuse an established data structureThe receiving integration must explicitly map those measurements; forwarding JSON alone does not establish compatibility

Prefer a matching template when it genuinely matches; use a custom decoder when it does not. Do not select a template solely because its manufacturer logo matches the enclosure.

For a RAK-based project, identify the firmware application as well as the board. For a Dragino device, identify the model and message type. In both cases, distinguish routine measurement packets from configuration replies or status packets before deciding which fields to store.

Register the device on your LoRaWAN network server

  1. Open the intended application on your network server. Keep unrelated projects separate so integration credentials and device ownership remain understandable.
  2. Register the sensor using its DevEUI and the activation details required by its LoRaWAN version. Where the interface uses JoinEUI and AppKey, enter the values supplied with or configured on that device.
  3. Select a device profile matching the regional radio plan, LoRaWAN version and relevant device behaviour. Match the sensor and gateway configuration; geography alone does not configure either device.
  4. Connect the gateway to that same network-server environment. A gateway registered elsewhere does not automatically deliver packets into your application.
  5. Activate the sensor according to its manual, then inspect the application's live events for a successful join and subsequent application uplinks.

Expected result: The network server shows uplinks associated with the correct device identifier and a reception timestamp. Record an example payload, its application port and the firmware version before continuing.

A LoRaWAN application port helps identify how the application should interpret a message. Preserve it alongside the payload: different ports can carry different message types.

Separate radio problems from application problems

If no uplinks appear, stop here. Changing a dashboard widget cannot repair an unsuccessful join, incorrect key or mismatched radio configuration.

Also distinguish the gateway's internet connection from the sensor's radio link. Ethernet, Wi-Fi or cellular backhaul carries gateway traffic to the network server; cellular backhaul does not turn a LoRaWAN sensor into an NB-IoT device.

Datacake device and forwarding configuration

Create the matching Datacake device

  1. In Datacake, open Devices and select Add Device. Choose the LoRaWAN device-creation route rather than treating the sensor as a direct internet-connected device.
  2. Select an exact matching template when one is provided for your sensor and payload. Otherwise, use a custom configuration and prepare to supply the decoder and fields.
  3. Enter the sensor's DevEUI as its LoRaWAN identity. Compare the hexadecimal characters with the network-server registration rather than relying on a friendly device name.
  4. Give the device a descriptive name identifying its location and measurement purpose. Keep an installation record linking that name to the physical sensor.
  5. Open the device's Configuration area and review the decoder and measurement fields before adding dashboard widgets.

Expected result: Datacake contains a device with the correct identity and an explicit decoding route. An empty chart at this stage is not a failure: forwarding and decoding still need validation.

Do not interpret a successful device-creation screen as proof of sensor compatibility. It confirms the dashboard-side record, not the meaning of the incoming bytes.

  1. Open the application containing the sensor in The Things Stack. Under Integrations, open Webhooks and select Add webhook.
  2. Choose the Datacake webhook template. Use the credentials requested by that integration, with access to the intended Datacake workspace and devices.
  3. Save the integration in the application that actually receives the sensor uplinks. A webhook attached to another application will not forward this device's messages.
  4. Generate a normal measurement uplink using the sensor's documented procedure, or wait for its configured reporting interval. Do not confuse a join event with a measurement message.
  5. Inspect the webhook delivery result and then the Datacake device's incoming data or decoder activity. Compare the device identity and payload with the network-server event.

Expected result: An application uplink reaches Datacake for the intended sensor. The network server accepting the packet and the webhook delivering it are separate checks; confirm both.

Treat integration credentials as secrets. When replacing a credential, update the forwarding configuration as well, then repeat the end-to-end test.

Payload decoding and dashboard configuration

Convert payload bytes into trustworthy fields

  1. Open Payload Decoder in the Datacake device configuration. Test the matching template decoder, or implement the manufacturer's documented payload format in Datacake's required decoder interface.
  2. Use a captured payload and its application port as the test input. Preserve leading zeroes and distinguish hexadecimal text from the actual byte sequence.
  3. Map each decoded output to the intended field identifier. Match spelling and capitalisation exactly; a readable display label is not a substitute for the identifier used by the decoder.
  4. Assign the correct data type and unit. Temperature, relative humidity, contact state and battery voltage need different representations; voltage is not automatically a battery percentage.
  5. Test signed values, scaling and message variants against the payload documentation. Confirm that status packets do not populate measurement fields with unrelated bytes.

Expected result: Each supported message produces the intended fields, with correct units and plausible values. An unsupported message should not create a convincing but meaningless reading.

Make the byte-to-field conversion explicit. A temperature encoded as a signed integer with a scale factor is not interchangeable with an unsigned whole-number reading. Network reception alone cannot expose that mistake.

Build the dashboard around decisions

  1. Open Dashboard and add a current-value display for each essential measurement. Show the unit next to the value rather than relying on the reader to remember it.
  2. Add a history chart where change over time affects a decision. Keep unrelated units on separate charts unless the visualisation clearly distinguishes their scales.
  3. Include a last-reading timestamp or another clear freshness indicator. A retained value can remain visible after the sensor stops communicating.
  4. Compare a new dashboard reading with a suitable reference under the same conditions. Allow for sensor response, mounting and measurement-method differences rather than assuming simultaneous values must match exactly.
  5. Confirm access permissions before sharing the dashboard. Share measurements without exposing device-management credentials.

Expected result: A reader can identify the measurement, unit, trend and freshness without opening configuration screens.

For a 2026 handover, record the firmware, decoder revision, field identifiers and integration owner together. That record explains what must be reviewed when someone later changes the sensor configuration.

Update the dashboard whenever a sensor reports an event

The same pipeline can handle event-driven messages, such as a contact-state change, rather than only periodic environmental readings. The sensor must support and be configured for that event; Datacake cannot make an unsupported device transmit it.

Keep the existing registration and forwarding route. Extend the decoder to recognise the documented event message, map its state into a dedicated field and display that state separately from continuous measurements.

Best for event monitoring: Use state fields for discrete changes and measurement fields for numerical values. The advantage is clearer interpretation; the limitation is that a dashboard state remains dependent on the last successfully received message.

Test both directions of a state change. Then test loss of communication separately: “closed” and “not heard from” are different conditions and should not look identical to the reader.

Troubleshooting RAK and Dragino data in Datacake

The sensor joins, but no measurements reach Datacake

Look for application uplinks after the join. If those exist, inspect webhook delivery, integration credentials and the application containing the webhook; a successful join does not prove that measurement forwarding works.

Datacake receives data, but fields stay empty

Compare the incoming DevEUI with the Datacake device, then inspect decoder output and field identifiers. Confirm that the integration supplies the payload structure expected by the decoder rather than assuming every network server sends identical JSON.

The dashboard shows impossible or badly scaled readings

Compare the captured bytes with the exact firmware's payload definition. Correct byte order, signed-number handling and scale factors before changing widget formatting; display settings do not repair an incorrectly decoded value.

Readings appear duplicated or create an unexpected pattern

Check whether multiple integrations deliver the same application uplink. Compare device identity, frame information and timestamps before deleting anything, since repeated equal measurements are not necessarily duplicate deliveries.

The chart looks healthy after the sensor goes offline

Inspect the last received timestamp rather than the displayed value alone. Add a freshness check based on the sensor's actual reporting behaviour, allowing for event-only operation where relevant.

Customise your workflow before expanding

Start with a small representative set of devices and message types. Include each payload format you intend to deploy; validating one temperature sensor does not validate every RAK or Dragino product.

For larger installations, standardise field names and units while preserving model-specific decoding. This lets comparable measurements share dashboard conventions without pretending that their underlying packets are identical.

Keep the purchasing and operating responsibilities distinct. Kilo Electronics provides a hardware buying route; your deployment still needs an owner for network-server access, Datacake credentials, decoder changes and dashboard permissions.

Budget for the complete installation: suitable sensors, gateway coverage where required, antennas, power, mounting, network-server operation, Datacake use and maintenance time. A dashboard subscription does not replace the physical radio network.

FAQ

Can RAK and Dragino sensors connect directly to Datacake?

LoRaWAN sensors connect through a gateway and network server, which forwards their application data to Datacake. Datacake then decodes and displays the measurements.

Do all RAK sensors use the same Datacake decoder?

No, a decoder must match the transmitted payload and firmware. A custom RAK-based application can use a different format from another device built with the same hardware.

Can I use ChirpStack instead of The Things Network?

Yes, ChirpStack can forward application data into an appropriate Datacake integration. Configure the receiving route for ChirpStack's event structure rather than reusing The Things Stack webhook settings unchanged.

Why does my Dragino sensor show uplinks but no dashboard values?

Uplinks prove network reception, not successful field creation. Inspect forwarding, the Datacake device identity, decoder output and field identifiers in that order.

Do I need a decoder on the network server and in Datacake?

No, you need a clearly defined decoding route, not duplicate conversion. Establish whether Datacake receives raw payload bytes or mapped measurements, then configure the receiving integration accordingly.

Can one dashboard display both RAK and Dragino measurements?

Yes, provided each device's data is correctly decoded and mapped. Use consistent units and field meanings, while keeping device identity and reading timestamps visible.

What should I record when commissioning this workflow in 2026?

Record the device model, firmware, radio plan, network application, decoder revision and dashboard field mapping. Store credentials securely and identify who maintains each stage.

One last thing

Test silence as deliberately as you test a reading. Disconnect a test sensor and confirm that the dashboard makes stale data obvious; a plausible historical value is not evidence that monitoring is still working.

You might also like