Maritim og Marin IIoT - dokumentasjon

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

In order to make the creation and management of devices within Thingsboard consistent, they created the platform assuming that all data that is used in their platform is formatted the same way. To make this possible they created something they call "Data convertes" that processes incoming data and formats the data accordingly. The converter expects a timestamp as well as a device name, any other expected fields must be defined within the data converter. The data converter is used within an integration, the device name links the upload through the integration to a device.


Creating and configuring a data converter

To create a data converter navigate to the data converter section within Thingsboard. Press  on the left hand side followed by  in the bottom right corner. A new window in Thingsboard should now have opened for you, such as shown below.

Here we gave the converter the name "wind-buoy-converter". The type denotes if the converter should be used for data coming in or leaving Thingsboard. Where "Uplink" means the data should be coming in. The decoder function must be created to properly format the data. It is easier to just show how this can be done, rather than explain it. The following snippet 


  • No labels