Changes for page ThingsBoard
Last modified by Dilisi S on 2025/04/15 23:13
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -61,18 +61,30 @@ 61 61 [[image:new-device-check-connectivity.png||height="522" width="500"]] 62 62 63 63 64 -On the terminal, enter the command you copied. This command sends the MQTT payload **{temperature:25}** as telemetry data from a virtual device named **'me'**. 64 +On the terminal, enter the command you copied. This command sends the MQTT payload **{temperature:25}** as telemetry data from a virtual device named **'me'**. Of course, you can replace **'me'** with a device name or use the wildcard character **'+'** to match any device name. 65 65 66 66 67 67 [[image:mqtt-command-1.png||height="228" width="700"]] 68 68 69 69 70 +If the command is successful, you can see the telemetry data you sent under the **Latest telemetry** section. Note that the **State** is now **'Active'** in the **Latest telemetry** section. 70 70 71 71 72 72 [[image:new-device-telemetry-test.png||height="520" width="500"]] 73 73 74 74 76 +Send the same command again, only changing the **temperature** value, to see how the **Latest telemetry** section updates its data. 75 75 78 +Once you are done experimenting with this, close the window by clicking the **Close** button. 79 + 80 + 81 +[[image:mqtt-command-2.png||height="227" width="700"]] 82 + 83 + 84 + 85 +[[image:virtual-device-active.png]] 86 + 87 + 76 76 = Data Converters = 77 77 78 78 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. ... ... @@ -374,4 +374,11 @@ 374 374 375 375 = Verifying the receipt of data from the device = 376 376 377 -Connect **S31B-NB** to transfer information. If the integration was performed without errors, after the transmission of the first telemetry, a new device with the name “xxxxx” 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. 389 +On the terminal, issue the following MQTT command which simulates the device S31B-NB. 390 + 391 + 392 +{{code language="none"}} 393 +mosquitto_pub -d -q 1 -h mqtt.eu.thingsboard.cloud -p 1883 -t v1/devices/S31B-NB/telemetry -u "24vk3w9h7sqdld1me5eh" -m "{temperature:20}" 394 +{{/code}} 395 + 396 +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.
- mqtt-command-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +202.8 KB - Content
- virtual-device-active.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +202.8 KB - Content