<
From version < 146.1 >
edited by Kilight Cao
on 2023/05/29 15:09
To version < 149.1 >
edited by Kilight Cao
on 2023/05/31 16:35
>
Change comment: There is no comment for this version

Summary

Details

Page properties
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.
... ... @@ -798,9 +798,19 @@
798 798  
799 799  [[image:image-20221012173639-1.png]]
800 800  
801 += 9.  Add Payload codec =
801 801  
802 -= 9.  Example: Use Local Server ChirpStack and Node-Red in LPS8v2 =
803 803  
804 +First, you need to create the Device profiles, and then Click on "Codec" and select "JavaScript function" from the Device profiles interface.
805 +
806 +Add the node device decoder you are using. The decoder for each node device is different. The decoder is found in this link: **[[decoder for dragino end node>>https://github.com/dragino/dragino-end-node-decoder]]**
807 +
808 +[[image:image-20230531162943-1.png||height="604" width="1130"]]
809 +
810 +
811 += 10.  Example: Use Local Server ChirpStack and Node-Red in LPS8v2 =
812 +
813 +
804 804  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:
805 805  
806 806  * LHT65N register on LPS8v2 Built-In ChirpStack server already
... ... @@ -808,8 +808,10 @@
808 808  
809 809  Below are the steps to plot the sensor data on LPS8v2 Node-Red.
810 810  
811 -=== 9.1 Link Node-Red to Local ChirpStack ===
812 812  
822 +== 10.1 Link Node-Red to Local ChirpStack ==
823 +
824 +
813 813  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"]]**
814 814  
815 815  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]]**
... ... @@ -832,11 +832,28 @@
832 832  [[image:image-20230527144206-2.png||height="590" width="1136"]]
833 833  
834 834  
835 -= 10Trouble Shooting =
847 +(% style="color:blue" %)3**Finally, click "Update" and Deploy**
836 836  
837 -== 10.1  MIC Mismatch or MIC Failed ==
849 +"Connected" indicates that the Link Node-red to Local Chirpstack is normal.
838 838  
851 +[[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"]]
839 839  
853 +
854 +== 10.2 Check result. ==
855 +
856 +
857 +Users can check logs by adding debug.
858 +
859 +Browser access: **Node-Red-Server-Address:1880/ui**
860 +
861 +[[image:image-20230529150923-1.png||height="424" width="1118"]]
862 +
863 +
864 += 11.  Trouble Shooting =
865 +
866 +== 11.1  MIC Mismatch or MIC Failed ==
867 +
868 +
840 840  (((
841 841  When the device is registered or the device is working normally, the problem of MIC mismatch and MIC failed occurs.
842 842  )))
image-20230531162943-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +84.6 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0