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