<
From version < 140.1 >
edited by Kilight Cao
on 2023/05/27 11:57
To version < 147.2 >
edited by Xiaoling
on 2023/05/29 17:30
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Kilight
1 +XWiki.Xiaoling
Content
... ... @@ -569,7 +569,7 @@
569 569  )))
570 570  
571 571  
572 -== 6.3  Add the decode function in Chirpstack for the payload ==
572 +== 6.4  Add the decode function in Chirpstack for the payload ==
573 573  
574 574  
575 575  User enters the payload code according to the steps.
... ... @@ -799,11 +799,64 @@
799 799  [[image:image-20221012173639-1.png]]
800 800  
801 801  
802 -= 9.  Trouble Shooting =
802 += 9.  Example: Use Local Server ChirpStack and Node-Red in LPS8v2 =
803 803  
804 -== 9.1  MIC Mismatch or MIC Failed ==
805 805  
805 +LPS8v2 includes a local TTN Server and Node-Red. This example shows how to configure LHT65N to use with the local Node-Red server. This example assumes users already have:
806 806  
807 +* LHT65N register on LPS8v2 Built-In ChirpStack server already
808 +* The user is able to see the data on the built-in ChirpStack server device page.
809 +
810 +Below are the steps to plot the sensor data on LPS8v2 Node-Red.
811 +
812 +
813 +== 9.1 Link Node-Red to Local ChirpStack ==
814 +
815 +
816 +Users can download the Node-Red decoder from this link and import it into the Node-Red platform:  **[[attach:LHT65N-ChirpStack-node-red.json||target="_blank"]]**
817 +
818 +For more information on importing Input Flow, check out this link: **[[Import Input Flow for Dragino Sensors>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/#H3.A0ImportInputFlowforDraginoSensors]]**
819 +
820 +After importing the Input Flow is complete, the user needs to edit the MQTT in the node
821 +
822 +
823 +(% style="color:blue" %)**1. Change the Topic**
824 +
825 +Topic modifies it to the following format:
826 +
827 +**application/(% style="color:red" %)Application ID(%%)/device/(% style="color:red" %)End device ID(%%)/event/up**
828 +
829 +[[image:image-20230527143923-1.png||height="588" width="1132"]]
830 +
831 +
832 +
833 +(% style="color:blue" %)**2. Enter the MQTT configuration information**
834 +
835 +[[image:image-20230527144206-2.png||height="590" width="1136"]]
836 +
837 +
838 +(% style="color:blue" %)3. **Finally, click "Update" and Deploy**
839 +
840 +"Connected" indicates that the Link Node-red to Local Chirpstack is normal.
841 +
842 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/Notes%20for%20TTN/WebHome/image-20220914140918-5.png?width=1121&height=602&rev=1.1||alt="image-20220914140918-5.png"]]
843 +
844 +
845 +== 9.2 Check result. ==
846 +
847 +
848 +Users can check logs by adding debug.
849 +
850 +Browser access: **Node-Red-Server-Address:1880/ui**
851 +
852 +[[image:image-20230529150923-1.png||height="424" width="1118"]]
853 +
854 +
855 += 10.  Trouble Shooting =
856 +
857 +== 10.1  MIC Mismatch or MIC Failed ==
858 +
859 +
807 807  (((
808 808  When the device is registered or the device is working normally, the problem of MIC mismatch and MIC failed occurs.
809 809  )))
image-20230527143923-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +222.4 KB
Content
image-20230527144206-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +224.2 KB
Content
image-20230529150923-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +87.2 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0