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,7 +459,6 @@ 459 459 * **QoS:** 0-At most once 460 460 461 461 462 - 463 463 [[image:add-integration-connection.png||height="511" width="500"]] 464 464 465 465 ... ... @@ -516,10 +516,10 @@ 516 516 == 5.2 Sending messages == 517 517 518 518 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 1 0.4and85, respectively. This payload is also (technically) known as telemetry.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-NB and 27, respectively. This payload is also (technically) known as telemetry. 520 520 521 521 {{code language="none"}} 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}'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}' 523 523 {{/code}} 524 524 525 525 If the integration was performed without errors, the status of the integration changes to 'Active' after the first telemetry transmission. ... ... @@ -531,9 +531,10 @@ 531 531 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**. 532 532 533 533 534 -[[image:device-provision-1.png]] 535 535 534 +[[image:new-device.png]] 536 536 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.