<
From version < 36.1 >
edited by Xiaoling
on 2022/05/31 14:23
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
... ... @@ -270,15 +270,20 @@
270 270  
271 271  For example: for ThingSpeak, a MQTT publish command is:
272 272  
273 -{{{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"
274 -}}}
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 +)))
275 275  
276 276  What now we need to put in the LG01 is how to combine this command.
277 277  
278 278  1. LG01 web console -> Sensor -> MQTT
279 279  1. Choose general Server
280 -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]](((
281 281  Refer to your server to fill in.
284 +
285 +
286 +
282 282  )))
283 283  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]](((
284 284  Ex:ThingSpeak Server
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0