Wiki source code of Notes for Helium

Version 88.1 by Edwin Chen on 2022/07/05 00:19

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