Last modified by Xiaoling on 2022/09/02 18:11

From version 34.1
edited by Xiaoling
on 2022/05/31 14:20
Change comment: Uploaded new attachment "image-20220531142023-35.png", version {1}
To version 36.2
edited by Xiaoling
on 2022/05/31 14:24
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -250,10 +250,16 @@
250 250  )))
251 251  1. Go to IoT Server to check the result.
252 252  1. (((
253 -[[~[~[image:https://wiki.dragino.com/images/thumb/4/43/MQTT_result_1.png/400px-MQTT_result_1.png~|~|alt="MQTT result 1.png" height="181" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:MQTT_result_1.png]]
253 +[[image:image-20220531142023-35.png]]
254 +
255 +
256 +
254 254  )))
255 255  1. (((
256 -[[~[~[image:https://wiki.dragino.com/images/thumb/7/70/MQTT_result_2.png/400px-MQTT_result_2.png~|~|alt="MQTT result 2.png" height="190" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:MQTT_result_2.png]]
259 +[[image:image-20220531142155-36.png]]
260 +
261 +
262 +
257 257  )))
258 258  
259 259  = 5. FAQ =
... ... @@ -264,15 +264,20 @@
264 264  
265 265  For example: for ThingSpeak, a MQTT publish command is:
266 266  
267 -{{{mosquitto_pub -h mqtt.thingspeak.com -p 1883 -u dragino -P QZXTAKE88V3S7O2J -i dragino_Client -t channels/200893/publish/B9Z0R25QNVEBKIFY -m "field1=34&field2=89&status=MQTTPUBLISH"
268 -}}}
273 +(% class="box infomessage" %)
274 +(((
275 +**mosquitto_pub -h mqtt.thingspeak.com -p 1883 -u dragino -P QZXTAKE88V3S7O2J  -i dragino_Client -t channels/200893/publish/B9Z0R25QNVEBKIFY -m "field1=34&field2=89&status=MQTTPUBLISH"**
276 +)))
269 269  
270 270  What now we need to put in the LG01 is how to combine this command.
271 271  
272 272  1. LG01 web console -> Sensor -> MQTT
273 273  1. Choose general Server
274 -1. [[~[~[image:https://wiki.dragino.com/images/thumb/e/ea/MQTT_Configure1.png/600px-MQTT_Configure1.png~|~|height="367" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:MQTT_Configure1.png]](((
282 +1. [[image:image-20220531142342-37.png]](((
275 275  Refer to your server to fill in.
284 +
285 +
286 +
276 276  )))
277 277  1. [[~[~[image:https://wiki.dragino.com/images/0/07/MQTT_Configure2.png~|~|height="93" width="538"~]~]>>url:https://wiki.dragino.com/index.php/File:MQTT_Configure2.png]](((
278 278  Ex:ThingSpeak Server
image-20220531142155-36.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +42.9 KB
Content
image-20220531142342-37.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +27.4 KB
Content