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