Changes for page ThingsBoard
Last modified by Dilisi S on 2025/04/02 02:09
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -86,9 +86,9 @@ 86 86 87 87 You should see that the newly added **MQTT Uplink converter **NB/CB is listed on the **Data Converters** page. 88 88 89 -[[image:data-converter-list-showing-uplink-dc.png]] 90 90 91 91 91 +[[image:create-new-converter-menu.png||width="500"]] 92 92 93 93 == 3.2 Downlink == 94 94 ... ... @@ -95,11 +95,9 @@ 95 95 96 96 On the **Data converters** page, click on the ‘**+**’ button, and then click on the **Create new converter** from the dropdown menu. 97 97 98 +[[image:ThingsBoard-new-data-converter.png||height="282" width="500"]] 98 98 99 -[[image:create-new-converter-menu.png||width="500"]] 100 100 101 - 102 - 103 103 The **Add data converter** window will appear. Name it ‘**MQTT Downlink Converter NB/CB**’ and select the Type as **Downlink**. 104 104 105 105 Click on the **TBEL** button if not selected it by default. Now copy and paste the following encoder function written in **TBEL (ThingsBoard Expression Language)** in to the **code editor**. This encoder function is compatible for both NB and CB series devices. ... ... @@ -154,23 +154,19 @@ 154 154 You should see that the newly added **MQTT Downlink** Converter NB/CB is listed on the **Data Converters** page. 155 155 156 156 155 + 157 157 [[image:data-converters-list.png]] 158 158 159 -(% class="wikigeneratedid" %) 160 - 161 - 162 162 = 3. Add Integration = 163 163 164 164 165 165 In the left navigation, click **Integrations center**, and then click **Integrations**. 166 166 167 - 168 -[[image:integrations-list-empty.png]] 169 - 170 - 171 171 On the **Integrations** page, click on the '**+**' button. 172 172 165 +[[image:data-converter-list-page.png]] 173 173 167 + 174 174 The **Add integration** window appears. 175 175 176 176 In the **Add integration** window, configure the following settings: ... ... @@ -180,13 +180,9 @@ 180 180 181 181 * **Integration type**: MQTT 182 182 * **Name**: MQTT integration NB/CB 183 -* **Enable integration**: YES 184 -* **Allows create devices or assets**: YES 185 185 186 186 Click **Next** button. 187 187 188 - 189 - 190 190 [[image:add-integration-basic-settings.png||height="511" width="500"]] 191 191 192 192 ... ... @@ -197,11 +197,9 @@ 197 197 198 198 Click **Next** button. 199 199 190 +[[image:add-integration-uplink-data-converter.png||width="500"]] 200 200 201 201 202 -[[image:add-integration-uplink-data-converter.png||height="511" width="500"]] 203 - 204 - 205 205 **Downlink data converter:** 206 206 207 207 * Click on the **Select existing** button. ... ... @@ -209,11 +209,9 @@ 209 209 210 210 Click **Next** button. 211 211 200 +[[image:add-integration-downlink-data-converter.png||height="510" width="500"]] 212 212 213 213 214 -[[image:add-integration-downlink-data-converter.png||height="511" width="500"]] 215 - 216 - 217 217 **Connection:** 218 218 219 219 * **Host**: Cluster URL (Eg. 011731f7928541588a6cdfbbedfc63f4.s1.eu.hivemq.cloud) ... ... @@ -224,34 +224,19 @@ 224 224 * **Password:** Password (from your HiveMQ Cloud Cluster with your credentials) 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 - 228 - 229 -[[image:add-integration-connection.png||height="511" width="500"]] 230 - 231 - 232 -Click on the **Advanced settings** button. 233 - 234 234 * **Clean session:** NO 235 235 * **Retained**: NO 236 236 237 -[[image:add-integration-connection-advanced-settings.png||height="510" width="500"]] 238 - 239 - 240 240 Click on the **Check connection** button to verify the MQTT connection using the provided parameters. 241 241 218 +[[image:add-integration-connection.png||width="500"]] 242 242 243 243 244 -[[image:check-connection.png||height="83" width="300"]] 245 - 246 - 247 247 If the connection is successful, you will see the **Connected** message. 248 248 249 - 250 -[[image:connection-success.png||height="511" width="500"]] 251 - 252 - 253 253 Click on the **Add** button. 254 254 225 +[[image:add-connection-success.png||height="511" width="500"]] 255 255 256 256 257 257 You should see that the newly added integration is listed on the **Integrations** page. ... ... @@ -271,3 +271,4 @@ 271 271 {{/code}} 272 272 273 273 If the integration was performed without errors, after the transmission of the first telemetry, a new device with the name “S31B-NB” will appear in the Devices → All. Also, you can verify the input and output data, respectively, before and after conversion in Data converters → UDP Uplink Converter NB/CB → Events. 245 +