Changes for page Notes for ChirpStack
Last modified by Edwin Chen on 2025/01/30 09:53
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -569,7 +569,7 @@ 569 569 ))) 570 570 571 571 572 -== 6. 3Add 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,12 +798,74 @@ 798 798 799 799 [[image:image-20221012173639-1.png]] 800 800 801 += 9. Add Payload codec = 801 801 802 -= 9. Trouble Shooting = 803 803 804 - ==9.1MICMismatch orMICFailed==804 +First, you need to create the Device profiles, and then Click on "Codec" and select "JavaScript function" from the Device profiles interface. 805 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]]** 806 806 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 + 814 +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: 815 + 816 +* LHT65N register on LPS8v2 Built-In ChirpStack server already 817 +* The user is able to see the data on the built-in ChirpStack server device page. 818 + 819 +Below are the steps to plot the sensor data on LPS8v2 Node-Red. 820 + 821 + 822 +== 10.1 Link Node-Red to Local ChirpStack == 823 + 824 + 825 +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"]]** 826 + 827 +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]]** 828 + 829 +After importing the Input Flow is complete, the user needs to edit the MQTT in the node 830 + 831 + 832 +(% style="color:blue" %)**1. Change the Topic** 833 + 834 +Topic modifies it to the following format: 835 + 836 +**application/(% style="color:red" %)Application ID(%%)/device/(% style="color:red" %)End device ID(%%)/event/up** 837 + 838 +[[image:image-20230527143923-1.png||height="588" width="1132"]] 839 + 840 + 841 + 842 +(% style="color:blue" %)**2. Enter the MQTT configuration information** 843 + 844 +[[image:image-20230527144206-2.png||height="590" width="1136"]] 845 + 846 + 847 +(% style="color:blue" %)3. **Finally, click "Update" and Deploy** 848 + 849 +"Connected" indicates that the Link Node-red to Local Chirpstack is normal. 850 + 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"]] 852 + 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 + 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
- image-20230531162943-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +84.6 KB - Content