Integrations

Adding Integrations

Integrations allow you to process and act on data by triggering events. Events can be pretty much anything, and can easily be set up using Webhooks or MQTT.

Integrations are managed within applications. Applications can be added to The Things Enterprise Stack by following instructions for Adding Applications in the Console or Adding Applications Using the Command-line interface.

Application Packages

Application packages specify state machines running both on the end-device and the Application Server as well as signaling messages exchanged between the end-device’s application layer and the Application Server.

Data Formats

The streaming data integrations provide multiple formats for the delivery of application uplink messages and downlink queue operations. This section will delve into the common formats used by them.

HTTP Webhooks

The webhooks feature allows the Application Server to send application related messages to specific HTTP(S) endpoints.

MQTT Server

The Application Server exposes a MQTT server to work with streaming events. In order to use the MQTT server you need to create a new API key to authenticate.

Node-RED

Node-RED is a free, JavaScript-based development tool for visual programming, developed to ease the process of wiring together hardware devices, APIs and online services.

The MQTT server that is exposed by The Things Enterprise Stack can be connected to Node-RED. This integration allows setting up a Node-RED flow that listens to events and uplink messages, and it is also possible to schedule downlink messages.

Peering

Exchange traffic with other LoRaWAN networks via peering to share coverage and improve the overall network performance.

Pub/Sub

The Pub/Sub integration allows the Application Server to publish and subscribe to topics, using The Things Enterprise Stack built-in MQTT client or NATS client.