Changes for page Notes for Helium
Last modified by Edwin Chen on 2024/03/25 08:22
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +1,6 @@ 1 1 **Contents:** 2 2 3 +{{toc/}} 3 3 4 4 5 5 = 1. Use Dragino Gateways/Hotspots with Helium = ... ... @@ -8,7 +8,9 @@ 8 8 9 9 There are three types of hotspots that can connect to Helium. They are full-hotspot, light hotspot and 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. 10 10 12 +((( 11 11 Dragino has different gateway models that support different types. 14 +))) 12 12 13 13 (% border="1" style="background-color:#ffffcc; width:785.989px" %) 14 14 |(% colspan="4" style="width:783px" %)(% style="color:green" %)**Dragino Hotspots for Helium** ... ... @@ -20,464 +20,570 @@ 20 20 21 21 * The frequencies currently available are CN470/EU868/US915/AU915 22 22 23 -Note: more information refer to this link [[Helium Frequency plan>>url:https://docs.helium.com/lorawan-on-helium/frequency-plans/]] 26 +**Note**: more information refer to this link [[Helium Frequency plan>>url:https://docs.helium.com/lorawan-on-helium/frequency-plans/]] 24 24 28 += 2. Connect Data-Only Hotspot to Helium = 25 25 26 -= ConnectData-Only Hotspotto Helium=30 +== 2.1 Prerequisites == 27 27 28 -== Prerequisites == 29 - 30 30 * Firmware Requirement: > [[lgw~~-~~-build-v5.4.1640315898>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]] 31 31 32 -== Step 1:Configure Frequency Band == 34 +== 2.2 Step 1:Configure Frequency Band == 33 33 34 34 Each country has a requirement for frequency region. Choose the right one for your area. 35 35 36 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/4/4b/Select_fre.png/600px-Select_fre.png~|~|height="306" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Select_fre.png]]38 +[[image:https://wiki.dragino.com/images/thumb/4/4b/Select_fre.png/600px-Select_fre.png||height="306" width="600"]] 37 37 38 38 Select fre 39 39 40 -== Step 2: Download the Helium-gateway-rs == 42 +== 2.3 Step 2: Download the Helium-gateway-rs == 41 41 42 42 Click Download Helium Server and the gateway will download the Helium-gateway-rs 43 43 44 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/a/ac/Start_download_the_Helium-gatewayrs_1.1.png/600px-Start_download_the_Helium-gatewayrs_1.1.png~|~|height="332" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Start_download_the_Helium-gatewayrs_1.1.png]]46 +[[image:https://wiki.dragino.com/images/thumb/a/ac/Start_download_the_Helium-gatewayrs_1.1.png/600px-Start_download_the_Helium-gatewayrs_1.1.png||height="332" width="600"]] 45 45 46 46 Start download the Helium-gatewayrs 47 47 48 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/c/cb/Helium-gatewayrs_download_success_1.1.png/600px-Helium-gatewayrs_download_success_1.1.png~|~|height="340" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-gatewayrs_download_success_1.1.png]]50 +[[image:https://wiki.dragino.com/images/thumb/c/cb/Helium-gatewayrs_download_success_1.1.png/600px-Helium-gatewayrs_download_success_1.1.png||height="340" width="600"]] 49 49 50 50 Helium-gatewayrs download success 51 51 52 52 If download fails, click and download again 53 53 54 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/2/22/Helium-gatewayrs_download_fail_1.1.png/600px-Helium-gatewayrs_download_fail_1.1.png~|~|height="326" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-gatewayrs_download_fail_1.1.png]]56 +[[image:https://wiki.dragino.com/images/thumb/2/22/Helium-gatewayrs_download_fail_1.1.png/600px-Helium-gatewayrs_download_fail_1.1.png||height="326" width="600"]] 55 55 56 56 Helium-gatewayrs download fail 57 57 60 +== 2.4 Step 3: Install the Helium-gateway-rs == 58 58 59 -== Step 3: Install the Helium-gateway-rs == 60 - 61 61 Click **Install Helium Server** to install gateway-rs. 62 62 63 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/d/d1/Start_Install_the_Helium-gatewayrs_1.1.png/600px-Start_Install_the_Helium-gatewayrs_1.1.png~|~|height="340" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Start_Install_the_Helium-gatewayrs_1.1.png]]64 +[[image:https://wiki.dragino.com/images/thumb/d/d1/Start_Install_the_Helium-gatewayrs_1.1.png/600px-Start_Install_the_Helium-gatewayrs_1.1.png||height="340" width="600"]] 64 64 65 65 Install the Helium gateway-rs 66 66 67 -Note: User will see the echo characters of Helium gateway-rs have been installed successfully. 68 +**Note**: User will see the echo characters of Helium gateway-rs have been installed successfully. 68 68 70 +== 2.5 Step 4: Save&start the Helium Server == 69 69 70 -== Step 4: Save&start the Helium Server == 71 - 72 72 Click **Save&Apply** and gateway will start to connect the Helium. The UI shows the connect status. 73 73 74 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/0/07/Start_Helium-gatewayrs_1.1.png/600px-Start_Helium-gatewayrs_1.1.png~|~|height="329" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Start_Helium-gatewayrs_1.1.png]]74 +[[image:https://wiki.dragino.com/images/thumb/0/07/Start_Helium-gatewayrs_1.1.png/600px-Start_Helium-gatewayrs_1.1.png||height="329" width="600"]] 75 75 76 76 Start Helium-gateway-rs 77 77 78 +== 2.6 Step 5: Check Gateway Connection before onboarding == 78 78 79 -== Step 5: Check Gateway Connection before onboarding == 80 - 81 81 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. 82 82 82 +((( 83 83 Check end device event from [[Helium Console>>url:https://staging-console.helium.wtf/]], We can see the LGT92 data arrived Helium via our hotspot. 84 +))) 84 84 85 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/c/c4/Data-hotspot-data_1.png/600px-Data-hotspot-data_1.png~|~|height="192" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Data-hotspot-data_1.png]]86 +[[image:https://wiki.dragino.com/images/thumb/c/c4/Data-hotspot-data_1.png/600px-Data-hotspot-data_1.png||height="192" width="600"]] 86 86 87 87 Check if the packet is transferred via LPS8 88 88 89 89 **Note:** The hotspot is not valid for search in Helium Console before onboarding. 90 90 92 +== 2.7 Step 6: Onboarding Data-Only Hotspot == 91 91 92 - ==Step6: Onboarding Data-OnlyHotspot==94 +(% 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 .** 93 93 94 -Note: Onboarding a Data-Only hotspot is not necessary, and it will gain very, very small awards on HNT by data-transfer . 95 - 96 96 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. 97 97 98 98 Below are the steps we do as per above link here. 99 99 100 +((( 100 100 ~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. 102 +))) 101 101 102 -{{{[root@iZt4n22vqvm7ajogrfiif6Z helium-wallet-v1.6.4-x86-64-linux]# helium-wallet info 103 -+--------------------+-----------------------------------------------------+ 104 -| Key | Value | 105 -+--------------------+-----------------------------------------------------+ 106 -| Address | 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux | 107 -+--------------------+-----------------------------------------------------+ 108 -| Network | mainnet | 109 -+--------------------+-----------------------------------------------------+ 110 -| Type | ed25519 | 111 -+--------------------+-----------------------------------------------------+ 112 -| Sharded | false | 113 -+--------------------+-----------------------------------------------------+ 114 -| PwHash | Argon2id13 | 115 -+--------------------+-----------------------------------------------------+ 116 -| Balance | 18.76580626 | 117 -+--------------------+-----------------------------------------------------+ 118 -| DC Balance | 0 | 119 -+--------------------+-----------------------------------------------------+ 120 -| Securities Balance | 0.00000000 | 121 -+--------------------+-----------------------------------------------------+}}} 104 +(% class="box" %) 105 +((( 106 +[root@iZt4n22vqvm7ajogrfiif6Z helium-wallet-v1.6.4-x86-64-linux]# helium-wallet info 107 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+ 108 +~| Key | Value | 109 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+ 110 +~| Address | 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux | 111 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+ 112 +~| Network | mainnet | 113 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+ 114 +~| Type | ed25519 | 115 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+ 116 +~| Sharded | (% style="color:purple" %)false (%%) | 117 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+ 118 +~| PwHash | Argon2id13 | 119 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+ 120 +~| Balance | 18.76580626 | 121 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+ 122 +~| DC Balance | 0 | 123 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+ 124 +~| Securities Balance | 0.00000000 | 125 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+ 126 +))) 122 122 123 -Note: The wallet Address is 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux. and have about 18 HNT balance. 128 +((( 129 +**Note**: The wallet Address is 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux. and have about 18 HNT balance. 130 +))) 124 124 125 125 133 +((( 126 126 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. 135 +))) 127 127 128 -{{{root@123123:~# helium_gateway add --owner 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux --payer 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux { "address": "146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm", "fee": 65000, "mode": "dataonly", "owner": "13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux", "payer": "13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux", "staking fee": 1000000, "txn": "CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJVf3m7qGEF+WZYNhVgLtajtf4elKPoA3NkvAphTQTACohAXCfSZ5yNupaL/FxaNGQgV+P9UHLWzicPhTh7YVEOl2BOMCEPUDo+wM=" }}}} 137 +(% class="box" %) 138 +((( 139 +root@123123:~~# helium_gateway add ~-~-owner 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux ~-~-payer 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux 129 129 141 +{ 142 +(% style="color:red" %)"address": "146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm", 143 + 144 +(% style="color:red" %) 145 +"fee": (% style="color:black" %)65000, 146 + 147 +(% style="color:red" %) 148 +"mode": "dataonly", 149 + 150 +(% style="color:red" %) 151 +"owner": "13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux", 152 + 153 +(% style="color:red" %) 154 +"payer": "13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux", 155 + 156 +(% style="color:red" %) 157 +"staking fee"(% style="color:black" %): 1000000, 158 + 159 +(% style="color: red;" %) 160 +"txn": "CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJVf3m7qGEF+WZYNhVgLtajtf4elKPoA3NkvAphTQTACohAXCfSZ5yNupaL/FxaNGQgV+P9UHLWzicPhTh7YVEOl2BOMCEPUDo+wM=" 161 + 162 +} 163 +))) 164 + 165 +((( 130 130 We got the txn info from this step. 131 131 \\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. 168 +))) 132 132 133 -{{{[root@]# helium-wallet hotspots add CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJVf3m7qGEF+WZYNhVgLtajtf4elKPoA3NkvAphTQTACohAXCfSZ5yNupaL/FxaNGQgV+P9UHLWzicPhTh7YVEOl2BOMCEPUDo+wM= 170 +(% class="box" %) 171 +((( 172 +[root@]# helium-wallet hotspots add CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJVf3m7qGEF+WZYNhVgLtajtf4elKPoA3NkvAphTQTACohAXCfSZ5yNupaL/FxaNGQgV+P9UHLWzicPhTh7YVEOl2BOMCEPUDo+wM= 134 134 Password: [hidden] 135 -+------------------+-----------------------------------------------------+ 136 -| Key | Value | 137 -+------------------+-----------------------------------------------------+ 138 -| Address | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm | 139 -+------------------+-----------------------------------------------------+ 140 -| Payer | 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux | 141 -+------------------+-----------------------------------------------------+ 142 -| Owner | 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux | 143 -+------------------+-----------------------------------------------------+ 144 -| Fee (DC) | 65000 | 145 -+------------------+-----------------------------------------------------+ 146 -| Staking fee (DC) | 1000000 | 147 -+------------------+-----------------------------------------------------+ 148 -| Hash | none | 149 -+------------------+-----------------------------------------------------+ 150 - 151 -Preview mode: use --commit to submit the transaction to the network 152 -[root@]# helium-wallet hotspots add CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJV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~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+ 183 +~| Fee (DC) | 65000 | 184 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+ 185 +~| Staking fee (DC) | 1000000 | 186 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+ 187 +~| Hash | none | 188 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+ 189 +\\Preview mode: use ~-~-commit to submit the transaction to the network 190 +[root@]# helium-wallet hotspots add CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJVf3m7qGEF+WZYNhVgLtajtf4elKPoA3NkvAphTQTACohAXCfSZ5yNupaL/FxaNGQgV+P9UHLWzicPhTh7YVEOl2BOMCEPUDo+wM= ~-~-commit 153 153 Password: [hidden] 154 -+------------------+-----------------------------------------------------+ 155 -| Key | Value | 156 -+------------------+-----------------------------------------------------+ 157 -| Address | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm | 158 -+------------------+-----------------------------------------------------+ 159 -| Payer | 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux | 160 -+------------------+-----------------------------------------------------+ 161 -| Owner | 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux | 162 -+------------------+-----------------------------------------------------+ 163 -| Fee (DC) | 65000 | 164 -+------------------+-----------------------------------------------------+ 165 -| Staking fee (DC) | 1000000 | 166 -+------------------+-----------------------------------------------------+ 167 -| Hash | i6BQAI4Ehnd7nb8zfvegprhO2fOI1rj4UEPbAVC2sWk | 168 -+------------------+-----------------------------------------------------+}}} 192 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+ 193 +~| Key | Value | 194 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+ 195 +~| Address | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm | 196 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+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~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+ 207 +))) 169 169 170 - 209 +((( 171 171 4. Assert Location. In helium Wallet. run below command, note, the ~-~-gateway should input gateway address from step 2. 211 +))) 172 172 173 -{{{[root@]# helium-wallet hotspots assert --gateway 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm --lat=22.706922 --lon=114.242538 --mode dataonly 213 +(% class="box" %) 214 +((( 215 +[root@]# helium-wallet hotspots assert ~-~-gateway 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm ~-~-lat=22.706922 ~-~-lon=114.242538 ~-~-mode dataonly 174 174 Password: [hidden] 175 -+------------------+-----------------------------------------------------+ 176 -| Key | Value | 177 -+------------------+-----------------------------------------------------+ 178 -| Address | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm | 179 -+------------------+-----------------------------------------------------+ 180 -| Location | 8c411c02148d7ff | 181 -+------------------+-----------------------------------------------------+ 182 -| Payer | 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux | 183 -+------------------+-----------------------------------------------------+ 184 -| Nonce | 1 | 185 -+------------------+-----------------------------------------------------+ 186 -| Fee (DC) | 55000 | 187 -+------------------+-----------------------------------------------------+ 188 -| Staking Fee (DC) | 500000 | 189 -+------------------+-----------------------------------------------------+ 190 -| Gain (dBi) | 1.2 | 191 -+------------------+-----------------------------------------------------+ 192 -| Elevation | 0 | 193 -+------------------+-----------------------------------------------------+ 194 -| Hash | none | 195 -+------------------+-----------------------------------------------------+ 196 - 197 -Preview mode: use --commit to submit the transaction to the network 198 -[root@]# helium-wallet hotspots assert --gateway 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm --lat=22.706922 --lon=114.242538 --mode dataonly --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Hash | none | 237 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+ 238 +\\Preview mode: use ~-~-commit to submit the transaction to the network 239 +[root@]# helium-wallet hotspots assert ~-~-gateway 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm ~-~-lat=22.706922 ~-~-lon=114.242538 ~-~-mode dataonly ~-~-commit 199 199 Password: [hidden] 200 -+------------------+-----------------------------------------------------+ 201 -| Key | Value | 202 -+------------------+-----------------------------------------------------+ 203 -| Address | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm | 204 -+------------------+-----------------------------------------------------+ 205 -| Location | 8c411c02148d7ff | 206 -+------------------+-----------------------------------------------------+ 207 -| Payer | 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux | 208 -+------------------+-----------------------------------------------------+ 209 -| Nonce | 1 | 210 -+------------------+-----------------------------------------------------+ 211 -| Fee (DC) | 55000 | 212 -+------------------+-----------------------------------------------------+ 213 -| Staking Fee (DC) | 500000 | 214 -+------------------+-----------------------------------------------------+ 215 -| Gain (dBi) | 1.2 | 216 -+------------------+-----------------------------------------------------+ 217 -| Elevation | 0 | 218 -+------------------+-----------------------------------------------------+ 219 -| Hash | P1P8olxrzPJ1f3HWiLxcSincdF5fDLLCt2HbpYBhWwk | 220 -+------------------+-----------------------------------------------------+}}} 241 ++~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-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~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+ 262 +))) 221 221 264 +((( 222 222 Note: The add hotspot and assert location step might need some time to be effect. 266 +))) 223 223 268 +((( 224 224 After above steps finish, the mobile helium wallet should be able to show that this hotspot has been added to the helium blockchain. 270 +))) 225 225 272 +== 2.8 Debug Connection == 226 226 227 -== DebugConnection ==274 +=== 2.8.1 Check pkt-fwd running Log === 228 228 229 -=== Check pkt-fwd running Log === 230 - 231 231 This command can check if the LoRa Radio part runs correctly and if the gateway receives LoRa packets from LoRaWAN sensors. 232 232 278 +((( 233 233 Below logs shows the gateway receive two LoRaWAN packets. 280 +))) 234 234 235 -{{{root@123123:~# logread -f 236 -Sun Nov 14 14:28:10 2021 daemon.info lora_pkt_fwd[3145]: INFO~ [down] PULL_ACK received in 244 ms 282 +(% class="box" %) 283 +((( 284 +root@123123:~~# logread -f 285 +Sun Nov 14 14:28:10 2021 daemon.info lora_pkt_fwd[3145]: INFO~~ [down] PULL_ACK received in 244 ms 237 237 Sun Nov 14 14:28:11 2021 user.notice iot_keep_alive: Internet Access OK: via eth1 238 238 Sun Nov 14 14:28:11 2021 user.notice iot_keep_alive: use WAN or WiFi for internet access now 239 -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"} 240 -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"}]} 241 -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"} 242 -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"}]} 288 +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"**} 289 +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"**}]} 290 +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"**} 291 +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"**}]} 243 243 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: 244 -Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~ ################## Report at: 2021-11-14 14:28:19 UTC ################## 245 -Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~ ### [UPSTREAM] ### 246 -Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~ # RF packets received by concentrator: 6 247 -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% 248 -Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~ # RF packets forwarded: 6 (161 bytes) 249 -Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~ # PUSH_DATA datagrams sent: 6 (1493 bytes) 250 -Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~ # PUSH_DATA acknowledged: 0.00% 251 -Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~ ### [DOWNSTREAM] ###}}} 293 +Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ ~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~# Report at: 2021-11-14 14:28:19 UTC ~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~# 294 +Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ ~#~## [UPSTREAM] ~#~## 295 +Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # RF packets received by concentrator: 6 296 +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% 297 +Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # RF packets forwarded: 6 (161 bytes) 298 +Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # PUSH_DATA datagrams sent: 6 (1493 bytes) 299 +Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # PUSH_DATA acknowledged: 0.00% 300 +Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ ~#~## [DOWNSTREAM] ~#~## 301 +))) 252 252 303 +=== 2.8.2 Check gateway-rs Log === 253 253 254 -=== Check gateway-rs Log === 255 - 256 256 SSH to gateway and run **logread | grep helium_gateway** to check Gateway-rs running log. 257 257 258 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/6/6a/Helium-gatewayrs_log.png/600px-Helium-gatewayrs_log.png~|~|height="69" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-gatewayrs_log.png]]307 +[[image:https://wiki.dragino.com/images/thumb/6/6a/Helium-gatewayrs_log.png/600px-Helium-gatewayrs_log.png||height="69" width="600"]] 259 259 260 260 Helium-gatewayrs log 261 261 262 -Note: logread is dynamic and FIFO, so helium log might be overwritten by other processes info in system. 311 +**Note**: logread is dynamic and FIFO, so helium log might be overwritten by other processes info in system. 263 263 264 -=== View the public key address and animal name === 313 +=== 2.8.3 View the public key address and animal name === 265 265 266 -{{{root@123123:~# helium_gateway key info { "address": "13KmbKLdpDfECx19kB2nX4suSzz3GskA4JVqKHAKiJ89kuyJx8T", "name": "great-mint-lizard" }}}} 315 +(% class="box" %) 316 +((( 317 +((( 318 +((( 319 +{{{root@123123:~# helium_gateway key info }}} 320 +{ 321 +))) 322 +))) 267 267 268 -[[~[~[image:https://wiki.dragino.com/images/thumb/c/ce/Hostpot_key_and_animal_name.png/600px-Hostpot_key_and_animal_name.png~|~|height="323" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Hostpot_key_and_animal_name.png]] 324 +((( 325 +(% style="color:red" %){{{"address": "13KmbKLdpDfECx19kB2nX4suSzz3GskA4JVqKHAKiJ89kuyJx8T",}}} 326 +{{{"name": "great-mint-lizard"}}}(%%) 327 +(% style="color:black" %)} 328 +))) 329 +))) 269 269 331 +[[image:https://wiki.dragino.com/images/thumb/c/ce/Hostpot_key_and_animal_name.png/600px-Hostpot_key_and_animal_name.png||height="323" width="600"]] 332 + 270 270 Hostpot key and animal name 271 271 335 +=== 2.8.4 Backup/Restor gateway-rs key === 272 272 273 -=== Backup/Restor gateway-rs key === 274 - 337 +((( 275 275 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. 339 +))) 276 276 277 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/e/ef/Backup_and_restore_key.png/600px-Backup_and_restore_key.png~|~|height="343" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Backup_and_restore_key.png]]341 +[[image:https://wiki.dragino.com/images/thumb/e/ef/Backup_and_restore_key.png/600px-Backup_and_restore_key.png||height="343" width="600"]] 278 278 279 279 Backup and restore key 280 280 345 +== 2.9 Forward the data to the other server == 281 281 282 -== Forwardthedata tothe other server==347 +=== 2.9.1 Introduction === 283 283 284 -=== Introduction === 285 - 349 +((( 286 286 The Dragino gateway has supports the double server settings. 351 +))) 287 287 353 +((( 288 288 Users can back to the page of Semtech UDP to configure other server settings. 355 +))) 289 289 290 -=== Example === 357 +=== 2.9.2 Example === 291 291 292 292 The following takes The Things Network as another LoRaWAN server as an example, 293 293 294 -==== Step 1: Back to Semtech UDP page ==== 361 +==== 2.9.2.1 Step 1: Back to Semtech UDP page ==== 295 295 296 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/2/2c/Helium_Primary_page.png/600px-Helium_Primary_page.png~|~|height="415" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium_Primary_page.png]]363 +[[image:https://wiki.dragino.com/images/thumb/2/2c/Helium_Primary_page.png/600px-Helium_Primary_page.png||height="415" width="600"]] 297 297 298 298 Back to Semtech UDP page 299 299 300 -==== Step 2: Configure the double server forwarding ==== 367 +==== 2.9.2.2 Step 2: Configure the double server forwarding ==== 301 301 302 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/0/05/TTNv3_Secondary_2.png/600px-TTNv3_Secondary_2.png~|~|height="387" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:TTNv3_Secondary_2.png]]369 +[[image:https://wiki.dragino.com/images/thumb/0/05/TTNv3_Secondary_2.png/600px-TTNv3_Secondary_2.png||height="387" width="600"]] 303 303 304 304 Configure the double server 305 305 306 306 The user can configure the secondary server and then click the button of Save&Apply. 307 307 308 -== Connect Full Hotspot to Helium == 375 +== 2.10 Connect Full Hotspot to Helium == 309 309 310 -= Use Dragino Sensors with Helium = 377 += 3. Use Dragino Sensors with Helium = 311 311 312 -== How to add up user's end-node with Helium console == 379 +== 3.1 How to add up user's end-node with Helium console == 313 313 314 -=== Step 1:Login the Helium console === 381 +=== 3.1.1 Step 1:Login the Helium console === 315 315 316 316 User can Login the [[Helium Console>>url:https://staging-console.helium.wtf/]] 317 317 318 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/8/81/Login_Helium_console.png/600px-Login_Helium_console.png~|~|height="626" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Login_Helium_console.png]]385 +[[image:https://wiki.dragino.com/images/thumb/8/81/Login_Helium_console.png/600px-Login_Helium_console.png||height="626" width="600"]] 319 319 320 320 login Helium console 321 321 322 -=== Step 2:Add up your end-node's key === 389 +=== 3.1.2 Step 2:Add up your end-node's key === 323 323 324 324 User add up end-node's key from console ~-~->dervice 325 325 326 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/0/05/To_add_a_device.png/600px-To_add_a_device.png~|~|height="366" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:To_add_a_device.png]]393 +[[image:https://wiki.dragino.com/images/thumb/0/05/To_add_a_device.png/600px-To_add_a_device.png||height="366" width="600"]] 327 327 328 328 To add a device 329 329 330 -=== Step 3:Activate the end-node === 397 +=== 3.1.3 Step 3:Activate the end-node === 331 331 399 +((( 332 332 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** 401 +))) 333 333 334 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/4/45/End-node_traffic.png/600px-End-node_traffic.png~|~|height="239" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:End-node_traffic.png]]403 +[[image:https://wiki.dragino.com/images/thumb/4/45/End-node_traffic.png/600px-End-node_traffic.png||height="239" width="600"]] 335 335 336 336 end-node traffic. 337 337 338 -== How to use decoder == 407 +== 3.2 How to use decoder == 339 339 340 -=== Step 1:Users can create decoders on functions === 409 +=== 3.2.1 Step 1:Users can create decoders on functions === 341 341 342 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/6/6e/LoRaWAN_Communication_Debug6.png/600px-LoRaWAN_Communication_Debug6.png~|~|height="266" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:LoRaWAN_Communication_Debug6.png]]411 +[[image:https://wiki.dragino.com/images/thumb/6/6e/LoRaWAN_Communication_Debug6.png/600px-LoRaWAN_Communication_Debug6.png||height="266" width="600"]] 343 343 344 344 Decoder. 345 345 346 -=== Step 2:Add a decoder in functions and apply it to the specified label === 415 +=== 3.2.2 Step 2:Add a decoder in functions and apply it to the specified label === 347 347 348 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/6/60/LoRaWAN_Communication_Debug7.png/600px-LoRaWAN_Communication_Debug7.png~|~|height="271" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:LoRaWAN_Communication_Debug7.png]]417 +[[image:https://wiki.dragino.com/images/thumb/6/60/LoRaWAN_Communication_Debug7.png/600px-LoRaWAN_Communication_Debug7.png||height="271" width="600"]] 349 349 350 350 Decoder. 351 351 352 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/9/9a/LoRaWAN_Communication_Debug8.png/600px-LoRaWAN_Communication_Debug8.png~|~|height="269" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:LoRaWAN_Communication_Debug8.png]]421 +[[image:https://wiki.dragino.com/images/thumb/9/9a/LoRaWAN_Communication_Debug8.png/600px-LoRaWAN_Communication_Debug8.png||height="269" width="600"]] 353 353 354 354 Decoder. 355 355 356 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/6/6b/LoRaWAN_Communication_Debug9.png/600px-LoRaWAN_Communication_Debug9.png~|~|height="307" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:LoRaWAN_Communication_Debug9.png]]425 +[[image:https://wiki.dragino.com/images/thumb/6/6b/LoRaWAN_Communication_Debug9.png/600px-LoRaWAN_Communication_Debug9.png||height="307" width="600"]] 357 357 358 358 Decoder. 359 359 360 360 Add decoder complete. 361 361 431 +== 3.3 How to send a downlink to end device from Helium == 362 362 363 -== How to send a downlink to end device from Helium == 364 - 433 +((( 365 365 The Helium server needs to convert to Base64 format when sending the downlink command. Please refer to the following example: 435 +))) 366 366 437 +((( 367 367 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 +))) 368 368 441 +((( 369 369 Change Uplink Interval:Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 443 +))) 370 370 445 +(% class="box" %) 446 +((( 371 371 01 00 00 3C ~-~-> AQAAPA== 448 +))) 372 372 373 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/c/c5/Helium_downlink.png/600px-Helium_downlink.png~|~|height="360" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium_downlink.png]]450 +[[image:https://wiki.dragino.com/images/thumb/c/c5/Helium_downlink.png/600px-Helium_downlink.png||height="360" width="600"]] 374 374 375 375 Downlink 376 376 454 +== 3.4 How to add integration to different IoT Servers == 377 377 378 -== Howtoadd integration to differentIoTServers==456 +=== 3.4.1 TagoIO === 379 379 380 -=== TagoIO === 381 - 382 382 The steps to add integration are very simple. Please see the following process. 383 383 384 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/c/ce/Helium-togo1.jpg/600px-Helium-togo1.jpg~|~|height="284" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-togo1.jpg]]460 +[[image:https://wiki.dragino.com/images/thumb/c/ce/Helium-togo1.jpg/600px-Helium-togo1.jpg||height="284" width="600"]] 385 385 386 386 TagoIO. 387 387 388 388 Generate the authorization code and then copy it. 389 389 390 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/5/5e/Helium-togo2.png/600px-Helium-togo2.png~|~|height="197" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-togo2.png]]466 +[[image:https://wiki.dragino.com/images/thumb/5/5e/Helium-togo2.png/600px-Helium-togo2.png||height="197" width="600"]] 391 391 392 392 TagoIO. 393 393 394 394 Apply Integration to Label. 395 395 396 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/3/39/Helium-togo3.png/600px-Helium-togo3.png~|~|height="270" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-togo3.png]]472 +[[image:https://wiki.dragino.com/images/thumb/3/39/Helium-togo3.png/600px-Helium-togo3.png||height="270" width="600"]] 397 397 398 398 TagoIO. 399 399 400 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/a/aa/Helium-togo4.png/600px-Helium-togo4.png~|~|height="210" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-togo4.png]]476 +[[image:https://wiki.dragino.com/images/thumb/a/aa/Helium-togo4.png/600px-Helium-togo4.png||height="210" width="600"]] 401 401 402 402 TagoIO. 403 403 404 404 Click LoRaWAN Helium,select the device. 405 405 406 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/d/d0/Helium-togo5.png/600px-Helium-togo5.png~|~|height="338" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-togo5.png]]482 +[[image:https://wiki.dragino.com/images/thumb/d/d0/Helium-togo5.png/600px-Helium-togo5.png||height="338" width="600"]] 407 407 408 408 TagoIO. 409 409 410 410 Fill in DEVEUI and create my device. 411 411 412 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/2/20/Helium-togo6.png/600px-Helium-togo6.png~|~|height="434" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-togo6.png]]488 +[[image:https://wiki.dragino.com/images/thumb/2/20/Helium-togo6.png/600px-Helium-togo6.png||height="434" width="600"]] 413 413 414 414 TagoIO. 415 415 416 -=== Cayenne === 492 +=== 3.4.2 Cayenne === 417 417 418 418 The process of creating devices is similar to Tago. 419 419 420 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/f/fa/Helium-Cayenne1.png/600px-Helium-Cayenne1.png~|~|height="246" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-Cayenne1.png]]496 +[[image:https://wiki.dragino.com/images/thumb/f/fa/Helium-Cayenne1.png/600px-Helium-Cayenne1.png||height="246" width="600"]] 421 421 422 422 Cayenne. 423 423 424 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/6/6a/Helium-Cayenne2.png/600px-Helium-Cayenne2.png~|~|height="296" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-Cayenne2.png]]500 +[[image:https://wiki.dragino.com/images/thumb/6/6a/Helium-Cayenne2.png/600px-Helium-Cayenne2.png||height="296" width="600"]] 425 425 426 426 Cayenne. 427 427 428 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/2/24/Helium-Cayenne3.png/600px-Helium-Cayenne3.png~|~|height="276" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-Cayenne3.png]]504 +[[image:https://wiki.dragino.com/images/thumb/2/24/Helium-Cayenne3.png/600px-Helium-Cayenne3.png||height="276" width="600"]] 429 429 430 430 Cayenne. 431 431 432 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/b/b2/Helium-Cayenne4.png/600px-Helium-Cayenne4.png~|~|height="358" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-Cayenne4.png]]508 +[[image:https://wiki.dragino.com/images/thumb/b/b2/Helium-Cayenne4.png/600px-Helium-Cayenne4.png||height="358" width="600"]] 433 433 434 434 Cayenne. 435 435 436 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/3/37/Helium-Cayenne5.jpg/600px-Helium-Cayenne5.jpg~|~|height="341" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-Cayenne5.jpg]]512 +[[image:https://wiki.dragino.com/images/thumb/3/37/Helium-Cayenne5.jpg/600px-Helium-Cayenne5.jpg||height="341" width="600"]] 437 437 438 438 Cayenne. 439 439 440 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/1/1d/Helium-Cayenne6.jpg/600px-Helium-Cayenne6.jpg~|~|height="326" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Helium-Cayenne6.jpg]]516 +[[image:https://wiki.dragino.com/images/thumb/1/1d/Helium-Cayenne6.jpg/600px-Helium-Cayenne6.jpg||height="326" width="600"]] 441 441 442 442 Cayenne. 443 443 444 -== Trouble Shooting == 520 +== 3.5 Trouble Shooting == 445 445 446 -=== Trouble to Join Helium === 522 +=== 3.5.1 Trouble to Join Helium === 447 447 524 +((( 448 448 Assume the device is powered correctly. If you don't see data in Helium. The possibilities are: 526 +))) 449 449 528 +((( 450 450 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 +))) 451 451 532 +((( 452 452 2) Your end node frequency band doesn't match the Helium gateway frequency band. (Please double-check if frequency band matches) 534 +))) 453 453 536 +((( 454 454 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 +))) 455 455 540 +=== 3.5.2 Packet Loss for AU915 / US915 Band === 456 456 457 -=== Packet Loss for AU915 / US915 Band === 458 - 542 +((( 459 459 The node working on the AU915/US915 frequency has packet loss or the frequency channel and the gateway channel are different. 544 +))) 460 460 546 +((( 461 461 The reason for this problem is that the node does not lock the channel after joining the network. 548 +))) 462 462 550 +((( 463 463 Solution: 552 +))) 464 464 554 +((( 465 465 (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 +))) 466 466 467 -* AT Command: AT+CHE 558 +* ((( 559 +AT Command: AT+CHE 560 +))) 468 468 469 -* Example:AT+CHE=1 ~/~/set channel mode to 1 562 +* ((( 563 +Example:AT+CHE=1 ~/~/set channel mode to 1 564 +))) 470 470 471 -* Downlink Command: 0x24 566 +* ((( 567 +Downlink Command: 0x24 568 +))) 472 472 570 +((( 473 473 Format: Command Code (0x24) followed by 1 bytes channel value. 572 +))) 474 474 574 +((( 475 475 If the downlink payload=2401, it means set channel mode to 1, while type code is 24. 576 +))) 476 476 477 -* Example 1: Downlink Payload: 2401 ~/~/ set channel mode to 1 578 +* ((( 579 +Example 1: Downlink Payload: 2401 ~/~/ set channel mode to 1 580 +))) 478 478 479 -* Example 2: Downlink Payload: 2405 ~/~/ set channel mode to 5 582 +* ((( 583 +Example 2: Downlink Payload: 2405 ~/~/ set channel mode to 5 584 +))) 480 480 586 +((( 481 481 (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 +))) 482 482 590 +((( 483 483 The latest firmware for end node will have this bug fixed. 592 +)))