Show last authors
1 **~ Table of Contents:**
2
3 {{toc/}}
4
5
6
7
8 = **1.  Use Dragino Gateways/Hotspots with Helium** =
9
10 == **1.1  Support Models** ==
11
12
13 //There are three types of hotspots that can connect to Helium. They are (% style="color:#4f81bd" %)**full-hotspot**(%%), (% style="color:#4f81bd" %)**light hotspot** (%%)and (% style="color:#4f81bd" %)**data-only hotspot**(%%). Definition of these three types of hotspots can be found here: [[of Helium Hotspots>>url:https://docs.helium.com/mine-hnt%7CTypes]]. Different hotspots support different mining abilities.//
14
15 (((
16 //Dragino has different gateway models that support different types.//
17 )))
18
19 (% border="1" style="background-color:#ffffcc; width:510px" %)
20 |(% colspan="4" style="width:589px" %)(% style="color:green" %)**Dragino Hotspots for Helium**
21 |(% style="color:green; width:132px" %)**Model**|(% style="color:green; width:126px" %)**Hotspot Types**|(% style="color:green; width:121px" %)**Mining Ability**|(% style="color:green; width:203px" %)**Configure Instruction**
22 |(% style="width:132px" %)(((
23 [[LPS8>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]], [[DLOS8>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]],
24
25 [[LG308>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]],[[LIG16>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]]
26 )))|(% style="color:#4f81bd; width:126px" %)**Data-Only Hotspot**|(% style="width:121px" %)[[Helium Link>>url:https://docs.helium.com/mine-hnt/data-only-hotspots]]|(% style="width:203px" %)[[Data-Only Hotspot Instruction>>||anchor="H2.A0ConnectData-OnlyHotspottoHelium"]]
27 |(% style="width:132px" %)[[HP0D>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/195-hp0d.html]]|(% style="color:#4f81bd; width:126px" %)**Full Hotspo**t|(% style="width:121px" %)[[Helium Link>>url:https://docs.helium.com/mine-hnt/full-hotspots]]|(% style="color:green; width:203px" %)[[Full Hotspot Instuction-Not Finish>>doc:Main.User Manual for All Gateway models.HP0D.WebHome]]
28
29 (% style="color:blue" %)**Frequencies on the Helium Network**
30
31 * //The frequencies currently available are CN470/EU868/US915/AU915//
32
33 (% style="color:red" %)**Note: more information refer to this link [[Helium Frequency plan>>url:https://docs.helium.com/lorawan-on-helium/frequency-plans/]]**
34
35
36
37 = **2.  Connect Data-Only Hotspot to Helium** =
38
39 == **2.1  Prerequisites** ==
40
41
42 * //Firmware Requirement: > [[lgw~~-~~-build-v5.4.1640315898>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]]//
43
44
45
46 == **2.2  Step 1: Configure Frequency Band** ==
47
48
49 //Each country has a requirement for frequency region. Choose the right one for your area.//
50
51 [[image:image-20220531175337-1.png]]
52
53
54
55 == **2.3  Step 2: Download the Helium-gateway-rs** ==
56
57
58 //Click Download Helium Server and the gateway will download the Helium-gateway-rs//
59
60 [[image:image-20220615150600-1.png||height="559" width="1045"]]
61
62
63 //**Start download to Helium-gateway-rs**//
64
65 [[image:image-20220615150627-2.png||height="598" width="1044"]]
66
67 //**Helium-gatewayrs download success**//
68
69
70 //**If download fails, click and download again**//
71
72 [[image:image-20220615150717-3.png||height="605" width="1039"]]
73
74
75
76 == **2.4  Step 3: Install the Helium-gateway-rs** ==
77
78
79 //Click **Install Helium Server** to install gateway-rs.//
80
81 [[image:image-20220615150734-4.png||height="619" width="1035"]]
82
83 Install the Helium gateway-rs
84
85
86 (% style="color:red" %)**Note: User will see the echo characters of Helium gateway-rs have been installed successfully.**
87
88
89
90 == **2.5  Step 4: Save&start the Helium Server** ==
91
92
93 //By default, Region is US915, After configuring the Configure Frequency Band, click Save&Apply on the Helium IoT screen to modify the Region.//
94
95
96 [[image:image-20220615150903-5.png||height="592" width="1031"]]
97
98
99
100 //Click (% style="color:red" %)**Save&Apply**(%%) and gateway will start to connect the Helium. The UI shows the connect status.//
101
102 [[image:image-20220615151057-6.png||height="580" width="1026"]]
103
104
105
106 == **2.6  Step 5: Check Gateway Connection before onboarding** ==
107
108
109 //A hotspot can transfer data to Helium after finishing step4. We can add a device to Helium and see if the device can join Helium. For example, we add an LGT92 sensor and see below info.//
110
111 (((
112 //Check end device event from [[Helium Console>>url:https://staging-console.helium.wtf/]], We can see the LGT92 data arrived Helium via our hotspot.//
113 )))
114
115 [[image:image-20220526094537-1.png||height="395" width="1323"]]
116
117
118 (% style="color:red" %)**Note: The hotspot is not valid for search in Helium Console before onboarding.**
119
120
121
122 == **2.7  Step 6: Onboarding Data-Only Hotspot** ==
123
124
125 (% style="color:red" %)**Note: Onboarding a Data-Only hotspot is necessary for downlink to work. otherwise, the downlink message for LoRa won't work .**
126
127
128 //User can refer [[this link>>url:https://docs.helium.com/mine-hnt/data-only-hotspots]] for how to onboarding a data-only hotspot. After onboarding the data-only hotspot, user can see the hotspot on Helium Console.//
129
130 //Below are the steps we do as per above link here.//
131
132
133 (((
134 (% style="color:blue" %)//**1. Set up Helium-Wallet in my computer. [[https:~~/~~/docs.helium.com/wallets/cli-wallet>>url:https://docs.helium.com/wallets/cli-wallet]]. and funds this wallet. From this step, we got the wallet info as below.**//
135 )))
136
137 (% class="box" %)
138 (((
139 [root@iZt4n22vqvm7ajogrfiif6Z helium-wallet-v1.6.4-x86-64-linux]# helium-wallet info
140 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
141 ~| Key  | Value  |
142 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
143 ~| Address  | 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux |
144 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
145 ~| Network  | mainnet  |
146 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
147 ~| Type  | ed25519  |
148 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
149 ~| Sharded  | (% style="color:purple" %)false (%%) |
150 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
151 ~| PwHash  | Argon2id13  |
152 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
153 ~| Balance  | 18.76580626  |
154 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
155 ~| DC Balance  | 0  |
156 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
157 ~| Securities Balance | 0.00000000  |
158 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
159 )))
160
161
162 (((
163 (% style="color:red" %)**Note: The wallet Address is 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux. and have about 18 HNT balance.**
164 )))
165
166
167
168 (((
169 (% style="color:blue" %)//**2. Get txn. In the data-only hotspot. run below command to add a hotspot, owner is the owner wallet of this hotspot, payer is the payer to pay transaction cost.**//
170 )))
171
172 (% class="box" %)
173 (((
174 root@123123:~~# helium_gateway add ~-~-owner 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux ~-~-payer 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux
175
176 {
177 (% style="color:red" %)"address": "146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm",
178
179 (% style="color:red" %)
180 "fee": (% style="color:black" %)65000,
181
182 (% style="color:red" %)
183 "mode": "dataonly",
184
185 (% style="color:red" %)
186 "owner": "13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux",
187
188 (% style="color:red" %)
189 "payer": "13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux",
190
191 (% style="color:red" %)
192 "staking fee"(% style="color:black" %): 1000000,
193
194 (% style="color: red;" %)
195 "txn": "CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJVf3m7qGEF+WZYNhVgLtajtf4elKPoA3NkvAphTQTACohAXCfSZ5yNupaL/FxaNGQgV+P9UHLWzicPhTh7YVEOl2BOMCEPUDo+wM="
196
197 }
198 )))
199
200 (((
201 //We got the txn info from this step.//
202
203
204
205 (% style="color:blue" %)//**3. Add Hotspot. In the computer with helium wallet. run below command, replace the txn with the txn you got in above step.**//
206
207
208 (% style="color:red" %)**Note: below are two commands, the command without ~-~-commit is the preview mode.**
209
210
211 //Check every detail in this mode and run the command with ~-~-commit to commit to the Helium Blockchain.//
212 )))
213
214 (% class="box" %)
215 (((
216 [root@]# helium-wallet hotspots add CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJVf3m7qGEF+WZYNhVgLtajtf4elKPoA3NkvAphTQTACohAXCfSZ5yNupaL/FxaNGQgV+P9UHLWzicPhTh7YVEOl2BOMCEPUDo+wM=
217 Password: [hidden]
218 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
219 ~| Key  | Value  |
220 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
221 ~| Address  | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm  |
222 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-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~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
233 \\Preview mode: use ~-~-commit to submit the transaction to the network
234 [root@]# helium-wallet hotspots add CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJVf3m7qGEF+WZYNhVgLtajtf4elKPoA3NkvAphTQTACohAXCfSZ5yNupaL/FxaNGQgV+P9UHLWzicPhTh7YVEOl2BOMCEPUDo+wM= ~-~-commit
235 Password: [hidden]
236 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
237 ~| Key  | Value  |
238 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
239 ~| Address  | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm  |
240 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
241 ~| Payer  | 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux  |
242 +~-~-~-~-~-~-~-~-~-~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~-~-~-~-~-~-~-~-~-~-~-+
251 )))
252
253 (((
254
255
256 (% style="color:blue" %)//**4. Assert Location. In helium Wallet. run below command, note, the ~-~-gateway should input gateway address from step 2.**//
257 )))
258
259 (% class="box" %)
260 (((
261 [root@]# helium-wallet hotspots assert ~-~-gateway 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm ~-~-lat=22.706922 ~-~-lon=114.242538 ~-~-mode dataonly
262 Password: [hidden]
263 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
264 ~| Key  | Value  |
265 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
266 ~| Address  | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm |
267 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
268 ~| Location  | 8c411c02148d7ff  |
269 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~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-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
280 ~| Elevation  | 0  |
281 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
282 ~| Hash  | none  |
283 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
284 \\Preview mode: use ~-~-commit to submit the transaction to the network
285 //[root@]# helium-wallet hotspots assert ~-~-gateway 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm ~-~-lat=22.706922 ~-~-lon=114.242538 ~-~-mode dataonly ~-~-commit//
286 Password: [hidden]
287 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
288 ~| Key  | Value  |
289 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
290 ~| Address  | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm  |
291 +~-~-~-~-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| Staking Fee (DC) | 500000  |
301 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
302 ~| Gain (dBi)  | 1.2  |
303 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
304 ~| Elevation  | 0  |
305 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
306 ~| Hash  | P1P8olxrzPJ1f3HWiLxcSincdF5fDLLCt2HbpYBhWwk  |
307 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
308 )))
309
310
311 (((
312 (% style="color:red" %)**Note: The add hotspot and assert location step might need some time to be effect.**
313 )))
314
315 (((
316 //After above steps finish, the mobile helium wallet should be able to show that this hotspot has been added to the helium blockchain.//
317
318
319
320 )))
321
322 == **2.8  Debug Connection** ==
323
324 === **2.8.1  Check pkt-fwd running Log** ===
325
326
327 //This command can check if the LoRa Radio part runs correctly and if the gateway receives LoRa packets from LoRaWAN sensors.//
328
329 (((
330 //Below logs shows the gateway receive two LoRaWAN packets.//
331 )))
332
333 (% class="box" %)
334 (((
335 root@123123:~~# logread -f
336 Sun Nov 14 14:28:10 2021 daemon.info lora_pkt_fwd[3145]: INFO~~ [down] PULL_ACK received in 244 ms
337 Sun Nov 14 14:28:11 2021 user.notice iot_keep_alive: Internet Access OK: via eth1
338 Sun Nov 14 14:28:11 2021 user.notice iot_keep_alive: use WAN or WiFi for internet access now
339 Sun Nov 14 14:28:14 2021 daemon.info lora_pkt_fwd[3145]: PKT_FWD~~ DATA_UNCONF_UP-> {**"DevAddr": "1202EE72", "FCtrl": ["ADR": 1, "ADRACKReq": 0, "ACK": 0, "RFU" : "RFU", "FOptsLen": 0], "FCnt": 16390, "FPort": 2, "MIC": "3D55454B"**}
340 Sun Nov 14 14:28:14 2021 daemon.info lora_pkt_fwd[3145]: RXTX~~ {**"rxpk":[{"tmst":312204124,"time":"2021-11-14T14:28:14.688556Z","chan":0,"rfch":1,"freq":868.100000,"stat":1,"modu":"LORA","datr":"SF12BW125","codr":"4/5","lsnr":-11.2,"rssi":-137,"size":24,"data":"QHLuAhKABkACJg8A5dKDACUrBVNLRVU9"**}]}
341 Sun Nov 14 14:28:16 2021 daemon.info lora_pkt_fwd[3145]: PKT_FWD~~ DATA_UNCONF_UP-> {**"DevAddr": "260BDA6A", "FCtrl": ["ADR": 1, "ADRACKReq": 0, "ACK": 0, "RFU" : "RFU", "FOptsLen": 0], "FCnt": 1382, "FPort": 2, "MIC": "1CA5DAB7"**}
342 Sun Nov 14 14:28:16 2021 daemon.info lora_pkt_fwd[3145]: RXTX~~ {**"rxpk":[{"tmst":313985732,"time":"2021-11-14T14:28:16.446560Z","chan":7,"rfch":0,"freq":867.900000,"stat":1,"modu":"LORA","datr":"SF7BW125","codr":"4/5","lsnr":10.2,"rssi":-93,"size":42,"data":"QGraCyaAZgUCHMiipojXTdASx9QZcIVAQApHArEe+iGqt9pMSJ232qUc"**}]}
343 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]:
344 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ ~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~# Report at: 2021-11-14 14:28:19 UTC ~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#
345 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ ~#~## [UPSTREAM] ~#~##
346 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # RF packets received by concentrator: 6
347 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
348 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # RF packets forwarded: 6 (161 bytes)
349 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # PUSH_DATA datagrams sent: 6 (1493 bytes)
350 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # PUSH_DATA acknowledged: 0.00%
351 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ ~#~## [DOWNSTREAM] ~#~##
352 )))
353
354
355
356 === **2.8.2  Check gateway-rs Log** ===
357
358
359 //SSH to gateway and run **logread | grep helium_gateway** to check Gateway-rs running log.//
360
361 [[image:image-20220531175809-7.png]]
362
363
364 (% style="color:red" %)**Note**: **logread is dynamic and FIFO, so helium log might be overwritten by other processes info in system.**
365
366
367
368 === **2.8.3  View the public key address and animal name** ===
369
370
371 (% class="box" %)
372 (((
373 (((
374 (((
375 {{{root@123123:~# helium_gateway key info }}}
376 {
377 )))
378 )))
379
380 (((
381 (% style="color:red" %){{{"address": "13KmbKLdpDfECx19kB2nX4suSzz3GskA4JVqKHAKiJ89kuyJx8T",}}}
382 {{{"name": "great-mint-lizard"}}}(%%)
383 (% style="color:black" %)}
384 )))
385 )))
386
387 [[image:image-20220531175844-8.png]]
388
389 Hostpot key and animal name
390
391
392
393 === **2.8.4  Backup/Restor gateway-rs key** ===
394
395
396 (((
397 //For the date-only hotspots, the key is the only unique identifier, the users can backup the key by the button of Download. And once the uses upgrade the gateway or the gateway lose the key, the gateway-rs will generate a new key for which the data-only hotspot is the new unit. so if the user would restore to last time which can upload your backup key to the gateway by the button of upload.//
398 )))
399
400 [[image:image-20220531175919-9.png]]
401
402
403
404 == **2.9  Forward the data to the other server** ==
405
406 === **2.9.1  Introduction** ===
407
408
409 (((
410 //The Dragino gateway has supports the double server settings.//
411 )))
412
413 (((
414 //Users can back to the page of Semtech UDP to configure other server settings.//
415
416
417
418 )))
419
420 === **2.9.2  Example** ===
421
422
423 //The following takes The Things Network as another LoRaWAN server as an example.//
424
425
426
427 ==== (% style="color:blue" %)**Step 1: Back to Semtech UDP page**(%%) ====
428
429
430 [[image:image-20220531180002-10.png]]
431
432 Back to Semtech UDP page
433
434
435
436 ==== (% style="color:blue" %)**Step 2: Configure the double server forwarding**(%%) ====
437
438
439 [[image:image-20220531180048-11.png]]
440
441
442 //The user can configure the secondary server and then click the button of **Save&Apply**.//
443
444
445
446 == **2.10  Connect Full Hotspot to Helium** ==
447
448
449
450 = **3.  Use Dragino Sensors with Helium** =
451
452
453 == **3.1  How to add up user's end-node with Helium console** ==
454
455
456 === **3.1.1  Step 1: Login the Helium console** ===
457
458
459 //User can Login the [[Helium Console>>url:https://staging-console.helium.wtf/]]//
460
461 [[image:image-20220531180150-12.png]]
462
463 login Helium console
464
465
466
467 === **3.1.2  Step 2: Add up your end-node's key** ===
468
469
470 //User add up end-node's key from console ~-~->dervice//
471
472 [[image:image-20220531180224-13.png]]
473
474 To add a device
475
476
477
478 === **3.1.3  Step 3: Activate the end-node** ===
479
480
481 (((
482 //Users can activate the end-node with OTAA in which the end-node will Join the network from the Helium server **Eventually you will see traffic**//
483 )))
484
485 [[image:image-20220531105239-2.png]]
486
487 end-node traffic.
488
489
490
491 == **3.2  How to use decoder** ==
492
493 === **3.2.1  Step 1: Users can create decoders on functions** ===
494
495
496 [[image:image-20220531105325-3.png]]
497
498 Decoder.
499
500
501
502 === **3.2.2  Step 2: Add a decoder in functions and apply it to the specified label** ===
503
504
505 [[image:image-20220526095629-6.png]]
506
507
508 [[image:image-20220526095553-5.png]]
509
510
511 [[image:image-20220526100057-8.png||height="352" width="1133"]]
512
513 **//Add decoder complete.//**
514
515
516
517 === **3.2.3  Where is the decoder?** ===
518
519
520 [[console-decoders/Dragino at master · helium/console-decoders · GitHub>>url:https://github.com/helium/console-decoders/tree/master/Dragino]]
521
522 [[image:image-20220617140118-1.png||height="550" width="883"]]
523
524
525
526 == **3.3  How to send a downlink to end device from Helium** ==
527
528
529 (((
530 //The Helium server needs to convert to Base64 format when sending the downlink command. Please refer to the following example~://
531 )))
532
533 (((
534 //The Downlink command comes from this link:[[End Device Downlink Command>>End Device AT Commands and Downlink Command]]//
535 )))
536
537 (((
538 //Change Uplink Interval:Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds//
539 )))
540
541 (% class="box" %)
542 (((
543 **01 00 00 3C ~-~-> AQAAPA==**
544 )))
545
546 [[image:image-20220524171341-21.png]]
547
548 Downlink
549
550
551
552 == **3.4  How to add integration to different IoT Servers** ==
553
554 === **3.4.1  TagoIO** ===
555
556
557 **//The steps to add integration are very simple. Please see the following process.//**
558
559
560 [[image:image-20220526102429-23.png||height="630" width="1198"]]
561
562
563
564 **//Generate the authorization code and then copy it.//**
565
566
567 [[image:image-20220526100452-10.png||height="314" width="1188"]]
568
569
570
571 //**Apply Integration to Label.**//
572
573
574 [[image:image-20220526100802-13.png]]
575
576
577
578 [[image:image-20220526100927-14.png]]
579
580
581
582 **//Click LoRaWAN Helium,select the device.//**
583
584
585 [[image:image-20220526101215-15.png||height="599" width="1117"]]
586
587
588
589 **//Fill in DEVEUI and create my device.//**
590
591
592 [[image:image-20220526101419-16.png]]
593
594 TagoIO.
595
596
597
598 === **3.4.2  Cayenne** ===
599
600
601 //The process of creating devices is similar to Tago.//
602
603 [[image:image-20220526101616-18.png||height="456" width="1097"]]
604
605 Cayenne.
606
607
608 [[image:image-20220526101547-17.png||height="656" width="1092"]]
609
610 Cayenne.
611
612
613 [[image:image-20220526101702-19.png||height="528" width="1109"]]
614
615 Cayenne.
616
617
618 [[image:image-20220526102303-22.png]]
619
620 Cayenne.
621
622
623 [[image:image-20220526102114-21.png]]
624
625 Cayenne.
626
627
628 [[image:image-20220526101940-20.png||height="543" width="1044"]]
629
630 Cayenne.
631
632
633
634 == **3.5  Trouble Shooting** ==
635
636 === **3.5.1  Trouble to Join Helium** ===
637
638
639 (((
640 **//Assume the device is powered correctly. If you don't see data in Helium. The possibilities are~://**
641
642
643 )))
644
645 (((
646 //1) You are out of Helium Gateway coverage. (If you have other end nodes, you can check whether they work and what is the signal strength you see in the platform)//
647 )))
648
649 (((
650 //2) Your end node frequency band doesn't match the Helium gateway frequency band. (Please double-check if frequency band matches)//
651 )))
652
653 (((
654 //3) You have input the wrong keys into Helium Platform ( You can send us the screenshots for the keys and Dragino support team can check for you)//
655
656 4) Your gateway is not onboarding to the helium explore, after 23 versions, the data-only hotspot(Gateway) is requested onboarding to helium explore. ~-~-> Please refer to part 2.7 to do it.
657
658 5). You have to use the frequency plan that is compatible with your region.
659
660 For example, if you are in USA, you have to use the US915 frequency plan. More frequency plans details on the helium network: [[https:~~/~~/docs.helium.com/lorawan-on-helium/frequency-plans>>url:https://docs.helium.com/lorawan-on-helium/frequency-plans]]
661
662
663
664 )))
665
666 === **3.5.2  Packet Loss for AU915 / US915 Band** ===
667
668
669 (((
670 //The node working on the AU915/US915 frequency has packet loss or the frequency channel and the gateway channel are different.//
671 )))
672
673 (((
674 //The reason for this problem is that the node does not lock the channel after joining the network.//
675
676
677 )))
678
679 (((
680 (% style="color:red" %)**Solution:**
681
682
683 )))
684
685 (((
686 //(1) If the user does not have a device to upgrade the firmware, you can use the AT+CHE command or the downlink command to set the channel. It is best to turn off the adaptive rate (ADR).Reset the device after setting the channel.//
687 )))
688
689 * (((
690 (% style="color:blue" %)**//AT Command: AT+CHE//**
691 )))
692
693 * (((
694 //**Example: ** (% style="color:#037691" %)**AT+CHE=2**(%%)  ~/~/set channel mode to 1//
695 )))
696
697 * (((
698 (% style="color:blue" %)**//Downlink Command: 0x24//**
699
700
701 )))
702
703 (((
704 //Format: Command Code (0x24) followed by 1 bytes channel value.//
705 )))
706
707
708 (((
709 //If the downlink payload=0x2402, it means set channel mode to use sub-band 2, while type code is 24.//
710 )))
711
712 * (((
713 //**Example 1**: Downlink Payload: (% style="color:#037691" %)**0x2402** (%%) ~/~/ set channel mode to 2//
714
715
716 )))
717
718 (((
719 //(2) If the user has a device to upgrade the firmware, it is better to upgrade the device to the latest version. The latest version has fixed the problem that the AU915/US915 frequency does not lock the channel.//
720 )))
721
722 (((
723 //The latest firmware for end node will have this bug fixed.//
724 )))
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0