<
From version < 153.1 >
edited by Dilisi S
on 2024/11/01 04:38
To version < 151.1 >
edited by Dilisi S
on 2024/10/31 22:56
>
Change comment: Uploaded new attachment "tts-mqtt-integration.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -217,7 +217,7 @@
217 217  
218 218  [[image:lt-22222-l-dev-repo-reg-p1.png||height="625" width="1000"]]
219 219  
220 -*
220 +*
221 221  ** Enter the **AppEUI** in the **JoinEUI** field and click **Confirm** button.
222 222  ** Enter the **DevEUI** in the **DevEUI** field.
223 223  ** Enter the **AppKey** in the **AppKey** field.
... ... @@ -1346,71 +1346,54 @@
1346 1346  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173929-8.png?width=1205&height=76&rev=1.1||alt="image-20220823173929-8.png"]]
1347 1347  
1348 1348  
1349 -== 3.5 Integrating with ThingsEye.io ==
1349 +== 3.5 Integrate with Mydevice ==
1350 1350  
1351 -If you are using one of The Things Stack plans, you can integrate ThingsEye.io with your application. Once integrated, ThingsEye.io works as an MQTT client for The Things Stack MQTT broker, allowing it to subscribe to upstream traffic and publish downlink traffic.
1352 1352  
1353 -=== 3.5.1 Configuring The Things Stack Sandbox ===
1352 +Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps:
1354 1354  
1355 -* Go to your Application and select MQTT under Integrations.
1356 -* In the Connection credentials section, under Username, The Thins Stack displays an auto-generated username. You can use it or provide a new one.
1357 -* For the Password, click the Generate new API key button to generate a password. You can see it by clicking on the eye button.
1354 +(((
1355 +(% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the network at this time.
1356 +)))
1358 1358  
1359 -[[image:tts-mqtt-integration.png||height="625" width="1000"]]
1358 +(((
1359 +(% style="color:blue" %)**Step 2**(%%): To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:
1360 1360  
1361 -=== 3.5.2 Configuring ThingsEye.io ===
1361 +
1362 +)))
1362 1362  
1363 -* Login to your thingsEye.io account.
1364 -* Under the Integrations center, click Integrations.
1365 -* Click the Add integration button (the button with the + symbol).
1364 +[[image:image-20220719105525-1.png||height="377" width="677"]]
1366 1366  
1367 -[[image:thingseye-io-step-1.png||height="625" width="1000"]]
1368 1368  
1369 1369  
1370 -On the Add integration page configure the following:
1368 +[[image:image-20220719110247-2.png||height="388" width="683"]]
1371 1371  
1372 -Basic settings:
1373 1373  
1374 -* Select The Things Stack Community from the Integration type list.
1375 -* Enter a suitable name for your integration in the Name box or keep the default name.
1376 -* Click the Next button.
1371 +(% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
1377 1377  
1378 -[[image:thingseye-io-step-2.png||height="625" width="1000"]]
1373 +(% style="color:blue" %)**Step 4**(%%): Search LT-22222-L(for both LT-22222-L) and add DevEUI.(% style="display:none" %)
1379 1379  
1380 -Uplink Data converter:
1375 +Search under The things network
1381 1381  
1382 -* Click the Create New button if it is not selected by default.
1383 -* Click the JavaScript button.
1384 -* Paste the uplink decoder function into the text area (first, delete the default code). The demo decoder function can be found here.
1385 -* Click the Next button.
1377 +[[image:1653356838789-523.png||height="337" width="740"]]
1386 1386  
1387 -[[image:thingseye-io-step-3.png||height="625" width="1000"]]
1388 1388  
1389 -Downlink Data converter (this is an optional step):
1380 +After added, the sensor data arrive TTN, it will also arrive and show in Mydevices.
1390 1390  
1391 -* Click the Create new button if it is not selected by default.
1392 -* Click the JavaScript button.
1393 -* Paste the downlink decoder function into the text area (first, delete the default code). The demo decoder function can be found here.
1394 -* Click the Next button.
1382 +[[image:image-20220524094909-1.png||height="335" width="729"]]
1395 1395  
1396 -[[image:thingseye-io-step-4.png||height="625" width="1000"]]
1397 1397  
1398 -Connection:
1385 +[[image:image-20220524094909-2.png||height="337" width="729"]]
1399 1399  
1400 -* Choose Region from the Host type.
1401 -* Enter the cluster of your The Things Stack in the Region textbox.
1402 -* Enter the Username and Password in the Credentials section. Use the same username and password you created with the MQTT page of The Things Stack.
1403 -* Click Check connection to test the connection. If the connection is successful, you can see the message saying Connected.
1404 -* Click the Add button.
1405 1405  
1406 -[[image:thingseye-io-step-5.png||height="625" width="1000"]]
1388 +[[image:image-20220524094909-3.png||height="338" width="727"]]
1407 1407  
1408 1408  
1409 -Your integration is added to the integrations list and it will display on the Integrations page.
1391 +[[image:image-20220524094909-4.png||height="339" width="728"]](% style="display:none" %)
1410 1410  
1411 -[[image:thingseye-io-step-6.png||height="625" width="1000"]]
1412 1412  
1394 +[[image:image-20220524094909-5.png||height="341" width="734"]]
1413 1413  
1396 +
1414 1414  == 3.6 Interface Detail ==
1415 1415  
1416 1416  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
lt-22222-l-manually-p1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.pradeeka
Size
... ... @@ -1,1 +1,0 @@
1 -310.3 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0