In this article
Categories

The Things Network uplink via https POST integration

Print

Connecting The Things Network to AlphaX Cloud using https POST integration method.

The Things Network provides a set of open tools and a global, open network to build your next IoT application at low cost, featuring maximum security and ready to scale.
This help article will explore the easiest way to connect this network to the AlphaX platform for control and visualisation applications.

Assumptions
  • Devices are connected and communicating via the The Things Network*
  • You have enabled https integrations within AlphaX Cloud and generated a conduit token

* For assistance with the The Things Network please visit here.
For help generating an AlphaX Conduit token see this help article.

To connect your devices with The Things Network you’ll need to register an account and an application.
To register an account you’ll need to do the following:

  1. Go to account.thethingsnetwork.org
  2. Select Create an account
  3. Enter a username, email address and a secure password then select Create Account. Take care in choosing a username as you will not be able to change it.
  4. You will soon receive a confirmation email from TTN, click the link in this email to validate your account (If you can’t find the email, don’t forget to check your spam folder).
  5. Sign in to The Things Network with your new account if you have not already.

Now we have an account and we’re signed in, we need to register an application and configure it with the HTTP Integration.

  1. Navigate to the TTN Console found at console.thethingsnetwork.org
  2. Follow the instructions from TTN found here to register an application:https://www.thethingsnetwork.org/docs/applications/add.html Take care when selecting a Handler, you can use the default or select another if the devices will be used in another region. Additionally, the default Australian Handler does not support the HTTP integration, in this case, you will need to use the South-East Asia handler

We now need to configure the HTTP integration to AlphaX.

  1. Select Integrations then add integration.
  2. Select the HTTP Integration by The Things Industries B.V. You’ll be taken to the Add Integration page for HTTP.
  3. Enter a process ID, a name for the integration. This can only contain lowercase alphanumeric characters, nonconsecutive – and _ and it cannot start or end with a – or a _
  4. Enter the URL, this needs to be set to “https://conduit.alphax.cloud/post/v2”. This points to our servers and is what connects the TTN application to AlphaX.
  5. Set the Method to “POST”
  6. For now, the other fields can be left blank. Select Add Integration to complete the integration setup.

Now we have our application set up and pointed to AlphaX, we can register devices to the Application.