How to use ThingsBoard IoT Gateway

This guide covers the initial IoT Gateway installation and configuration. We will connect the IoT Gateway to the ThingsBoard server and visualize some basic gateway statistics: the number of connected devices and the number of messages processed. We will also configure MQTT and OPC-UA extensions to subscribe to device data sources from external devices or applications.

prerequisite

If you do not have access to a running ThingsBoard instance, use the Live Demo or Installation Guide to resolve this issue.

Step 1: Provision the gateway

In order to connect your IoT gateway to ThingsBoard server, you first need to provision gateway credentials. We'll use access token credentials as the simplest. See Device Authentication Options for more details.

Log in as a tenant administrator. In case of a local ThingsBoard server, please use the default credentials. Open "Devices" and click the "+" button in the upper right corner.

insert image description here

Fill in your gateway name and select the "Is a Gateway" checkbox. Then click Add.
insert image description here

Note: Gateway and device names should be unique within the tenant scope.

Open your newly created device card and click the "Copy Access Token" button. Paste the token in a safe place. We will use it to configure ThingsBoard in the next steps.
insert image description here

Step 2: Install the Gateway

browse

Guess you like

Origin blog.csdn.net/github_35631540/article/details/131422360