Loko

Step-by-Step Guide to Connecting Your Gateway and Loko on The Things Network

Gateway Setup:

  1. Go to The Things Network website, and open an account.
  2. Go to Console page. Profile Icon -> Console.
  3. Choose your region, and a page with two options will appear: “Go To Applications” and “Go To Gateways”.

Loko Device Setup Figure 1: Loko Device Setup

  1. If you are adding your own gateway, first set it up according to the manufacturer's documentation.
  2. Choose “Go To Gateways” for adding a gateway. Click on Register Gateway to register your own gateway. You can use publicly available gateways as well if available in your region, which might cost a fee.
  3. To register your gateway, choose the appropriate frequency plan for your region.

Gateway Configuration Figure 2: Register Gateway

  1. Use the Gateway ID obtained during setup to connect to the internet. Register the gateway using the recommended frequency plan.

Create an application on TTN

  1. After registering your gateway, go back to the “Go to Applications” section. Click on the “Create Application” button and give a Name/ID to your application.

  2. Click on the “register end device” button on your newly created application page. Enter end device specifics manually. For the JoinEUI, you can put anything corresponding to APP-EUI settings on the Loko Configuration Tools app.

Gateway Configuration Figure 2: Register End Device

  1. Click on the Confirm button. More settings will appear. Press the generate buttons to create Dev-Eui and App-Key. Then click on register end device button.

Gateway Configuration Figure 2: TTN App Keys

  1. You can see the device parameters from the overview. You will need the activation parameters to set up the Loko Air unit using the configuration tool.

Gateway Configuration Figure 2: TTN App Configuration

Loko Air Configuration:

  1. Open the Loko Configuration Tool app, select port and press read to read the settings.

Gateway Configuration Figure 2: Loko Configuration

  1. Enable LoRaWan and fill out the required parameters. Parameters should match the TheThingsNetwork page's End device activation information. AppEUI is JoinEUI, and others are the same as on the website.
  2. Press send button and wait a few seconds. Restart the Loko Air unit.

    Live Data Monitoring:

  3. On the TTN site, on your application section, go to payload formatters and choose CayanneLPP for the uplink.

Gateway Configuration Figure 2: Choose Formatter

  1. On the End Device page of TheThingsNetwork website, you should see live data once the gateway receives Loko information. Live data and the Loko air unit location will appear on the map.

Gateway Configuration Figure 2: Live Data Monitoring