Stand with Ukraine flag
Pricing Try it now
Professional Edition
How to connect RS26x LoRaWAN Temperature Sensor to ThingsBoard?
Getting Started Documentation Devices Library Guides Installation Architecture API FAQ
On this page

How to connect RS26x LoRaWAN Temperature Sensor to ThingsBoard?

Introduction

RS26x LoRaWAN Temperature Sensor The Sentrius™ RS26x s a battery powered IP67 temperature sensor platform that delivers HACCP level temperature monitoring with real time alerting for your food safety compliance. In addition to ensuring product safety, these intelligent devices avoid inventory loss, improve facility efficiency and save you time and money in automated day to day operations.

They are available in two variants: One with an internal temperature sensor, and a second that supports an external sensor probe.

Doc info icon
ThingsBoard PE feature

Only Professional Edition supports Platform Integrations feature.
Use ThingsBoard Cloud or install your own platform instance.

Prerequisites

To continue with this guide we will need the following:

Device connection

Please follow the official RS26x Getting Started Guide: Connecting RS26x to The Things Stack v3 and the official RS26x User Guide to configure the sensor properly and connect it to The Things Stack.

Creating an Application on TTN

On the TTN console go to Applications:

image

and select “Add Application”:

image

Now we can register end devices.

Register End-Device at TTN

In the newly created application select the Application overview and click on + Register end device.

image

The Ezurio RS26x LoRaWAN sensor is a known device at TTN and hence you can select it from the device repository.

image

Apply the below settings and make sure to align the region profile and frequency plan with your location.

image

Next we need to enter the provisioning information for the new device.

image

JoinEUI, DevUEI and AppKey are provided as QR code on the RS26x sensor.

image

Alternatively you can also grab the provisioning information from the RS26x Sensor Applet in the Xbit mobile app.

The Ezurio Xbit app for configuration of the RS26x is available for Android and iOS. See the official RS26x quick start guide and RS26x user guide for details on configuring the RS26x sensor.

The device should finally show up under the Device overview in the TTN console.

image

And you should be able to see some live data. It might take a while until new live data shows up depending on the device settings.

image

Log in to ThingsBoard

Log in to ThingsBoard by following this link and selecting your region.

image

Adding the Data Converter

The first thing to add would be the uplink data converter to convert the incoming data from TTN into a usable format for Thingsboard dashboard widgets.

  • Navigate to Data converter in the Integrations center.

image

  • Click on “+” and select import converter.

image

image

Adding an Integration

Navigate to Integration centerIntegrations and click “+” to add a new integraton.

Basic settings.

image

Select Uplink Data Converter.

image

Skip Downlink Data Converter.

image

Enter connection details.

image

Make sure to use the proper regional settings from your specific TTN settings. The credentials need to be fetched from the TTN console, see below.

image

In Thingsboard click Check connection and you should see a Connected message.

image

Click add to finish creating the integration.

image

If you now click on the integration, you should see uplink messages coming in if the RS26x is active. Depending on the set uplink interval in your device, it might take a moment until first data can be seen.

image

Note: The display of uplink messages is set to Failure messages only. To see all messages you need to enable this in the Debug Configuration as shown below.

image

You can click on the three dots in the Message column and view the uplink data sent.

image

The data is JSON format and looks like below. Underneath “decoded_payload” you see the RS26x battery status as well as the Temperature.

image

New device is created

When the device is active and transmitting data to TTN it will automatically create a Device profile…

image

…and a device.

image

Create a Dashboard

Navigate to Dashboard and click “+”.

image

This opens a new, empty dashboard where you can start adding widgets.

image

Go to Cards widgets bundle and select a Simple Value and chart card widget.

image

Select our device as data source and the data key should be temperature. Feel free to enter a new title as well.

image

You can now adjust the widget size or explore the advanced settings, for example, to add an extra decimal place.

Try adding other widgets showing other telemetry data like RSSI, SNR or the used spreading factor as indication of the link quality.

image

Conclusion

Now you can easily connect your RS26x LoRaWAN temperature sensor and start sending data to ThingsBoard.

To go further, explore the ThingsBoard documentation to learn more about key features, such as creating more dashboards and leveragin additional widgets to visualize your telemetry, or setting up alarm rules to monitor device behavior in real time.