Thingsboard物联网网关接入ThingsBoard物联网平台的操作说明

本文包含关于如何配置ThingsBoard 平台和连接钡铼技术R40设备的说明。ThingsBoard平台是一个用于数据收集、处理、可视化和设备管理的开源物联网平台。它通过行业标准MQTT协议实现设备连接。ThingsBoard结合了可扩展性、容错性和性能,因此您永远不会丢失数据。

4G LTE Industrial Router and ThingsBoard Introduction

This article contains instructions on how to configure ThingsBoard PE platform and connect KERNEL devices. ThingsBoard PE platform is an open-source IoT platform for data collection, processing, visualization, and device management. It enables device connectivity via industry standard MQTT protocol. ThingsBoard combines scalability, fault-tolerance and performance so you will never lose your data.

Integration flow:

Step 1 ThingsBoard : Device configuration

Step 1.1\] Login to your ThingsBoard instance, Open "Device Groups" page. ![](https://img-blog.csdnimg.cn/img_convert/693571217ecbf2f3e79e8be0a26bc85f.png) * \[Step 1.2\] Navigate to default Device group "All". ![](https://img-blog.csdnimg.cn/img_convert/63283c9936b5045d75861c881d4b7314.png) 1.Click on one of the marked in red buttons in the Device groups overview page. In this page you can also add additional device groups in order to distinguish different devices with unique data flows. 2.Click marked "+" buttons to add new device to the group. * * \[Step 1.3\] Input device name, For example "R40". No other changes are required at this time. Click "Next:Credentials" to configure credentials. ![](https://img-blog.csdnimg.cn/img_convert/053cf35b58303c051a0942db9e7a9686.png) * * \[Step 1.4\] Credentials type: MQTT Basic ![](https://img-blog.csdnimg.cn/img_convert/57399f3d94b29e993d7d660ade642ddc.png) 1.Choose credentials type:MQTT Basic. 2.Set Client ID, For example "R40". 3.Set username which will be used in MQTT authorization. 4.Set password which will be used in MQTT authorization. * #### Step 2 Industrial Router configuration * \[Step 2.1\] Login to Router. The default username is "admin", and no password. ![](https://img-blog.csdnimg.cn/img_convert/076d0c40b6cf5ba89e3750b4918d3f7d.png) * * \[Step 2.2\] Click Menu "Cloud platform", Choose "Custom cloud", Click "Add" to add a cloud configuration... ![](https://img-blog.csdnimg.cn/img_convert/eea6034ecc68e5e05c6cae3250d68943.png) * * \[Step 2.3\] Click "Edit" to edit configuration. ![](https://img-blog.csdnimg.cn/img_convert/eb1bc578a476ca78967cd0129a6177aa.png) * * \[Step 2.4\] Edit thingsboard configuration. ![](https://img-blog.csdnimg.cn/img_convert/759cf88bc282b4b23058b34150a9b449.png) 1.Choose ThingsBoard platform. 2.Set MQTT ID, See "Step 1.4". 3.Set username, See "Step 1.4". 4.Set password, See "Step 1.4". 5.Set publishing period. 6.Click "Save" to save configuration and "Back to Overview". * * \[Step 2.5\] Check "Enable setting", Click "Save\&Apply" to apply configuration. ![](https://img-blog.csdnimg.cn/img_convert/ac07fee597d47f42e83cd6e7f029d122.png) * #### Step 3 Adding widget to the dashboard * \[Step 3.1\] 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: ![](https://img-blog.csdnimg.cn/img_convert/0b9309211a7b1560f7e6580193f10a10.png) 1.Click on the configured device. 2.From the pop-up menu select Latest telemetry option. There you should see collected data. * * \[Step 3.2\] In order to display data in the widget you should: ![](https://img-blog.csdnimg.cn/img_convert/ba2079885c3c236017b88882c588aef8.png) 1.Click on the gathered data row. 2.Press Show on widget button. ![](https://img-blog.csdnimg.cn/img_convert/6b0e7c0560d59144e0c8e7d95ed8cfb1.png) 1.Choose bundle accordingly to your data. 2.Choose suitable chart for your data visualization. 3.Add widget to dashboard. ![](https://img-blog.csdnimg.cn/img_convert/6b33129052e3b54a879b7f6c04d6d383.png) 1.Create new dashboard. 2.With this option enabled after addition you will be redirected to newly created dashboard 3.Adds widget to dashboard. ![](https://img-blog.csdnimg.cn/img_convert/d06c91ac9552bfaf753ec9e12da70cc2.png) * Explore guides related to main ThingsBoard features: * \[Create Dashboard\](http://www.ithingsboard.com/docs/getting-started-guides/helloworld/" \\l "step-3-create-dashboard) - how to create a new dashboard. * [Working with IoT dashboards](http://www.ithingsboard.com/docs/user-guide/dashboards/) - how to work with dashboards.

相关推荐
一尘之中3 分钟前
Linux命令行查看磁盘大小完全指南
linux·运维·ai写作
马儿能够一直跑10 分钟前
同一个环境中安装两个不同版本esp-idf的python冲突解决方案
linux·运维·服务器
vortex516 分钟前
从 Scoop 故障看 Windows 与 Linux 软硬链接与权限机制的底层差异
linux·运维·windows
Felven42 分钟前
盛科工业千兆网交换机端口计数查看
运维·网络·盛科交换机
Unlyrical44 分钟前
为什么moduo库要进行线程检查
linux·服务器·开发语言·c++·unix·muduo
hg01181 小时前
豫非搭建“黄金水道” 河南首个海外港口枢纽启动试运营
大数据·人工智能·物联网
橘颂TA1 小时前
【Linux】System V 通信——共享内存
linux·运维·服务器·c++
天赐学c语言1 小时前
Linux - 网络基础概念
linux·服务器·网络·socket
sugar__salt1 小时前
网络编程套接字(二)——TCP
java·网络·网络协议·tcp/ip·java-ee·javaee
程序员果子1 小时前
零拷贝:程序性能加速的终极奥秘
linux·运维·nginx·macos·缓存·centos