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
-
... ... @@ -459,6 +459,7 @@ 459 459 * **QoS:** 0-At most once 460 460 461 461 462 + 462 462 [[image:add-integration-connection.png||height="511" width="500"]] 463 463 464 464 ... ... @@ -515,10 +515,10 @@ 515 515 == 5.2 Sending messages == 516 516 517 517 518 -On the terminal, issue the following MQTT command which simulates the device S31B-NB. The message payload contains the fields temperature and humidity, which hold the values S31B-NBand27, respectively. This payload is also (technically) known as telemetry.519 +On the terminal, issue the following MQTT command which simulates the device S31B-NB. The message payload contains the fields temperature and humidity, which hold the values 10.4 and 85, respectively. This payload is also (technically) known as telemetry. 519 519 520 520 {{code language="none"}} 521 -mosquitto_pub -d -q 1 -h 011731f7928xxxxx.s1.eu.hivemq.cloud -p 8883 -t " v1/devices/me/telemetry" -u "xxxxx" -P "xxxxx" -m '{"IMEI": "S31B-NB", "temperature":27}'522 +mosquitto_pub -d -q 1 -h 011731f7928xxxxx.s1.eu.hivemq.cloud -p 8883 -t "tb/mqtt-integration-tutorial/sensors/S31B-NB/telemetry" -u "xxxxx" -P "xxxxx" -m '{"temperature":10.4, "humidity":85}' 522 522 {{/code}} 523 523 524 524 If the integration was performed without errors, the status of the integration changes to 'Active' after the first telemetry transmission. ... ... @@ -530,10 +530,9 @@ 530 530 Also, a new device named **S31B-NB** will appear under **//Entities -> Devices -> All//**. This means the first MQTT message triggers ThingsBoard to provision a device named **S31B-NB**. 531 531 532 532 534 +[[image:device-provision-1.png]] 533 533 534 -[[image:new-device.png]] 535 535 536 - 537 537 Click on the device S31B-NB on the devices list to see its details. 538 538 539 539 Then go to the **Latest telemetry** tab.