Last modified by Hera Guo on 2024/11/29 18:42

From version 3.1
edited by Hera Guo
on 2024/11/29 16:39
Change comment: There is no comment for this version
To version 4.1
edited by Hera Guo
on 2024/11/29 18:39
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -22,18 +22,14 @@
22 22  
23 23  select "import rule chain", and then drag the downloaded JSON file with the suffix "_rule_chain" into the text box
24 24  
25 -[[image:1732859076539-935.png||height="592" width="1477"]]
25 +[[image:1732871330988-833.png||height="590" width="1472"]]
26 26  
27 -== 1.3 Import deviceprofile ==
27 +== 1.3 Add deviceprofile ==
28 28  
29 -At this step, we need to import the device profile first, as shown in the figure.
29 +In this step, we need to create a deviceprofile to connect the device to the rulechain in the following way:
30 30  
31 -First, we need to open the device profiles, click on the "+" in the upper right corner, select "import device profile",
31 +[[image:1732871669250-727.png||height="745" width="1483"]]
32 32  
33 -and then select the file with the suffix "_device_defiles" that we have already downloaded. Drag it into the text box.
34 -
35 -[[image:1732859403197-298.png||height="600" width="1483"]]
36 -
37 37  == 1.4 Import widget ==
38 38  
39 39  First we need to open the dashboard we want to put in to show the gateway status, click "Edit mode“
... ... @@ -40,11 +40,11 @@
40 40  
41 41  Then click “Add widget”
42 42  
43 -[[image:1732859936817-432.png||height="142" width="535"]][[image:Arrow.png]][[image:1732860065652-745.png]]
39 +[[image:1732871411495-758.png]][[image:Arrow.png]][[image:1732860065652-745.png]]
44 44  
45 45  Then you need to click “Add widgts” and drag and drop the downloaded json file into it, as shown in the picture:
46 46  
47 -[[image:1732860398452-167.png||height="785" width="1532"]]
43 +[[image:1732871426417-457.png||height="767" width="1496"]]
48 48  
49 49  = 2.Create gateway devices =
50 50  
... ... @@ -52,7 +52,73 @@
52 52  
53 53  First of all, we need to open the device interface, click the upper right corner of the “+” and then click “Add device”, fill in the device information as shown in the figure
54 54  
51 +[[image:1732872944272-113.png||height="717" width="1494"]]
55 55  
53 +* **Note: The device name format must be: gateway-"your Gateway EUI”**
54 +
55 +[[image:1732873162583-780.png]]
56 +
56 56  = 3.Modify the rule chain =
57 57  
59 +After the device is created, we need to modify the data source of the rule chain so that our gateway's data can be stored in the device we created
60 +
61 +== 3.1 Open our newly imported rule chain ==
62 +
63 +[[image:1732873370029-976.png]]
64 +
65 +== 3.2 Select the server ==
66 +
67 +If the server our gateway connects to is TTN, we need to modify the above rulechain
68 +
69 +[[image:1732873519190-256.png]]
70 +
71 +If the server our gateway connects to is chirpstack, we need to modify the following rulechain
72 +
73 +[[image:1732873574205-948.png]]
74 +
75 +== 3.3 Modify rulechain ==
76 +
77 +=== 3.3.1 Modify the generator node: ===
78 +
79 +[[image:1732874053403-590.png||height="749" width="1340"]]
80 +
81 +=== 3.3.2 Modify the rest api call node: ===
82 +
83 +[[image:1732874643625-371.png||height="738" width="1348"]]
84 +
85 +* **Don't forget to save your changes when they're done!**
86 +
87 +=== 3.3.3 Where to find this information on the server ===
88 +
89 +TTN:
90 +
91 +[[image:1732874983084-697.png]]
92 +
93 +Regarding the API key acquisition, we need to create one as shown below:
94 +
95 +[[image:1732875200332-670.png]]
96 +
97 +[[image:1732875581453-282.png||height="688" width="1838"]]
98 +
99 +[[image:1732875893182-155.png]]
100 +
101 +**Then copy the API key**
102 +
103 +Chirpstack:
104 +
105 +The EUI and ID of chirpstack are identical:
106 +
107 +[[image:1732876339913-617.png]]
108 +
109 +Regarding the API key acquisition, we need to create one as shown below:
110 +
111 +[[image:屏幕截图 2024-11-29 183344.png]]
112 +
113 +[[image:屏幕截图 2024-11-29 183436.png]][[image:Arrow.png]][[image:屏幕截图 2024-11-29 183501.png]]
114 +
115 +**Then copy the API key**
116 +
58 58  = 4.Check if the widget is displayed correctly =
118 +
119 +[[image:1732876759232-239.png]]
120 +
1732871330988-833.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +183.1 KB
Content
1732871348142-921.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +190.8 KB
Content
1732871411495-758.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +5.7 KB
Content
1732871426417-457.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +556.4 KB
Content
1732871669250-727.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +216.2 KB
Content
1732872944272-113.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +189.0 KB
Content
1732873162583-780.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +3.3 KB
Content
1732873370029-976.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +3.3 KB
Content
1732873519190-256.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +43.8 KB
Content
1732873574205-948.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +43.8 KB
Content
1732874053403-590.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +222.5 KB
Content
1732874643625-371.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +264.9 KB
Content
1732874983084-697.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +58.4 KB
Content
1732875200332-670.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +81.2 KB
Content
1732875581453-282.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +137.7 KB
Content
1732875893182-155.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +54.0 KB
Content
1732876339913-617.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +46.8 KB
Content
1732876759232-239.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +19.0 KB
Content
Arrow.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +447 bytes
Content
屏幕截图 2024-11-29 183344.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +51.6 KB
Content
屏幕截图 2024-11-29 183436.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +14.1 KB
Content
屏幕截图 2024-11-29 183501.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.hera
Size
... ... @@ -1,0 +1,1 @@
1 +22.0 KB
Content