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 )))