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

Compare with Current View Page History

« Previous Version 3 Next »

Introduction

One of the many cloud services that you can use to monitor information that is sent by an MQTT publisher is Thingsboard. This article will demonstrate how to configure both Thingsboard and RouterOS to publish the data using the MQTT protocol. RouterOS, in this scenario, is going to act as a gateway and publish the data from the RouterBoard to the Thingsboard's server. Thingsboard, in this scenario, will act as an MQTT broker (server, where data will be posted).

Before we proceed with the settings, you need to create an account in the Thingsboard's system. You can do so following this link.

Thingsboard configuration

After you have created an account, go to the "Device Groups" menu and create a new group:

To do that, by being in the "Device Groups" section, click on the add button "+" and enter the "Name" of the group and "Description" (if required) and click on "Add".

As a result, a new group should be created:

Choose the newly created group by clicking on it and, then, navigate to "Open entity group":

Create a new device for the group by clicking on the add button "+", and enter the "Name" for the device:

Double-check that the "Device Profile" selected for the device has MQTT support included:

By default, access token authentication is selected for the newly created device:

You can change the token by clicking on the "Manage Credentials" button or you can select another authentication method there:

If you choose to use "Access token" - the generated token should be used



  • No labels