thethingsstack.io has moved to thethingsindustries.com/docs
Got it

v3.12

Getting Started Devices Gateways Integrations Reference
Get The Things Stack

Getting Started

    Overview
  • What Is The Things Stack?
  • Installing The Things Stack
  • Migrating to The Things Stack
    • Major Changes In The Things Stack
    • Migrating Gateways
    • Migrating from The Things Network Stack V2
    • Migrating from ChirpStack
    • Importable JSON File Reference
    • Import End Devices in The Things Stack
    • Fine-tuning MAC Settings for End Devices
  • Upgrading The Things Stack
  • The Things Stack Cloud
  • AWS
  • Command-line Interface
  • Console
  • Troubleshooting Getting Started
  • Users and Organizations
  • Using the API
  • Working with Events

Import End Devices in The Things Stack

To import your devices, you need an application in The Things Stack. This can be done by following instructions for Creating an Application.

To import devices, use the devices.json file you created in the previous step.

  • Console
  • CLI

Import devices via the Console New in 3.9.3

{#import-devices-via-the-console}

Open the application you created and click the button Import end devices

import devices

Select The Things Stack JSON as the Format and upload the devices.json file.

upload devices.json file

Wait for the end devices to be successfully imported. In case any device fails, you will see a relevant error message in the console.

import finished

If the import was successful, your devices are added to the list of end devices in your application.

Import devices via the CLI

You need the latest version of ttn-lw-cli, the CLI for The Things Stack.

Command-line interface only

The instructions below use the command-line interface (CLI).

Learn how to install the CLI

To import the devices.json file, run the following command in ttn-lw-cli.

$ ttn-lw-cli end-devices create --application-id "imported-application" < devices.json

This will import your devices on The Things Stack. In case any device fails, you see a relevant error message at the end of the output.

If the import was successful, your devices is added to the list of end-devices in your application.

successful-import

You can now start using your devices with The Things Stack!

Note:
You can always manually copy-paste the Payload Formatters (if applicable) from The Things Network Stack V2 to your The Things Stack application. See Payload Formatters for more details.
← Importable JSON File Reference Fine-tuning MAC Settings for End Devices →

On this page

The Things Stack

Getting Started

Devices

Gateways

Integrations

Reference

Contributing

GitHub

Forum

About Us

The Things Network

The Things Industries

About this page

Last changed by benolayinka on 29 Dec 2020.
doc: Fix broken headings with shortcodes

Edit on Github