Skip to main content

ChirpStack v4 Configuration Guide

This tutorial walks you through the process of adding gateways, creating device profiles, registering devices, decoding payloads, and setting up integrations in ChirpStack v4.


1. Gateways

The first step is to add your gateways into ChirpStack.
From the left navigation menu, under tenant, select Gateways and then click the Add Gateway button in the top right.

A form will appear where you can enter gateway information such as:

  • Name
  • Gateway ID
  • Stats Interval

Once completed, click Submit.

ChirStack v4 - Gateways

info

If you are using our Ember gateway, the Gateway ID can be found through MikroTik software.


2. Device Profiles

After adding gateways, the next step is to create device profiles in ChirpStack.

  1. In the navigation bar, click Device Profiles.

  2. Click Add Device Profile (top right).

  3. Enter the required information such as:

    • Name
    • Region
    • MAC Version
    • ADR Algorithm
    • Expected Uplink Interval

ChirStack v4 - Gateways


Example for HARDWARIO devices

If you are using Chester or Sticker as an end device, you can find examples of device profile configurations in the following links:

DeviceDocumentation Link
CHESTERhttps://docs.hardwario.com/chester/platform-connectivity/lorawan-radio#chirpstack-configuration
STICKERhttps://docs.hardwario.com/sticker/getting-started#chirpstack-v4-configuration-for-sticker

3. Applications – Adding Devices

Next, create an application:

  1. In the navigation bar, select Applications (bottom of the menu).

  2. Create a new application and open it.

  3. Add devices by providing details such as:

    • Name
    • Device EUI
    • Device Profile

Click Submit.

ChirStack v4 - Gateways

After creating the device, go to the Activation tab and enter:

  • Device Address
  • Network Session Key
  • Application Session Key

Finally, click (Re)activate Device.

ChirStack v4 - Gateways


4. Codec

LoRaWAN data is transmitted in a compressed format and needs to be decoded.

  1. Go to Device Profiles → Codec.
  2. Select Payload Codec and paste your decoding code.

For STICKER, choose JavaScript functions as the payload codec, then click Submit.

ChirStack v4 - Gateways

Viewing Decoded Data

  1. Navigate to Applications → Events.
  2. Select Up to view uplink messages.
  3. You will now see decoded data.

Example of Codec (STICKER)


5. Integrations

Finally, you can set up integrations.
Within your Application, go to the Integrations tab and choose the integration method you need, for example:

  • Visualization platforms
  • External services
  • Custom APIs

ChirpStack v4 - Integrations


tip

If you need further assistance or a visual demonstration of the process described in this guide, consult the Video Guide.


Ember Gateways – MikroTik Software

If you are using our EMBER as the gateway, all of its configuration must be done directly in the MikroTik system. Once configured, the gateway should become visible and ready to connect with the ChirpStack system.

Here is the link to the step-by-step guide for **configuring the gateway via MikroTik: https://docs.hardwario.com/ember/mikrotik-gateway-update

Here is the link to the step-by-step guide for updating the gateway via MikroTik: https://docs.hardwario.com/ember/mikrotik-gateway-configuration