<
From version < 193.1 >
edited by Dilisi S
on 2025/03/27 23:31
To version < 192.1 >
edited by Dilisi S
on 2025/03/27 23:20
>
Change comment: Uploaded new attachment "debug-enabled.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -365,6 +365,7 @@
365 365  * **QoS:** 0-At most once
366 366  
367 367  
368 +
368 368  [[image:add-integartion-connection.png||height="505" width="500"]]
369 369  
370 370  
... ... @@ -395,10 +395,9 @@
395 395  Since we haven't received data from a device yet, the integration **Status** is shown as **Pending.**
396 396  
397 397  
398 -[[image:integration-added.png]]
399 +[[image:new-integration-pending.png]]
399 399  
400 400  
401 -
402 402  = 6. Verifying the receipt of data from virtual devices =
403 403  
404 404  
... ... @@ -421,7 +421,7 @@
421 421  == 5.2 Sending messages ==
422 422  
423 423  
424 -On your computer's terminal, issue the following MQTT command which simulates the device '**Device A'**. The message payload contains the fields IMEI, temperature, humidity, and pressure, which hold the values 350693903995577, 30, 80, and 1005 respectively. This payload is also (technically) known as telemetry.
424 +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.
425 425  
426 426  {{code language="none"}}
427 427  mosquitto_pub -d -q 1 -h 011731f7928xxxxx.s1.eu.hivemq.cloud -p 8883 -u "xxxxx" -P "xxxxx" -t "device/a" -m '{"IMEI":"350693903995577", "temperature":30, "humidity":80, "pressure":1005}'
... ... @@ -433,6 +433,8 @@
433 433  [[image:integration-active.png]]
434 434  
435 435  
436 +
437 +
436 436  == 6.3 Viewing messages ==
437 437  
438 438  
... ... @@ -451,28 +451,21 @@
451 451  Then click on the **Apply changes** (//**tick icon**//) button.
452 452  
453 453  
454 -[[image:debug-enabled.png||height="301" width="700"]]
456 +[[image:Screenshot 2025-03-18 at 09.23.10.png]]
455 455  
456 456  
457 -
458 -
459 459  Now go to the **Events** tab.
460 460  
461 -Select the **Event type** as **Debug** from the dropdown list.
461 +Select the Event type as **Debug** from the dropdown list.
462 462  
463 -Publish another message (of course, you can repeat the previous message by pressing the UP arrow on your keyboard and then press Enter key) to your MQTT broker from your terminal, for example:
463 +Now you can see all the Uplink messages you are simulating through the MQTT broker. The status should be **OK **if there is no errors in your integration.
464 464  
465 -{{code language="none"}}
466 -mosquitto_pub -d -q 1 -h 011731f7928xxxxx.s1.eu.hivemq.cloud -p 8883 -u "xxxxx" -P "xxxxx" -t "device/a" -m '{"IMEI":"350693903995577", "temperature":30, "humidity":80, "pressure":1005}'
467 -{{/code}}
468 468  
469 -Now you can see that uplink message in the **Events** tab (Click the **refresh** button if you didn't see any messages in the Events tab). The status should be **OK **if there is no errors in your integration.
470 -
471 -
472 472  [[image:Screenshot 2025-03-26 at 19.49.31.png]]
473 473  
474 474  
475 475  
470 +
476 476  Then click on the **three dots (...)** in the **Message** column. You can see the uplink message's **payload** in the **Message** window.
477 477  
478 478  
... ... @@ -596,3 +596,5 @@
596 596  {{/info}}
597 597  
598 598  [[image:image-4.png]]
594 +
595 +
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0