<
From version < 116.1 >
edited by Dilisi S
on 2025/03/08 20:12
To version < 121.1 >
edited by Dilisi S
on 2025/03/08 20:30
>
Change comment: Mar 8 edits - part 2

Summary

Details

Page properties
Content
... ... @@ -17,16 +17,103 @@
17 17  The **NB series** devices end with the suffix **-NB**, and the **CB series** devices end with the suffix **-CB**. For example, **S31B-NB** is an **NB device**, and **S31-CB** is a **CB device**.
18 18  
19 19  
20 += 2. Prerequisites =
20 20  
22 +To complete this tutorial, you need to have the following:
21 21  
24 +* ThingsBoard cloud account
25 +* HiveMQ Cloud account
22 22  
23 -= 2. Data Converters =
24 24  
28 +== 2.1 ThingsBoard Cloud ==
25 25  
30 +
31 +Add details here
32 +
33 +== 2.2 HiveMQ Cloud ==
34 +
35 +
36 +Go to [[https:~~/~~/www.hivemq.com>>https://www.hivemq.com]]
37 +
38 +Click on the **Start Free** button.
39 +
40 +[[image:hivwmq-1.png]]
41 +
42 +
43 +Click on the **Sign Up FREE Now** button in the **HIVEMQ CLOUD** section.
44 +
45 +[[image:hivemq-2.png]]
46 +
47 +
48 +Click on the **Sign Up** button.
49 +
50 +You can sign up with HiveMQ using your **GitHub**, **Google**, or **LinkedIn** account.
51 +
52 +If not, provide your **email address** and a **password** to create an account by clicking on the **Sign Up** button.
53 +
54 +
55 +[[image:hivemq-3.png]]
56 +
57 +
58 +You will receive an email to verify your email address. Click on the **Confirm my account** button.
59 +
60 +
61 +[[image:hivemq-4.jpg||height="889" width="400"]]
62 +
63 +
64 +You will be redirected to a page asking you to complete your profile. Once done, click the **Continue** button.
65 +
66 +
67 +[[image:hivemq-5.png||height="655" width="700"]]
68 +
69 +
70 +Select the CloudMQ Cloud plan you need. For testing purposes, select the **Serverless FREE** plan by clicking on the **Create Serverless Cluster** button.
71 +
72 +
73 +[[image:hivemq-6.png]]
74 +
75 +
76 +You will be navigated to the **Your Clusters** page. Click on the **Manage Cluster** button.
77 +
78 +[[image:hivemq-7.png]]
79 +
80 +
81 +In your cluster page, you can find some useful parameters you need to create a MQTT connection.
82 +
83 +**URL**: This is the host name. Click on the copy button to copy it.
84 +
85 +**Port**: 8883
86 +
87 +
88 +Click on the **Getting Started** tab to setup the username and the password as the connection credentials.
89 +
90 +
91 +[[image:hivemq-8.png]]
92 +
93 +
94 +In the '**Create Connection Credentials**' section, provide a **username** and **password**, then click the **Add** button.
95 +
96 +
97 +[[image:hivemq-9.png]]
98 +
99 +
100 +
101 +If everything is successful, you will see the following message.
102 +
103 +
104 +[[image:hivemq-10.png||height="206" width="500"]]
105 +
106 +
107 +You will need these MQTT connection parameters when configuring the MQTT integration in the '**Add Integration**' section.
108 +
109 +
110 += 3. Data Converters =
111 +
112 +
26 26  In **ThingsBoard**, **Data Converters** are components used to transform incoming or outgoing data between different formats, typically to convert raw telemetry data from devices into a structured format that ThingsBoard can understand, or vice versa.
27 27  
28 28  
29 -== 2.1 Uplink ==
116 +== 3.1 Uplink ==
30 30  
31 31  
32 32  In the left navigation, click **Integrations center**, and then click **Data converters**.
... ... @@ -156,10 +156,9 @@
156 156  
157 157  [[image:data-converters-list.png]]
158 158  
159 -(% class="wikigeneratedid" %)
160 160  
161 161  
162 -= 3. Add Integration =
248 += 4. Add Integration =
163 163  
164 164  
165 165  In the left navigation, click **Integrations center**, and then click **Integrations**.
... ... @@ -225,7 +225,6 @@
225 225  * **Topic:** tb/mqtt-integration-tutorial/sensors/+/telemetry (the + replaces any 'device name' and creates devices in the Entities -> Devices)
226 226  * **QoS:** 0-At most once
227 227  
228 -
229 229  [[image:add-integration-connection.png||height="511" width="500"]]
230 230  
231 231  
... ... @@ -240,11 +240,10 @@
240 240  Click on the **Check connection** button to verify the MQTT connection using the provided parameters.
241 241  
242 242  
243 -
244 244  [[image:check-connection.png||height="83" width="300"]]
245 245  
246 246  
247 -If the connection is successful, you will see the **Connected** message.
331 +If the connection is successful, you will see the **Connected** message. If not, check your connection parameters again.
248 248  
249 249  
250 250  [[image:connection-success.png||height="511" width="500"]]
... ... @@ -252,15 +252,15 @@
252 252  
253 253  Click on the **Add** button.
254 254  
255 -
256 -
257 257  You should see that the newly added integration is listed on the **Integrations** page.
258 258  
259 259  Since we haven't received data from a device yet, the integration **Status** is shown as **Pending.**
260 260  
261 -[[image:integrations-list-added-pending.png]]
262 262  
263 263  
345 +[[image:new-integration-pending.png]]
346 +
347 +
264 264  = 5. Verifying the receipt of data from the device =
265 265  
266 266  
hivemq-8.png
Size
... ... @@ -1,1 +1,1 @@
1 -294.1 KB
1 +268.7 KB
Content
hivemq-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.pradeeka
Size
... ... @@ -1,0 +1,1 @@
1 +82.7 KB
Content
hivemq-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.pradeeka
Size
... ... @@ -1,0 +1,1 @@
1 +303.7 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0