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,56 +5,62 @@ 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 ;background-color:#D9E2F3;color:#0070C0" %)**Dragino Hotspots for Helium**21 -|(% style="color: #0070C0; width:132px" %)**Model**|(% style="color:#0070C0; width:126px" %)**Hotspot Types**|(% style="color:#0070C0; width:121px" %)**Mining Ability**|(% style="color:#0070C0; width:203px" %)**Configure Instruction**19 +(% border="1" style="background-color:#ffffcc; width:510px" %) 20 +|(% colspan="4" style="width:589px" %)(% style="color:green" %)**Dragino Hotspots for Helium** 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 -)))|(% 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"]]27 -|(% style="width:132px" %)[[HP0D>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/195-hp0d.html]]|(% width:126px" %)Full Hotspot|(% 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]] 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 +|(% 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** 30 30 30 +**Frequencies on the Helium Network** 31 + 31 31 * //The frequencies currently available are CN470/EU868/US915/AU915// 32 32 34 + 35 + 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==40 += **2. Connect Data-Only Hotspot to Helium** = 39 39 42 +== **2.1 Prerequisites** == 40 40 44 + 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 43 43 44 -== 2.2 Step 1: Configure Frequency Band == 45 45 46 46 50 +== **2.2 Step 1: Configure Frequency Band** == 51 + 52 + 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 59 +== **2.3 Step 2: Download the Helium-gateway-rs** == 54 54 61 + 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 == 79 +== **2.4 Step 3: Install the Helium-gateway-rs** == 74 74 75 75 76 76 //Click **Install Helium Server** to install gateway-rs.// ... ... @@ -83,22 +83,21 @@ 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 93 +== **2.5 Step 4: Save&start the Helium Server** == 88 88 95 + 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 101 +//Click **Save&Apply** and gateway will start to connect the Helium. The UI shows the connect status.// 95 95 96 -//Click (% style="color:red" %)**Save&Apply**(%%) and gateway will start to connect the Helium. The UI shows the connect status.// 97 - 98 98 [[image:image-20220615151057-6.png||height="580" width="1026"]] 99 99 100 100 101 -== 2.6 106 +== **2.6 Step 5: Check Gateway Connection before onboarding** == 102 102 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.// ... ... @@ -113,12 +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 121 +== 2.7 Step 6: Onboarding Data-Only Hotspot == 117 117 118 - 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 - 122 122 //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.// 123 123 124 124 //Below are the steps we do as per above link here.// ... ... @@ -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.**//131 +//**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,15 +152,13 @@ 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 ))) 159 159 160 160 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.**//164 +//**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" %) ... ... @@ -193,15 +193,11 @@ 193 193 194 194 ((( 195 195 //We got the txn info from this step.// 197 +\\//**3. Add Hotspot. In the computer with helium wallet. run below command, replace the txn with the txn you got in above step.**// 196 196 197 197 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.**// 200 - 201 - 202 202 (% style="color:red" %)**Note: below are two commands, the command without ~-~-commit is the preview mode.** 203 203 204 - 205 205 //Check every detail in this mode and run the command with ~-~-commit to commit to the Helium Blockchain.// 206 206 ))) 207 207 ... ... @@ -245,9 +245,7 @@ 245 245 ))) 246 246 247 247 ((( 248 - 249 - 250 -(% style="color:blue" %)//**4. Assert Location. In helium Wallet. run below command, note, the ~-~-gateway should input gateway address from step 2.**// 245 +//**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,9 +301,8 @@ 301 301 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+ 302 302 ))) 303 303 304 - 305 305 ((( 306 - (% style="color:red" %)**Note: The add hotspot and assert location step might need some time to be effect.**300 +**Note: The add hotspot and assert location step might need some time to be effect.** 307 307 ))) 308 308 309 309 ((( ... ... @@ -312,9 +312,9 @@ 312 312 313 313 ))) 314 314 315 -== 2.8 309 +== **2.8 Debug Connection** == 316 316 317 -=== 2.8.1 311 +=== **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,7 +345,7 @@ 345 345 ))) 346 346 347 347 348 -=== 2.8.2 342 +=== **2.8.2 Check gateway-rs Log** === 349 349 350 350 351 351 //SSH to gateway and run **logread | grep helium_gateway** to check Gateway-rs running log.// ... ... @@ -353,10 +353,10 @@ 353 353 [[image:image-20220531175809-7.png]] 354 354 355 355 356 - (% style="color:red" %)**Note**:**logread is dynamic and FIFO, so helium log might be overwritten by other processes info in system.**350 +**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 353 +=== **2.8.3 View the public key address and animal name** === 360 360 361 361 362 362 (% class="box" %) ... ... @@ -380,9 +380,8 @@ 380 380 Hostpot key and animal name 381 381 382 382 383 -=== 2.8.4 377 +=== **2.8.4 Backup/Restor gateway-rs key** === 384 384 385 - 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 387 +== **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]] 389 +=== **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,25 +418,23 @@ 418 418 419 419 ))) 420 420 421 -=== 2.9.2 402 +=== **2.9.2 Example** === 422 422 423 423 424 424 //The following takes The Things Network as another LoRaWAN server as an example.// 425 425 426 426 408 +==== **2.9.2.1 Step 1: Back to Semtech UDP page** ==== 427 427 428 -==== (% style="color:blue" %)**Step 1: Back to Semtech UDP page**(%%) ==== 429 429 430 - 431 431 [[image:image-20220531180002-10.png]] 432 432 433 433 Back to Semtech UDP page 434 434 435 435 416 +==== **2.9.2.2 Step 2: Configure the double server forwarding** ==== 436 436 437 -==== (% style="color:blue" %)**Step 2: Configure the double server forwarding**(%%) ==== 438 438 439 - 440 440 [[image:image-20220531180048-11.png]] 441 441 442 442 ... ... @@ -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 425 +== **2.10 Connect Full Hotspot to Helium** == 447 447 427 += **3. Use Dragino Sensors with Helium** = 448 448 449 449 450 -= 3. UseDraginoSensorswith Helium =430 +== **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 433 +=== **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 443 +=== **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 453 +=== **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 ===465 +== **3.2 How to use decoder** == 487 487 467 +=== **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 475 +=== **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 486 + 515 515 **//Add decoder complete.//** 516 516 489 +=== **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 495 +== **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==**512 +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 520 +== **3.4 How to add integration to different IoT Servers** == 552 552 553 -=== 3.4.1 522 +=== **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 565 +=== **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 600 +== **3.5 Trouble Shooting** == 632 632 633 -=== 3.5.1 Data-OnlyHotspotis not connectingtoHeliumconsole===602 +=== **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 ===625 +=== **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:**637 +**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//**647 +//AT Command: AT+CHE// 701 701 ))) 702 702 703 703 * ((( 704 -// **Example:(% style="color:#037691" %)**AT+CHE=2**(%%)651 +//Example:**AT+CHE=2** ~/~/set channel mode to 1// 705 705 ))) 706 706 707 707 * ((( 708 -(% style="color:blue" %)**//Downlink Command: 0x24//** 709 - 710 - 655 +//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//667 +//Example 1: Downlink Payload: **0x2402** ~/~/ set channel mode to 2// 724 724 669 + 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