Wiki source code of Notes for Helium

Version 88.17 by Xiaoling on 2022/08/10 17:11

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