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