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)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -1,4 +1,4 @@ 1 -**~ Table ofContents:**1 +**~ Contents:** 2 2 3 3 {{toc/}} 4 4 ... ... @@ -5,11 +5,10 @@ 5 5 6 6 7 7 8 -= 1. 8 += **1. Use Dragino Gateways/Hotspots with Helium** = 9 9 10 -== 1.1 10 +== **1.1 Support Models** == 11 11 12 - 13 13 //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.// 14 14 15 15 ((( ... ... @@ -23,10 +23,10 @@ 23 23 [[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]], 24 24 25 25 [[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]] 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"]]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"]] 27 27 |(% 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]] 28 28 29 - (% style="color:blue" %)**Frequencies on the Helium Network**28 +**Frequencies on the Helium Network** 30 30 31 31 * //The frequencies currently available are CN470/EU868/US915/AU915// 32 32 ... ... @@ -33,29 +33,26 @@ 33 33 (% style="color:red" %)**Note: more information refer to this link [[Helium Frequency plan>>url:https://docs.helium.com/lorawan-on-helium/frequency-plans/]]** 34 34 35 35 36 -= 2. 35 += **2. Connect Data-Only Hotspot to Helium** = 37 37 38 -== 2.1 37 +== **2.1 Prerequisites** == 39 39 40 40 41 41 * //Firmware Requirement: > [[lgw~~-~~-build-v5.4.1640315898>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]]// 42 42 42 +== **2.2 Step 1: Configure Frequency Band** == 43 43 44 44 45 -== 2.2 Step 1: Configure Frequency Band == 46 - 47 - 48 48 //Each country has a requirement for frequency region. Choose the right one for your area.// 49 49 50 50 [[image:image-20220531175337-1.png]] 51 51 52 52 53 -== 2.3 50 +== **2.3 Step 2: Download the Helium-gateway-rs** == 54 54 55 55 56 56 //Click Download Helium Server and the gateway will download the Helium-gateway-rs// 57 57 58 - 59 59 [[image:image-20220615150600-1.png||height="559" width="1045"]] 60 60 61 61 ... ... @@ -71,7 +71,7 @@ 71 71 [[image:image-20220615150717-3.png||height="605" width="1039"]] 72 72 73 73 74 -== 2.4 70 +== **2.4 Step 3: Install the Helium-gateway-rs** == 75 75 76 76 77 77 //Click **Install Helium Server** to install gateway-rs.// ... ... @@ -80,26 +80,23 @@ 80 80 81 81 Install the Helium gateway-rs 82 82 83 - 84 84 (% style="color:red" %)**Note: User will see the echo characters of Helium gateway-rs have been installed successfully.** 85 85 86 86 87 -== 2.5 82 +== **2.5 Step 4: Save&start the Helium Server** == 88 88 89 89 90 90 //By default, Region is US915, After configuring the Configure Frequency Band, click Save&Apply on the Helium IoT screen to modify the Region.// 91 91 92 - 93 93 [[image:image-20220615150903-5.png||height="592" width="1031"]] 94 94 95 95 90 +//Click **Save&Apply** and gateway will start to connect the Helium. The UI shows the connect status.// 96 96 97 -//Click (% style="color:red" %)**Save&Apply**(%%) and gateway will start to connect the Helium. The UI shows the connect status.// 98 - 99 99 [[image:image-20220615151057-6.png||height="580" width="1026"]] 100 100 101 101 102 -== 2.6 95 +== **2.6 Step 5: Check Gateway Connection before onboarding** == 103 103 104 104 105 105 //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.// ... ... @@ -114,12 +114,10 @@ 114 114 (% style="color:red" %)**Note: The hotspot is not valid for search in Helium Console before onboarding.** 115 115 116 116 117 -== 2.7 110 +== 2.7 Step 6: Onboarding Data-Only Hotspot == 118 118 119 - 120 120 (% style="color:red" %)**Note: Onboarding a Data-Only hotspot is necessary for downlink to work. otherwise, the downlink message for LoRa won't work .** 121 121 122 - 123 123 //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.// 124 124 125 125 //Below are the steps we do as per above link here.// ... ... @@ -126,7 +126,7 @@ 126 126 127 127 128 128 ((( 129 - (% 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.**//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.**// 130 130 ))) 131 131 132 132 (% class="box" %) ... ... @@ -153,15 +153,13 @@ 153 153 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+ 154 154 ))) 155 155 156 - 157 157 ((( 158 158 (% style="color:red" %)**Note: The wallet Address is 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux. and have about 18 HNT balance.** 159 159 ))) 160 160 161 161 162 - 163 163 ((( 164 - (% 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.**//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.**// 165 165 ))) 166 166 167 167 (% class="box" %) ... ... @@ -194,15 +194,11 @@ 194 194 195 195 ((( 196 196 //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.**// 197 197 198 198 199 - 200 -(% 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.**// 201 - 202 - 203 203 (% style="color:red" %)**Note: below are two commands, the command without ~-~-commit is the preview mode.** 204 204 205 - 206 206 //Check every detail in this mode and run the command with ~-~-commit to commit to the Helium Blockchain.// 207 207 ))) 208 208 ... ... @@ -246,9 +246,7 @@ 246 246 ))) 247 247 248 248 ((( 249 - 250 - 251 -(% style="color:blue" %)//**4. Assert Location. In helium Wallet. run below command, note, the ~-~-gateway should input gateway address from step 2.**// 234 +//**4. Assert Location. In helium Wallet. run below command, note, the ~-~-gateway should input gateway address from step 2.**// 252 252 ))) 253 253 254 254 (% class="box" %) ... ... @@ -302,9 +302,8 @@ 302 302 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+ 303 303 ))) 304 304 305 - 306 306 ((( 307 - (% style="color:red" %)**Note: The add hotspot and assert location step might need some time to be effect.**289 +**Note: The add hotspot and assert location step might need some time to be effect.** 308 308 ))) 309 309 310 310 ((( ... ... @@ -313,9 +313,9 @@ 313 313 314 314 ))) 315 315 316 -== 2.8 298 +== **2.8 Debug Connection** == 317 317 318 -=== 2.8.1 300 +=== **2.8.1 Check pkt-fwd running Log** === 319 319 320 320 321 321 //This command can check if the LoRa Radio part runs correctly and if the gateway receives LoRa packets from LoRaWAN sensors.// ... ... @@ -346,7 +346,7 @@ 346 346 ))) 347 347 348 348 349 -=== 2.8.2 331 +=== **2.8.2 Check gateway-rs Log** === 350 350 351 351 352 352 //SSH to gateway and run **logread | grep helium_gateway** to check Gateway-rs running log.// ... ... @@ -354,10 +354,10 @@ 354 354 [[image:image-20220531175809-7.png]] 355 355 356 356 357 - (% style="color:red" %)**Note**:**logread is dynamic and FIFO, so helium log might be overwritten by other processes info in system.**339 +**Note**: logread is dynamic and FIFO, so helium log might be overwritten by other processes info in system. 358 358 359 359 360 -=== 2.8.3 342 +=== **2.8.3 View the public key address and animal name** === 361 361 362 362 363 363 (% class="box" %) ... ... @@ -381,9 +381,8 @@ 381 381 Hostpot key and animal name 382 382 383 383 384 -=== 2.8.4 366 +=== **2.8.4 Backup/Restor gateway-rs key** === 385 385 386 - 387 387 ((( 388 388 //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.// 389 389 ))) ... ... @@ -391,24 +391,12 @@ 391 391 [[image:image-20220531175919-9.png]] 392 392 393 393 394 -=== 2.8.5 How to manually download helium gateway-rs via SSH access to the gateway Linux console === 395 395 376 +== **2.9 Forward the data to the other server** == 396 396 397 -(% class="box infomessage" %) 398 -((( 399 -cd /tmp;wget -O helium-gateway-rs-dragino.ipk [[https:~~/~~/github.com/helium/gateway-rs/releases/download/v1.0.0-alpha.33/helium-gateway-v1.0.0-alpha.33-dragino.ipk>>https://github.com/helium/gateway-rs/releases/download/v1.0.0-alpha.33/helium-gateway-v1.0.0-alpha.33-dragino.ipk]] 378 +=== **2.9.1 Introduction** === 400 400 401 -opkg install helium-gateway-rs-dragino.ipk 402 -))) 403 403 404 -[[image:image-20230320141404-1.png]] 405 - 406 - 407 -== 2.9 Forward the data to the other server == 408 - 409 -=== 2.9.1 Introduction === 410 - 411 - 412 412 ((( 413 413 //The Dragino gateway has supports the double server settings.// 414 414 ))) ... ... @@ -419,25 +419,23 @@ 419 419 420 420 ))) 421 421 422 -=== 2.9.2 391 +=== **2.9.2 Example** === 423 423 424 424 425 425 //The following takes The Things Network as another LoRaWAN server as an example.// 426 426 427 427 397 +==== **2.9.2.1 Step 1: Back to Semtech UDP page** ==== 428 428 429 -==== (% style="color:blue" %)**Step 1: Back to Semtech UDP page**(%%) ==== 430 430 431 - 432 432 [[image:image-20220531180002-10.png]] 433 433 434 434 Back to Semtech UDP page 435 435 436 436 405 +==== **2.9.2.2 Step 2: Configure the double server forwarding** ==== 437 437 438 -==== (% style="color:blue" %)**Step 2: Configure the double server forwarding**(%%) ==== 439 439 440 - 441 441 [[image:image-20220531180048-11.png]] 442 442 443 443 ... ... @@ -444,15 +444,15 @@ 444 444 //The user can configure the secondary server and then click the button of **Save&Apply**.// 445 445 446 446 447 -== 2.10 414 +== **2.10 Connect Full Hotspot to Helium** == 448 448 416 += **3. Use Dragino Sensors with Helium** = 449 449 450 450 451 -= 3. UseDraginoSensorswith Helium =419 +== **3.1 How to add up user's end-node with Helium console** == 452 452 453 -== 3.1 How to add up user's end-node with Helium console == 454 454 455 -=== 3.1.1 422 +=== **3.1.1 Step 1: Login the Helium console** === 456 456 457 457 458 458 //User can Login the [[Helium Console>>url:https://staging-console.helium.wtf/]]// ... ... @@ -462,7 +462,7 @@ 462 462 login Helium console 463 463 464 464 465 -=== 3.1.2 432 +=== **3.1.2 Step 2: Add up your end-node's key** === 466 466 467 467 468 468 //User add up end-node's key from console ~-~->dervice// ... ... @@ -472,7 +472,7 @@ 472 472 To add a device 473 473 474 474 475 -=== 3.1.3 442 +=== **3.1.3 Step 3:Activate the end-node** === 476 476 477 477 478 478 ((( ... ... @@ -484,25 +484,17 @@ 484 484 end-node traffic. 485 485 486 486 487 -== =3.1.4Check RawPayloadforEndNode ===454 +== **3.2 How to use decoder** == 488 488 456 +=== **3.2.1 Step 1:Users can create decoders on functions** === 489 489 490 -Users can check what the end node has uplinked by checking the raw payload. as below: 491 491 492 -[[image:image-20220912161818-1.png]] 493 - 494 - 495 -== 3.2 How to use decoder == 496 - 497 -=== 3.2.1 Step 1: Users can create decoders on functions === 498 - 499 - 500 500 [[image:image-20220531105325-3.png]] 501 501 502 502 Decoder. 503 503 504 504 505 -=== 3.2.2 464 +=== **3.2.2 Step 2:Add a decoder in functions and apply it to the specified label** === 506 506 507 507 508 508 [[image:image-20220526095629-6.png]] ... ... @@ -513,20 +513,18 @@ 513 513 514 514 [[image:image-20220526100057-8.png||height="352" width="1133"]] 515 515 475 + 516 516 **//Add decoder complete.//** 517 517 478 +=== **3.2.3 Where is the decoder?** === 518 518 519 -=== 3.2.3 Where is the decoder? === 520 - 521 - 522 522 [[console-decoders/Dragino at master · helium/console-decoders · GitHub>>url:https://github.com/helium/console-decoders/tree/master/Dragino]] 523 523 524 524 [[image:image-20220617140118-1.png||height="550" width="883"]] 525 525 484 +== **3.3 How to send a downlink to end device from Helium** == 526 526 527 -== 3.3 How to send a downlink to end device from Helium == 528 528 529 - 530 530 ((( 531 531 //The Helium server needs to convert to Base64 format when sending the downlink command. Please refer to the following example~:// 532 532 ))) ... ... @@ -541,7 +541,7 @@ 541 541 542 542 (% class="box" %) 543 543 ((( 544 - **01 00 00 3C ~-~-> AQAAPA==**501 +01 00 00 3C ~-~-> AQAAPA== 545 545 ))) 546 546 547 547 [[image:image-20220524171341-21.png]] ... ... @@ -549,9 +549,9 @@ 549 549 Downlink 550 550 551 551 552 -== 3.4 509 +== **3.4 How to add integration to different IoT Servers** == 553 553 554 -=== 3.4.1 511 +=== **3.4.1 TagoIO** === 555 555 556 556 557 557 **//The steps to add integration are very simple. Please see the following process.//** ... ... @@ -594,7 +594,7 @@ 594 594 TagoIO. 595 595 596 596 597 -=== 3.4.2 554 +=== **3.4.2 Cayenne** === 598 598 599 599 600 600 //The process of creating devices is similar to Tago.// ... ... @@ -629,31 +629,11 @@ 629 629 Cayenne. 630 630 631 631 632 -== 3.5 589 +== **3.5 Trouble Shooting** == 633 633 634 -=== 3.5.1 Data-OnlyHotspotis not connectingtoHeliumconsole===591 +=== **3.5.1 Trouble to Join Helium** === 635 635 636 636 637 -//**The Data-only hotspot has finished the software installation and confirmation, But it is not connecting to Helium Console. The possibility is:**// 638 - 639 - 640 -1). The hotspot does not finish the onboarding to the helium blockchain. 641 - 642 - after the 23 version of the gateway-rs, Helium requests the user to onboarding the devices to the blockchain, otherwise, your devices can't connect 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. 643 - 644 - 645 -=== 3.5.2 End Device can't join Helium via hotspot, stuck in cycle of Joining-Accept. === 646 - 647 - 648 -Make sure your blockchain region is the same as your hotspot settings. For example, as below, the blockchain is CN region, and software is configure to EU. The hotspot is able to get the OTAA Join Request from End Device on EU region. but due to block chain is CN region, Server will send the Join -Accept in CN region, so end device can't get the OTAA Join Accept. 649 - 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 -=== 3.5.3 Trouble to Join Helium === 655 - 656 - 657 657 ((( 658 658 **//Assume the device is powered correctly. If you don't see data in Helium. The possibilities are~://** 659 659 ... ... @@ -674,7 +674,7 @@ 674 674 675 675 ))) 676 676 677 -=== 3.5. 4Packet Loss for AU915 / US915 Band ===614 +=== **3.5.2 Packet Loss for AU915 / US915 Band** === 678 678 679 679 680 680 ((( ... ... @@ -683,12 +683,10 @@ 683 683 684 684 ((( 685 685 //The reason for this problem is that the node does not lock the channel after joining the network.// 686 - 687 - 688 688 ))) 689 689 690 690 ((( 691 - (% style="color:red" %)**Solution:**626 +**Solution:** 692 692 693 693 694 694 ))) ... ... @@ -698,17 +698,15 @@ 698 698 ))) 699 699 700 700 * ((( 701 - (% style="color:blue" %)**//AT Command: AT+CHE//**636 +//AT Command: AT+CHE// 702 702 ))) 703 703 704 704 * ((( 705 -// **Example:(% style="color:#037691" %)**AT+CHE=2**(%%)640 +//Example:**AT+CHE=2** ~/~/set channel mode to 1// 706 706 ))) 707 707 708 708 * ((( 709 -(% style="color:blue" %)**//Downlink Command: 0x24//** 710 - 711 - 644 +//Downlink Command: 0x24// 712 712 ))) 713 713 714 714 ((( ... ... @@ -715,14 +715,14 @@ 715 715 //Format: Command Code (0x24) followed by 1 bytes channel value.// 716 716 ))) 717 717 718 - 719 719 ((( 720 720 //If the downlink payload=0x2402, it means set channel mode to use sub-band 2, while type code is 24.// 721 721 ))) 722 722 723 723 * ((( 724 -// **Example 1**: Downlink Payload:(% style="color:#037691" %)**0x2402**(%%)~/~/ set channel mode to 2//656 +//Example 1: Downlink Payload: **0x2402** ~/~/ set channel mode to 2// 725 725 658 + 726 726 727 727 ))) 728 728 ... ... @@ -732,13 +732,4 @@ 732 732 733 733 ((( 734 734 //The latest firmware for end node will have this bug fixed.// 735 - 736 - 737 -=== 3.5.5 ADR doesn't work in EU868 band. === 738 - 739 - 740 -See possibility reason from this link: [[https:~~/~~/github.com/helium/router/issues/858 >>https://github.com/helium/router/issues/858]] 741 - 742 - 743 - 744 744 )))
- image-20220912161818-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -53.7 KB - Content
- image-20230320141404-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Kilight - Size
-
... ... @@ -1,1 +1,0 @@ 1 -57.8 KB - Content