Changes for page MQTT Forward Instruction
Last modified by Kilight Cao on 2024/08/31 16:26
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -105,6 +105,8 @@ 105 105 * USERNAME: User ID (-u) 106 106 * HOSTNAME: Device Hostname 107 107 108 + 109 + 108 108 === 3.3.2 -m message macro === 109 109 110 110 * HOSTNAME: Device Hostname ... ... @@ -113,6 +113,8 @@ 113 113 * META: Completely sensor data with time stamp and rssi 114 114 * JSON: Convert META to json format. 115 115 118 + 119 + 116 116 === 3.3.3 Example for Macro === 117 117 118 118 [[image:image-20220527134251-4.png]] ... ... @@ -119,6 +119,7 @@ 119 119 120 120 MQTT Publish configure 121 121 126 + 122 122 Above screen shots shows below format: 123 123 124 124 * -t: CLIENTID/CHANNEL/data ... ... @@ -130,6 +130,7 @@ 130 130 131 131 Sensor Data 132 132 138 + 133 133 ((( 134 134 According to above macro. Gateway will publish (% style="color:#4f81bd" %)**field1=22.0&field2=49.0**(%%) to topic: (% style="color:#4f81bd" %)**dragino-1b7060/78901/data**(%%), where 78901 is the remote channel for this node ID. 135 135 ))) ... ... @@ -336,6 +336,7 @@ 336 336 337 337 go to mqtt configure menu 338 338 345 + 339 339 ((( 340 340 Select (% style="color:#4f81bd" %)**Forward to MQTT server**. (% style="color:red" %)**Notice**(%%): This option is removed from the latest firmware, in the latest firmware, if user submit "SAVE & APPLY" in MQTT page, the gateway will use MQTT service. 341 341 ))) ... ... @@ -453,6 +453,7 @@ 453 453 LoRa Parameter should match 454 454 455 455 463 + 456 456 Below is the test result after the Arduino Sketch is running. 457 457 458 458 [[image:image-20220527140459-19.png]] ... ... @@ -460,6 +460,7 @@ 460 460 Upstream Data Flow 461 461 462 462 471 + 463 463 [[image:image-20220527140542-20.png]] 464 464 465 465 Downstream Data Flow