Template:Networking rutos Thingsboard.io: Difference between revisions
No edit summary |
No edit summary |
||
(37 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
__TOC__ | |||
==Introduction== | ==Introduction== | ||
This article contains instructions on how to configure | This article contains instructions on how to configure Thingsboard.io platform and connect a Teltonika-Networks devices. | ||
== | ==Connect device== | ||
The goal of this tutorial is to demonstrate the basic usage of the most popular ThingsBoard features which helps monitor Teltonika-Networks devices. | The goal of this tutorial is to demonstrate the basic usage of the most popular ThingsBoard features which helps monitor Teltonika-Networks devices.First, you need to login into the platform. Next, you will see an overview window, scroll down to <b>Device managment</b> section or simply click on the <b>Device group</b> in the navigation menu. | ||
[[File:Thingboards_io_Overview_page.png]] | |||
<li>1. Click on one of the marked in red buttons in the <b>Device groups</b> overview page.</li> | |||
<li>2. Click marked "<b>+</b>" buttons to add new device to the group.</li> | |||
[[File:Thingboards_io_device_groups.png]] | |||
</ | <li>1. In the pop up window set name for your device.</li> | ||
[[File: | <li>2. Configure your device's <b>Access token</b>(Optional)</li> | ||
[[File:Thingboards_io_add_new_device.png]] | |||
<li>1. Enable <b>Add credentials</b> option.</li> | |||
<li>2. Set desirable <b>Access token</b>. </li> | |||
<li>3. Click <b>Add</b> button to save changes. </li> | |||
[[File:Thingboards_io_configuring_credentials.png]] | |||
==Configuring data source== | |||
Different data streams can be selected depending on the device's supported functionality's. In this example we will be using <b>Modbus TCP slave</b> with native <b> Modbus TCP master </b> functionality. | |||
<li>1. First, change WEBUI mode from <b>basic</b> to <b>advanced</b>.</li> | |||
[[File:Networking_rutx_manual_webui_basic_advanced_mode.gif|border|class=tlt-border]] | |||
<li>2. Go to <b>Services → Modbus TCP slave</b> page.</li> | |||
<li>3. Enable <b>Modbus TCP slave</b>.</li> | |||
[[File:Thingboards_io_Modbus_TCP_slave.png]] | |||
<li>4. Go to <b>Modbus TCP master</b> page and add new slave device.</li> | |||
[[File:Thingboards_io_Modbus_TCP_master.png]] | |||
<li>5. Configure <b>Modbus TCP master's slave device</b> as shown below to return device's uptime value.</li> | |||
[[File:Thingboards_io_Modbus_TCP_master_device.png]] | |||
==Configuring data to server== | |||
==Configuring data to server | |||
After configuring the data source, you can add a data sender configuration. Data sender functionality is located <b>Services → Data to server</b>. You can add data sender by clicking <b>Add</b> button. | After configuring the data source, you can add a data sender configuration. Data sender functionality is located <b>Services → Data to server</b>. You can add data sender by clicking <b>Add</b> button. | ||
[[File: | [[File:Thingboards_io_Thingboards_io_Data_to_server_HTTP.png]] | ||
<li>1. Set name for the <b>Data sender</b>.</li> | |||
<li>2. Set desirable name for your data variable. Make sure that your chosen parameter is shown below JSON format field.</li> | |||
<li>3. Paste connection string with your own <b>Access token</b>.</li> | |||
<pre>https://thingsboard.cloud/api/v1/YOUR_ACCESS_TOKEN/telemetry</pre> | |||
<li>4. Add value to Custom header. </li> | |||
<pre>Content-Type:application/json</pre> | |||
[[File:Thingboards_io_data_sender_configuration.png]] | |||
[[File: | |||
==Adding widget to the dashboard== | ==Adding widget to the dashboard== | ||
The collected data can be displayed using various a widgets. To create one you should be able to see gathered data in the <b>Latest telemetry </b> section. To access it you should follow these steps: | The collected data can be displayed using various a widgets. To create one you should be able to see gathered data in the <b>Latest telemetry </b> section. To access it you should follow these steps: | ||
<li>1. Click on the configured device. </li> | |||
<li>2. From the pop-up menu select <b>Latest telemetry </b> option. There you should see collected data.</li> | |||
[[File:Thingboards_io_latest_telemetry.png]] | |||
[[File: | |||
In order to display data in the widget you should: | In order to display data in the widget you should: | ||
<li>1. Click on the gathered data row.</li> | |||
<li>2. Press <b>Show on widget </b> button.</li> | |||
[[File:Thingboards_io_latest_telemetry_data.png]] | |||
<li>1. Choose bundle accordingly to your data.</li> | |||
[[File: | <li>2. Choose suitable chart for your data visualization.</li> | ||
<li>3. Add widget to dashboard.</li> | |||
[[File:Thingboards_io_charts.png]] | |||
<li>1. Create new dashboard. </li> | |||
<li>2. With this option enabled after addition you will be redirected to newly created dashboard</li> | |||
<li>3. Adds widget to dashboard.</li> | |||
[[File: | [[File:Thingboards_io_adding_widget.png]] | ||
[[File: | |||
[[File: | [[File:Thingboards_io_dashboard.png]] | ||
==See also== | ==See also== | ||
* https://thingsboard.io/docs/getting-started-guides/helloworld-pe/ | *https://thingsboard.io/docs/getting-started-guides/helloworld-pe/ | ||
[[Category:{{{name}}} Configuration Examples]] |
Revision as of 02:53, 5 January 2021
Introduction
This article contains instructions on how to configure Thingsboard.io platform and connect a Teltonika-Networks devices.
Connect device
The goal of this tutorial is to demonstrate the basic usage of the most popular ThingsBoard features which helps monitor Teltonika-Networks devices.First, you need to login into the platform. Next, you will see an overview window, scroll down to Device managment section or simply click on the Device group in the navigation menu.
Configuring data source
Different data streams can be selected depending on the device's supported functionality's. In this example we will be using Modbus TCP slave with native Modbus TCP master functionality.
Configuring data to server
After configuring the data source, you can add a data sender configuration. Data sender functionality is located Services → Data to server. You can add data sender by clicking Add button.
https://thingsboard.cloud/api/v1/YOUR_ACCESS_TOKEN/telemetry
Content-Type:application/json
Adding widget to the dashboard
The collected data can be displayed using various a widgets. To create one you should be able to see gathered data in the Latest telemetry section. To access it you should follow these steps:
In order to display data in the widget you should:
See also
[[Category:{{{name}}} Configuration Examples]]