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.

相关推荐
松涛和鸣7 分钟前
72、IMX6ULL驱动实战:设备树(DTS/DTB)+ GPIO子系统+Platform总线
linux·服务器·arm开发·数据库·单片机
上海合宙LuatOS1 小时前
LuatOS核心库API——【audio 】
java·网络·单片机·嵌入式硬件·物联网·音视频·硬件工程
Yeats_Liao2 小时前
评估体系构建:基于自动化指标与人工打分的双重验证
运维·人工智能·深度学习·算法·机器学习·自动化
爱吃生蚝的于勒2 小时前
【Linux】进程信号之捕捉(三)
linux·运维·服务器·c语言·数据结构·c++·学习
The森2 小时前
Linux IO 模型纵深解析 01:从 Unix 传统到 Linux 内核的 IO 第一性原理
linux·服务器·c语言·经验分享·笔记·unix
jl48638213 小时前
变比测试仪显示屏的“标杆“配置!如何兼顾30000小时寿命与六角矢量图精准显示?
人工智能·经验分享·嵌入式硬件·物联网·人机交互
文艺理科生Owen3 小时前
Nginx 路径映射深度解析:从本地开发到生产交付的底层哲学
运维·nginx
三水不滴3 小时前
有 HTTP 了为什么还要有 RPC?
经验分享·笔记·网络协议·计算机网络·http·rpc
期待のcode3 小时前
Redis的主从复制与集群
运维·服务器·redis
翼龙云_cloud3 小时前
腾讯云代理商: Linux 云服务器搭建 FTP 服务指南
linux·服务器·腾讯云