Wiki source code of Notes for Helium

Version 57.10 by Xiaoling on 2022/05/30 15:15

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