This section provides guides for common scenarios. Each guide focuses on achieving a specific goal in a step-by-step way and contains examples.

Getting Started

This is a guide for setting up a private LoRaWAN network server using The Things Stack for LoRaWAN. In this guide we will get everything up and running on a server using Docker and Docker Compose. If you are comfortable with configuring servers and working with command line, this is the perfect place to start.

Connecting Gateways

This section provides guides for connecting popular gateways to The Things Stack.

Working with Events

The Things Stack generates lots of events that allow you to get insight in what is going on. You can subscribe to application, gateway, end device events, as well as to user, organization and OAuth client events.

This guide shows how to subscribe to events with the CLI and with the HTTP API.

Downlink Queue Operations

The Things Stack keeps a queue of downlink messages per device. Applications can keep pushing downlink messages or replace the queue with a list of downlink messages.

You can schedule downlink using the CLI, MQTT or HTTP webhooks.

This guide shows how to interact with the downlink queue from the CLI.

Class C and Multicast

Class C end devices continuously listen for downlink messages. This allows applications to send messages to devices at any time, instead of having to wait for a Class A uplink. When combined with multicast groups, this allows applications to send immediate downlinks to many devices at the same time.

This guide shows how to enable or disable Class C for an and device, and how to work with multicast groups.