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, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -5,9 +5,9 @@ 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 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.// ... ... @@ -23,44 +23,39 @@ 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.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"]] 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 29 30 -**Frequencies on the Helium Network** 31 - 32 32 * //The frequencies currently available are CN470/EU868/US915/AU915// 33 33 34 - 35 - 36 36 (% style="color:red" %)**Note: more information refer to this link [[Helium Frequency plan>>url:https://docs.helium.com/lorawan-on-helium/frequency-plans/]]** 37 37 38 38 36 += 2. Connect Data-Only Hotspot to Helium = 39 39 40 -= **2.Connect Data-Only Hotspotto Helium**=38 +== 2.1 Prerequisites == 41 41 42 -== **2.1 Prerequisites** == 43 43 44 - 45 45 * //Firmware Requirement: > [[lgw~~-~~-build-v5.4.1640315898>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]]// 46 46 47 47 48 48 45 +== 2.2 Step 1: Configure Frequency Band == 49 49 50 -== **2.2 Step 1: Configure Frequency Band** == 51 51 52 - 53 53 //Each country has a requirement for frequency region. Choose the right one for your area.// 54 54 55 55 [[image:image-20220531175337-1.png]] 56 56 57 57 53 +== 2.3 Step 2: Download the Helium-gateway-rs == 58 58 59 -== **2.3 Step 2: Download the Helium-gateway-rs** == 60 60 61 - 62 62 //Click Download Helium Server and the gateway will download the Helium-gateway-rs// 63 63 58 + 64 64 [[image:image-20220615150600-1.png||height="559" width="1045"]] 65 65 66 66 ... ... @@ -76,7 +76,7 @@ 76 76 [[image:image-20220615150717-3.png||height="605" width="1039"]] 77 77 78 78 79 -== **2.4 Step 3: Install the Helium-gateway-rs**==74 +== 2.4 Step 3: Install the Helium-gateway-rs == 80 80 81 81 82 82 //Click **Install Helium Server** to install gateway-rs.// ... ... @@ -89,21 +89,22 @@ 89 89 (% style="color:red" %)**Note: User will see the echo characters of Helium gateway-rs have been installed successfully.** 90 90 91 91 87 +== 2.5 Step 4: Save&start the Helium Server == 92 92 93 -== **2.5 Step 4: Save&start the Helium Server** == 94 94 95 - 96 96 //By default, Region is US915, After configuring the Configure Frequency Band, click Save&Apply on the Helium IoT screen to modify the Region.// 97 97 92 + 98 98 [[image:image-20220615150903-5.png||height="592" width="1031"]] 99 99 100 100 101 -//Click **Save&Apply** and gateway will start to connect the Helium. The UI shows the connect status.// 102 102 97 +//Click (% style="color:red" %)**Save&Apply**(%%) and gateway will start to connect the Helium. The UI shows the connect status.// 98 + 103 103 [[image:image-20220615151057-6.png||height="580" width="1026"]] 104 104 105 105 106 -== **2.6 Step 5: Check Gateway Connection before onboarding**==102 +== 2.6 Step 5: Check Gateway Connection before onboarding == 107 107 108 108 109 109 //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.// ... ... @@ -118,10 +118,12 @@ 118 118 (% style="color:red" %)**Note: The hotspot is not valid for search in Helium Console before onboarding.** 119 119 120 120 121 -== 2.7 Step 6: Onboarding Data-Only Hotspot == 117 +== 2.7 Step 6: Onboarding Data-Only Hotspot == 122 122 119 + 123 123 (% style="color:red" %)**Note: Onboarding a Data-Only hotspot is necessary for downlink to work. otherwise, the downlink message for LoRa won't work .** 124 124 122 + 125 125 //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.// 126 126 127 127 //Below are the steps we do as per above link here.// ... ... @@ -128,7 +128,7 @@ 128 128 129 129 130 130 ((( 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 +(% 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.**// 132 132 ))) 133 133 134 134 (% class="box" %) ... ... @@ -155,13 +155,15 @@ 155 155 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+ 156 156 ))) 157 157 156 + 158 158 ((( 159 159 (% style="color:red" %)**Note: The wallet Address is 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux. and have about 18 HNT balance.** 160 160 ))) 161 161 162 162 162 + 163 163 ((( 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 +(% 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.**// 165 165 ))) 166 166 167 167 (% class="box" %) ... ... @@ -194,11 +194,15 @@ 194 194 195 195 ((( 196 196 //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.**// 198 198 199 199 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 + 200 200 (% style="color:red" %)**Note: below are two commands, the command without ~-~-commit is the preview mode.** 201 201 205 + 202 202 //Check every detail in this mode and run the command with ~-~-commit to commit to the Helium Blockchain.// 203 203 ))) 204 204 ... ... @@ -242,7 +242,9 @@ 242 242 ))) 243 243 244 244 ((( 245 -//**4. Assert Location. In helium Wallet. run below command, note, the ~-~-gateway should input gateway address from step 2.**// 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.**// 246 246 ))) 247 247 248 248 (% class="box" %) ... ... @@ -296,8 +296,9 @@ 296 296 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+ 297 297 ))) 298 298 305 + 299 299 ((( 300 -**Note: The add hotspot and assert location step might need some time to be effect.** 307 +(% style="color:red" %)**Note: The add hotspot and assert location step might need some time to be effect.** 301 301 ))) 302 302 303 303 ((( ... ... @@ -306,9 +306,9 @@ 306 306 307 307 ))) 308 308 309 -== **2.8 Debug Connection**==316 +== 2.8 Debug Connection == 310 310 311 -=== **2.8.1 Check pkt-fwd running Log**===318 +=== 2.8.1 Check pkt-fwd running Log === 312 312 313 313 314 314 //This command can check if the LoRa Radio part runs correctly and if the gateway receives LoRa packets from LoRaWAN sensors.// ... ... @@ -339,7 +339,7 @@ 339 339 ))) 340 340 341 341 342 -=== **2.8.2 Check gateway-rs Log**===349 +=== 2.8.2 Check gateway-rs Log === 343 343 344 344 345 345 //SSH to gateway and run **logread | grep helium_gateway** to check Gateway-rs running log.// ... ... @@ -347,10 +347,10 @@ 347 347 [[image:image-20220531175809-7.png]] 348 348 349 349 350 -**Note**: logread is dynamic and FIFO, so helium log might be overwritten by other processes info in system. 357 +(% style="color:red" %)**Note**: **logread is dynamic and FIFO, so helium log might be overwritten by other processes info in system.** 351 351 352 352 353 -=== **2.8.3 View the public key address and animal name**===360 +=== 2.8.3 View the public key address and animal name === 354 354 355 355 356 356 (% class="box" %) ... ... @@ -374,8 +374,9 @@ 374 374 Hostpot key and animal name 375 375 376 376 377 -=== **2.8.4 Backup/Restor gateway-rs key**===384 +=== 2.8.4 Backup/Restor gateway-rs key === 378 378 386 + 379 379 ((( 380 380 //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.// 381 381 ))) ... ... @@ -383,12 +383,24 @@ 383 383 [[image:image-20220531175919-9.png]] 384 384 385 385 394 +=== 2.8.5 How to manually download helium gateway-rs via SSH access to the gateway Linux console === 386 386 387 -== **2.9 Forward the data to the other server** == 388 388 389 -=== **2.9.1 Introduction** === 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]] 390 390 401 +opkg install helium-gateway-rs-dragino.ipk 402 +))) 391 391 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 + 392 392 ((( 393 393 //The Dragino gateway has supports the double server settings.// 394 394 ))) ... ... @@ -399,23 +399,25 @@ 399 399 400 400 ))) 401 401 402 -=== **2.9.2 Example**===422 +=== 2.9.2 Example === 403 403 404 404 405 405 //The following takes The Things Network as another LoRaWAN server as an example.// 406 406 407 407 408 -==== **2.9.2.1 Step 1: Back to Semtech UDP page** ==== 409 409 429 +==== (% style="color:blue" %)**Step 1: Back to Semtech UDP page**(%%) ==== 410 410 431 + 411 411 [[image:image-20220531180002-10.png]] 412 412 413 413 Back to Semtech UDP page 414 414 415 415 416 -==== **2.9.2.2 Step 2: Configure the double server forwarding** ==== 417 417 438 +==== (% style="color:blue" %)**Step 2: Configure the double server forwarding**(%%) ==== 418 418 440 + 419 419 [[image:image-20220531180048-11.png]] 420 420 421 421 ... ... @@ -422,15 +422,15 @@ 422 422 //The user can configure the secondary server and then click the button of **Save&Apply**.// 423 423 424 424 425 -== **2.10 Connect Full Hotspot to Helium**==447 +== 2.10 Connect Full Hotspot to Helium == 426 426 427 -= **3. Use Dragino Sensors with Helium** = 428 428 429 429 430 -= =**3.1How to add up user'send-nodewith Heliumconsole**==451 += 3. Use Dragino Sensors with Helium = 431 431 453 +== 3.1 How to add up user's end-node with Helium console == 432 432 433 -=== **3.1.1 Step 1: Login the Helium console**===455 +=== 3.1.1 Step 1: Login the Helium console === 434 434 435 435 436 436 //User can Login the [[Helium Console>>url:https://staging-console.helium.wtf/]]// ... ... @@ -440,7 +440,7 @@ 440 440 login Helium console 441 441 442 442 443 -=== **3.1.2 Step 2: Add up your end-node's key**===465 +=== 3.1.2 Step 2: Add up your end-node's key === 444 444 445 445 446 446 //User add up end-node's key from console ~-~->dervice// ... ... @@ -450,7 +450,7 @@ 450 450 To add a device 451 451 452 452 453 -=== **3.1.3 Step 3:Activate the end-node**===475 +=== 3.1.3 Step 3: Activate the end-node === 454 454 455 455 456 456 ((( ... ... @@ -462,17 +462,25 @@ 462 462 end-node traffic. 463 463 464 464 465 -== **3.2Howtousedecoder**==487 +=== 3.1.4 Check Raw Payload for End Node === 466 466 467 -=== **3.2.1 Step 1:Users can create decoders on functions** === 468 468 490 +Users can check what the end node has uplinked by checking the raw payload. as below: 469 469 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 + 470 470 [[image:image-20220531105325-3.png]] 471 471 472 472 Decoder. 473 473 474 474 475 -=== **3.2.2 Step 2:Add a decoder in functions and apply it to the specified label**===505 +=== 3.2.2 Step 2: Add a decoder in functions and apply it to the specified label === 476 476 477 477 478 478 [[image:image-20220526095629-6.png]] ... ... @@ -483,18 +483,20 @@ 483 483 484 484 [[image:image-20220526100057-8.png||height="352" width="1133"]] 485 485 486 - 487 487 **//Add decoder complete.//** 488 488 489 -=== **3.2.3 Where is the decoder?** === 490 490 519 +=== 3.2.3 Where is the decoder? === 520 + 521 + 491 491 [[console-decoders/Dragino at master · helium/console-decoders · GitHub>>url:https://github.com/helium/console-decoders/tree/master/Dragino]] 492 492 493 493 [[image:image-20220617140118-1.png||height="550" width="883"]] 494 494 495 -== **3.3 How to send a downlink to end device from Helium** == 496 496 527 +== 3.3 How to send a downlink to end device from Helium == 497 497 529 + 498 498 ((( 499 499 //The Helium server needs to convert to Base64 format when sending the downlink command. Please refer to the following example~:// 500 500 ))) ... ... @@ -509,7 +509,7 @@ 509 509 510 510 (% class="box" %) 511 511 ((( 512 -01 00 00 3C ~-~-> AQAAPA== 544 +**01 00 00 3C ~-~-> AQAAPA==** 513 513 ))) 514 514 515 515 [[image:image-20220524171341-21.png]] ... ... @@ -517,9 +517,9 @@ 517 517 Downlink 518 518 519 519 520 -== **3.4 How to add integration to different IoT Servers**==552 +== 3.4 How to add integration to different IoT Servers == 521 521 522 -=== **3.4.1 TagoIO**===554 +=== 3.4.1 TagoIO === 523 523 524 524 525 525 **//The steps to add integration are very simple. Please see the following process.//** ... ... @@ -562,7 +562,7 @@ 562 562 TagoIO. 563 563 564 564 565 -=== **3.4.2 Cayenne**===597 +=== 3.4.2 Cayenne === 566 566 567 567 568 568 //The process of creating devices is similar to Tago.// ... ... @@ -597,11 +597,31 @@ 597 597 Cayenne. 598 598 599 599 600 -== **3.5 Trouble Shooting**==632 +== 3.5 Trouble Shooting == 601 601 602 -=== **3.5.1TroubletoJoin Helium**===634 +=== 3.5.1 Data-Only Hotspot is not connecting to Helium console === 603 603 604 604 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 + 605 605 ((( 606 606 **//Assume the device is powered correctly. If you don't see data in Helium. The possibilities are~://** 607 607 ... ... @@ -622,7 +622,7 @@ 622 622 623 623 ))) 624 624 625 -=== **3.5.2Packet Loss for AU915 / US915 Band**===677 +=== 3.5.4 Packet Loss for AU915 / US915 Band === 626 626 627 627 628 628 ((( ... ... @@ -631,10 +631,12 @@ 631 631 632 632 ((( 633 633 //The reason for this problem is that the node does not lock the channel after joining the network.// 686 + 687 + 634 634 ))) 635 635 636 636 ((( 637 -**Solution:** 691 +(% style="color:red" %)**Solution:** 638 638 639 639 640 640 ))) ... ... @@ -644,15 +644,17 @@ 644 644 ))) 645 645 646 646 * ((( 647 -//AT Command: AT+CHE// 701 +(% style="color:blue" %)**//AT Command: AT+CHE//** 648 648 ))) 649 649 650 650 * ((( 651 -//Example:**AT+CHE=2** ~/~/set channel mode to 1// 705 +//**Example: ** (% style="color:#037691" %)**AT+CHE=2**(%%) ~/~/set channel mode to 1// 652 652 ))) 653 653 654 654 * ((( 655 -//Downlink Command: 0x24// 709 +(% style="color:blue" %)**//Downlink Command: 0x24//** 710 + 711 + 656 656 ))) 657 657 658 658 ((( ... ... @@ -659,14 +659,14 @@ 659 659 //Format: Command Code (0x24) followed by 1 bytes channel value.// 660 660 ))) 661 661 718 + 662 662 ((( 663 663 //If the downlink payload=0x2402, it means set channel mode to use sub-band 2, while type code is 24.// 664 664 ))) 665 665 666 666 * ((( 667 -//Example 1: Downlink Payload: **0x2402** ~/~/ set channel mode to 2// 724 +//**Example 1**: Downlink Payload: (% style="color:#037691" %)**0x2402** (%%) ~/~/ set channel mode to 2// 668 668 669 - 670 670 671 671 ))) 672 672 ... ... @@ -676,4 +676,13 @@ 676 676 677 677 ((( 678 678 //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 + 679 679 )))
- image-20220912161818-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +53.7 KB - Content
- image-20230320141404-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +57.8 KB - Content