Skip to main content

Connecting to the Cloud

In this guide, you will learn how to connect your devices to HARDWARIO Cloud by creating a new connector, transforming your data, and sending it to ThingsBoard. By the end, your data will flow automatically into the platform.


Step-by-Step Instructions

  1. Create a New Connector

    To establish communication with ThingsBoard, go to the Connectors section in the left-hand menu.
    Click + New Connector and configure the following:
    Name – give your connector a name
    Type – select Webhook for ThingsBoard integration
    Trigger – choose Data
    Tag – assign the tag you created earlier

    ThingsBoard - Create a New Connector


  1. Transform Data for ThingsBoard Format

    ThingsBoard requires a specific data format. You need to adjust your device data using a transformation code.
    In the connector page, scroll down to the Transformation section and click the magnifying glass icon 📄🔍 to open the code editor.

    ThingsBoard - Transform Data for ThingsBoard Format


  1. Insert the Transformation Code

    Add the transformation logic that converts incoming data to a ThingsBoard-compatible format.

    ThingsBoard - Insert the Transformation Code

    Example of transformation code here:


  1. Assign Devices to Connector

    Scroll down and select which devices (with the matching tag) should be connected.
    On the left side, you'll see incoming data from the device.
    On the right side, you'll see the transformed data being sent to ThingsBoard.

ThingsBoard - Assign Devices to Connector


Once everything is properly configured, your device’s data should begin flowing into ThingsBoard automatically.

tip

You can test the data by opening your device in ThingsBoard and checking whether the variables are being updated in real-time. You can find them by clicking on the device and then selecting the Latest Telemetry tab.

Thingsboard - Latest Telemetry

tip

If you need further assistance or a visual demonstration of the process described in this guide, consult the Video Guide.