Changes for page Notes for Helium
Last modified by Edwin Chen on 2024/03/25 08:22
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoye - Content
-
... ... @@ -1,4 +1,4 @@ 1 -**~ Contents:** 1 +**~ Table of Contents:** 2 2 3 3 {{toc/}} 4 4 ... ... @@ -5,10 +5,11 @@ 5 5 6 6 7 7 8 -= **1. Use Dragino Gateways/Hotspots with Helium** = 8 += **1. Use Dragino Gateways/Hotspots with Helium** = 9 9 10 -== **1.1 Support Models** == 10 +== **1.1 Support Models** == 11 11 12 + 12 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 13 14 14 ((( ... ... @@ -22,10 +22,10 @@ 22 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 23 24 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="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.A0ConnectData-OnlyHotspottoHelium"]] 26 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 27 28 -**Frequencies on the Helium Network** 29 +(% style="color:blue" %)**Frequencies on the Helium Network** 29 29 30 30 * //The frequencies currently available are CN470/EU868/US915/AU915// 31 31 ... ... @@ -32,14 +32,15 @@ 32 32 (% style="color:red" %)**Note: more information refer to this link [[Helium Frequency plan>>url:https://docs.helium.com/lorawan-on-helium/frequency-plans/]]** 33 33 34 34 35 -= **2. Connect Data-Only Hotspot to Helium** = 36 36 37 -= =**2.1Prerequisites** ==37 += **2. Connect Data-Only Hotspot to Helium** = 38 38 39 +== **2.1 Prerequisites** == 39 39 41 + 40 40 * //Firmware Requirement: > [[lgw~~-~~-build-v5.4.1640315898>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]]// 41 41 42 -== **2.2 Step 1: Configure Frequency Band** == 44 +== **2.2 Step 1: Configure Frequency Band** == 43 43 44 44 45 45 //Each country has a requirement for frequency region. Choose the right one for your area.// ... ... @@ -47,9 +47,10 @@ 47 47 [[image:image-20220531175337-1.png]] 48 48 49 49 50 -== **2.3 Step 2: Download the Helium-gateway-rs** == 51 51 53 +== **2.3 Step 2: Download the Helium-gateway-rs** == 52 52 55 + 53 53 //Click Download Helium Server and the gateway will download the Helium-gateway-rs// 54 54 55 55 [[image:image-20220615150600-1.png||height="559" width="1045"]] ... ... @@ -67,9 +67,10 @@ 67 67 [[image:image-20220615150717-3.png||height="605" width="1039"]] 68 68 69 69 70 -== **2.4 Step 3: Install the Helium-gateway-rs** == 71 71 74 +== **2.4 Step 3: Install the Helium-gateway-rs** == 72 72 76 + 73 73 //Click **Install Helium Server** to install gateway-rs.// 74 74 75 75 [[image:image-20220615150734-4.png||height="619" width="1035"]] ... ... @@ -76,25 +76,30 @@ 76 76 77 77 Install the Helium gateway-rs 78 78 83 + 79 79 (% style="color:red" %)**Note: User will see the echo characters of Helium gateway-rs have been installed successfully.** 80 80 81 81 82 -== **2.5 Step 4: Save&start the Helium Server** == 83 83 88 +== **2.5 Step 4: Save&start the Helium Server** == 84 84 90 + 85 85 //By default, Region is US915, After configuring the Configure Frequency Band, click Save&Apply on the Helium IoT screen to modify the Region.// 86 86 93 + 87 87 [[image:image-20220615150903-5.png||height="592" width="1031"]] 88 88 89 89 90 -//Click **Save&Apply** and gateway will start to connect the Helium. The UI shows the connect status.// 91 91 98 +//Click (% style="color:red" %)**Save&Apply**(%%) and gateway will start to connect the Helium. The UI shows the connect status.// 99 + 92 92 [[image:image-20220615151057-6.png||height="580" width="1026"]] 93 93 94 94 95 -== **2.6 Step 5: Check Gateway Connection before onboarding** == 96 96 104 +== **2.6 Step 5: Check Gateway Connection before onboarding** == 97 97 106 + 98 98 //A hotspot can transfer data to Helium after finishing step4. We can add a device to Helium and see if the device can join Helium. For example, we add an LGT92 sensor and see below info.// 99 99 100 100 ((( ... ... @@ -107,10 +107,13 @@ 107 107 (% style="color:red" %)**Note: The hotspot is not valid for search in Helium Console before onboarding.** 108 108 109 109 110 -== 2.7 Step 6: Onboarding Data-Only Hotspot == 111 111 120 +== **2.7 Step 6: Onboarding Data-Only Hotspot** == 121 + 122 + 112 112 (% style="color:red" %)**Note: Onboarding a Data-Only hotspot is necessary for downlink to work. otherwise, the downlink message for LoRa won't work .** 113 113 125 + 114 114 //User can refer [[this link>>url:https://docs.helium.com/mine-hnt/data-only-hotspots]] for how to onboarding a data-only hotspot. After onboarding the data-only hotspot, user can see the hotspot on Helium Console.// 115 115 116 116 //Below are the steps we do as per above link here.// ... ... @@ -117,7 +117,7 @@ 117 117 118 118 119 119 ((( 120 -//**1. Set up Helium-Wallet in my computer. [[https:~~/~~/docs.helium.com/wallets/cli-wallet>>url:https://docs.helium.com/wallets/cli-wallet]]. and funds this wallet. From this step, we got the wallet info as below.**// 132 +(% style="color:blue" %)//**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.**// 121 121 ))) 122 122 123 123 (% class="box" %) ... ... @@ -144,13 +144,15 @@ 144 144 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+ 145 145 ))) 146 146 159 + 147 147 ((( 148 148 (% style="color:red" %)**Note: The wallet Address is 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux. and have about 18 HNT balance.** 149 149 ))) 150 150 151 151 165 + 152 152 ((( 153 -//**2. Get txn. In the data-only hotspot. run below command to add a hotspot, owner is the owner wallet of this hotspot, payer is the payer to pay transaction cost.**// 167 +(% style="color:blue" %)//**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.**// 154 154 ))) 155 155 156 156 (% class="box" %) ... ... @@ -183,11 +183,15 @@ 183 183 184 184 ((( 185 185 //We got the txn info from this step.// 186 -\\//**3. Add Hotspot. In the computer with helium wallet. run below command, replace the txn with the txn you got in above step.**// 187 187 188 188 202 + 203 +(% style="color:blue" %)//**3. Add Hotspot. In the computer with helium wallet. run below command, replace the txn with the txn you got in above step.**// 204 + 205 + 189 189 (% style="color:red" %)**Note: below are two commands, the command without ~-~-commit is the preview mode.** 190 190 208 + 191 191 //Check every detail in this mode and run the command with ~-~-commit to commit to the Helium Blockchain.// 192 192 ))) 193 193 ... ... @@ -231,7 +231,9 @@ 231 231 ))) 232 232 233 233 ((( 234 -//**4. Assert Location. In helium Wallet. run below command, note, the ~-~-gateway should input gateway address from step 2.**// 252 + 253 + 254 +(% style="color:blue" %)//**4. Assert Location. In helium Wallet. run below command, note, the ~-~-gateway should input gateway address from step 2.**// 235 235 ))) 236 236 237 237 (% class="box" %) ... ... @@ -285,19 +285,21 @@ 285 285 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+ 286 286 ))) 287 287 308 + 288 288 ((( 289 -**Note: The add hotspot and assert location step might need some time to be effect.** 310 +(% style="color:red" %)**Note: The add hotspot and assert location step might need some time to be effect.** 290 290 ))) 291 291 292 292 ((( 293 293 //After above steps finish, the mobile helium wallet should be able to show that this hotspot has been added to the helium blockchain.// 294 294 316 + 295 295 296 296 ))) 297 297 298 -== **2.8 Debug Connection** == 320 +== **2.8 Debug Connection** == 299 299 300 -=== **2.8.1 Check pkt-fwd running Log** === 322 +=== **2.8.1 Check pkt-fwd running Log** === 301 301 302 302 303 303 //This command can check if the LoRa Radio part runs correctly and if the gateway receives LoRa packets from LoRaWAN sensors.// ... ... @@ -328,20 +328,22 @@ 328 328 ))) 329 329 330 330 331 -=== **2.8.2 Check gateway-rs Log** === 332 332 354 +=== **2.8.2 Check gateway-rs Log** === 333 333 356 + 334 334 //SSH to gateway and run **logread | grep helium_gateway** to check Gateway-rs running log.// 335 335 336 336 [[image:image-20220531175809-7.png]] 337 337 338 338 339 -**Note**: logread is dynamic and FIFO, so helium log might be overwritten by other processes info in system. 362 +(% style="color:red" %)**Note**: **logread is dynamic and FIFO, so helium log might be overwritten by other processes info in system.** 340 340 341 341 342 -=== **2.8.3 View the public key address and animal name** === 343 343 366 +=== **2.8.3 View the public key address and animal name** === 344 344 368 + 345 345 (% class="box" %) 346 346 ((( 347 347 ((( ... ... @@ -363,8 +363,10 @@ 363 363 Hostpot key and animal name 364 364 365 365 366 -=== **2.8.4 Backup/Restor gateway-rs key** === 367 367 391 +=== **2.8.4 Backup/Restor gateway-rs key** === 392 + 393 + 368 368 ((( 369 369 //For the date-only hotspots, the key is the only unique identifier, the users can backup the key by the button of Download. And once the uses upgrade the gateway or the gateway lose the key, the gateway-rs will generate a new key for which the data-only hotspot is the new unit. so if the user would restore to last time which can upload your backup key to the gateway by the button of upload.// 370 370 ))) ... ... @@ -373,9 +373,9 @@ 373 373 374 374 375 375 376 -== **2.9 Forward the data to the other server** == 402 +== **2.9 Forward the data to the other server** == 377 377 378 -=== **2.9.1 Introduction** === 404 +=== **2.9.1 Introduction** === 379 379 380 380 381 381 ((( ... ... @@ -385,26 +385,29 @@ 385 385 ((( 386 386 //Users can back to the page of Semtech UDP to configure other server settings.// 387 387 414 + 388 388 389 389 ))) 390 390 391 -=== **2.9.2 Example** === 418 +=== **2.9.2 Example** === 392 392 393 393 394 394 //The following takes The Things Network as another LoRaWAN server as an example.// 395 395 396 396 397 -==== **2.9.2.1 Step 1: Back to Semtech UDP page** ==== 398 398 425 +==== (% style="color:blue" %)**Step 1: Back to Semtech UDP page**(%%) ==== 399 399 427 + 400 400 [[image:image-20220531180002-10.png]] 401 401 402 402 Back to Semtech UDP page 403 403 404 404 405 -==== **2.9.2.2 Step 2: Configure the double server forwarding** ==== 406 406 434 +==== (% style="color:blue" %)**Step 2: Configure the double server forwarding**(%%) ==== 407 407 436 + 408 408 [[image:image-20220531180048-11.png]] 409 409 410 410 ... ... @@ -411,17 +411,20 @@ 411 411 //The user can configure the secondary server and then click the button of **Save&Apply**.// 412 412 413 413 414 -== **2.10 Connect Full Hotspot to Helium** == 415 415 416 -= ** 3.UseDraginoSensorswithHelium** =444 +== **2.10 Connect Full Hotspot to Helium** == 417 417 418 418 419 -== **3.1 How to add up user's end-node with Helium console** == 420 420 448 += **3. Use Dragino Sensors with Helium** = 421 421 422 -=== **3.1.1 Step 1: Login the Helium console** === 423 423 451 +== **3.1 How to add up user's end-node with Helium console** == 424 424 453 + 454 +=== **3.1.1 Step 1: Login the Helium console** === 455 + 456 + 425 425 //User can Login the [[Helium Console>>url:https://staging-console.helium.wtf/]]// 426 426 427 427 [[image:image-20220531180150-12.png]] ... ... @@ -429,9 +429,10 @@ 429 429 login Helium console 430 430 431 431 432 -=== **3.1.2 Step 2: Add up your end-node's key** === 433 433 465 +=== **3.1.2 Step 2: Add up your end-node's key** === 434 434 467 + 435 435 //User add up end-node's key from console ~-~->dervice// 436 436 437 437 [[image:image-20220531180224-13.png]] ... ... @@ -439,9 +439,10 @@ 439 439 To add a device 440 440 441 441 442 -=== **3.1.3 Step 3:Activate the end-node** === 443 443 476 +=== **3.1.3 Step 3: Activate the end-node** === 444 444 478 + 445 445 ((( 446 446 //Users can activate the end-node with OTAA in which the end-node will Join the network from the Helium server **Eventually you will see traffic**// 447 447 ))) ... ... @@ -451,19 +451,21 @@ 451 451 end-node traffic. 452 452 453 453 454 -== **3.2 How to use decoder** == 455 455 456 -== =**3.2.1Step1:Userscan createdecoders on functions** ===489 +== **3.2 How to use decoder** == 457 457 491 +=== **3.2.1 Step 1: Users can create decoders on functions** === 458 458 493 + 459 459 [[image:image-20220531105325-3.png]] 460 460 461 461 Decoder. 462 462 463 463 464 -=== **3.2.2 Step 2:Add a decoder in functions and apply it to the specified label** === 465 465 500 +=== **3.2.2 Step 2: Add a decoder in functions and apply it to the specified label** === 466 466 502 + 467 467 [[image:image-20220526095629-6.png]] 468 468 469 469 ... ... @@ -472,18 +472,22 @@ 472 472 473 473 [[image:image-20220526100057-8.png||height="352" width="1133"]] 474 474 475 - 476 476 **//Add decoder complete.//** 477 477 478 -=== **3.2.3 Where is the decoder?** === 479 479 514 + 515 +=== **3.2.3 Where is the decoder?** === 516 + 517 + 480 480 [[console-decoders/Dragino at master · helium/console-decoders · GitHub>>url:https://github.com/helium/console-decoders/tree/master/Dragino]] 481 481 482 482 [[image:image-20220617140118-1.png||height="550" width="883"]] 483 483 484 -== **3.3 How to send a downlink to end device from Helium** == 485 485 486 486 524 +== **3.3 How to send a downlink to end device from Helium** == 525 + 526 + 487 487 ((( 488 488 //The Helium server needs to convert to Base64 format when sending the downlink command. Please refer to the following example~:// 489 489 ))) ... ... @@ -498,7 +498,7 @@ 498 498 499 499 (% class="box" %) 500 500 ((( 501 -01 00 00 3C ~-~-> AQAAPA== 541 +**01 00 00 3C ~-~-> AQAAPA==** 502 502 ))) 503 503 504 504 [[image:image-20220524171341-21.png]] ... ... @@ -506,11 +506,12 @@ 506 506 Downlink 507 507 508 508 509 -== **3.4 How to add integration to different IoT Servers** == 510 510 511 -== =**3.4.1TagoIO** ===550 +== **3.4 How to add integration to different IoT Servers** == 512 512 552 +=== **3.4.1 TagoIO** === 513 513 554 + 514 514 **//The steps to add integration are very simple. Please see the following process.//** 515 515 516 516 ... ... @@ -551,9 +551,10 @@ 551 551 TagoIO. 552 552 553 553 554 -=== **3.4.2 Cayenne** === 555 555 596 +=== **3.4.2 Cayenne** === 556 556 598 + 557 557 //The process of creating devices is similar to Tago.// 558 558 559 559 [[image:image-20220526101616-18.png||height="456" width="1097"]] ... ... @@ -586,11 +586,33 @@ 586 586 Cayenne. 587 587 588 588 589 -== **3.5 Trouble Shooting** == 590 590 591 -== =**3.5.1TroubletoJoinHelium** ===632 +== **3.5 Trouble Shooting** == 592 592 593 593 635 +=== 3.5.1 Trouble connecting Helium Console === 636 + 637 + 638 +//**The LPS8/LPS8N/DLOS8/DLOS8N/LG308/LG308N/LIG16/LPS8V2 has finished the software installation and confirmation, But it is not connecting to Helium Console. The possibility is:**// 639 + 640 + 641 +1). The device does not finish the onboarding to the helium blockchain. 642 + 643 + after the 23 version of the gateway-rs, Helium requests the user to onboarding the devices to the blockchain, otherwise, your devices are not connecting to the helium console. ~-~--> Please refer to [[Step 2.7>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20Helium/#H2.7A0Step6:OnboardingData-OnlyHotspot]] to do it. 644 + 645 + 646 +**//The sensor node is not joining the helium network, the helium console shows it is stuck in the cycle of joining-accept. The possibility is~://** 647 + 648 + 649 +1). Your device is not using the region configuration, where you have to use the frequency plan that is compatible with your region. 650 + 651 + For example, if you are in USA, you have to use the US915 frequency plan. More frequency plans details on the helium network: [[https:~~/~~/docs.helium.com/lorawan-on-helium/frequency-plans>>url:https://docs.helium.com/lorawan-on-helium/frequency-plans]] 652 + 653 + 654 + 655 +=== **3.5.2 Trouble to Join Helium** === 656 + 657 + 594 594 ((( 595 595 **//Assume the device is powered correctly. If you don't see data in Helium. The possibilities are~://** 596 596 ... ... @@ -611,7 +611,7 @@ 611 611 612 612 ))) 613 613 614 -=== **3.5. 2Packet Loss for AU915 / US915 Band** ===678 +=== **3.5.3 Packet Loss for AU915 / US915 Band** === 615 615 616 616 617 617 ((( ... ... @@ -620,10 +620,12 @@ 620 620 621 621 ((( 622 622 //The reason for this problem is that the node does not lock the channel after joining the network.// 687 + 688 + 623 623 ))) 624 624 625 625 ((( 626 -**Solution:** 692 +(% style="color:red" %)**Solution:** 627 627 628 628 629 629 ))) ... ... @@ -633,15 +633,17 @@ 633 633 ))) 634 634 635 635 * ((( 636 -//AT Command: AT+CHE// 702 +(% style="color:blue" %)**//AT Command: AT+CHE//** 637 637 ))) 638 638 639 639 * ((( 640 -//Example:**AT+CHE=2** ~/~/set channel mode to 1// 706 +//**Example: ** (% style="color:#037691" %)**AT+CHE=2**(%%) ~/~/set channel mode to 1// 641 641 ))) 642 642 643 643 * ((( 644 -//Downlink Command: 0x24// 710 +(% style="color:blue" %)**//Downlink Command: 0x24//** 711 + 712 + 645 645 ))) 646 646 647 647 ((( ... ... @@ -648,14 +648,14 @@ 648 648 //Format: Command Code (0x24) followed by 1 bytes channel value.// 649 649 ))) 650 650 719 + 651 651 ((( 652 652 //If the downlink payload=0x2402, it means set channel mode to use sub-band 2, while type code is 24.// 653 653 ))) 654 654 655 655 * ((( 656 -//Example 1: Downlink Payload: **0x2402** ~/~/ set channel mode to 2// 725 +//**Example 1**: Downlink Payload: (% style="color:#037691" %)**0x2402** (%%) ~/~/ set channel mode to 2// 657 657 658 - 659 659 660 660 ))) 661 661