LoPy-nano-gateway-wan-public: Difference between revisions

From UNamur InfoSec
Jump to navigation Jump to search
Line 13: Line 13:


== Thethingsnetwork Server ==
== Thethingsnetwork Server ==
*Register Account
1. Go to [https://account.thethingsnetwork.org/register TheThingsNetwork]
2. Enter username, email and password
3. Click "Create Account"
4. Then Follow instruction to verify your email-address
*Setup Gateway
1. Go to [https://console.thethingsnetwork.org/ TheThingsNetwork Console]
2. Click on Gateway
3. Click "register gateway"
4. Select "package forwarder
5. Enter Gateway EUI
    (Note: To get Device EUI. Execute these code in LoPy. [https://www.thethingsnetwork.org/docs/devices/lopy/usage.html Reference])
      from network import LoRa
      import binascii
      lora = LoRa(mode=LoRa.LORAWAN)
      print(binascii.hexlify(lora.mac()).upper().decode('utf-8'))
6. Enter Description
7. Select Frequency Plan
8. Enter Location
9. Select Antenna Placment
10. Click Register Gateway
*Change Gateway Setting


== LoPy ==
== LoPy ==

Revision as of 14:34, 15 March 2017

LoPy nano gateway and Thethingsnetwork

In this page, We are going to:

Thethingsnetwork Server

  • Register Account
1. Go to TheThingsNetwork
2. Enter username, email and password
3. Click "Create Account"
4. Then Follow instruction to verify your email-address
  • Setup Gateway
1. Go to TheThingsNetwork Console
2. Click on Gateway
3. Click "register gateway"
4. Select "package forwarder
5. Enter Gateway EUI
   (Note: To get Device EUI. Execute these code in LoPy. Reference)
     from network import LoRa
     import binascii
     lora = LoRa(mode=LoRa.LORAWAN)
     print(binascii.hexlify(lora.mac()).upper().decode('utf-8'))
6. Enter Description
7. Select Frequency Plan
8. Enter Location
9. Select Antenna Placment
10. Click Register Gateway
  • Change Gateway Setting

LoPy

  • Download LoPy Nano Gateway code from Github