The Things Network


The thethingsnetwork component allows one to interact with the The Things Network. This community-driven and open network supports LoRaWAN for long range (~5 to 15km) communication with a low bandwidth (51 bytes/message). Gateways transfers the received data from the sensors to the The Things Network.

The Things network support various integrations to make the data available:

The Things Network Integration Home Assistant platform
MQTT  
Storage thethingsnetwork
HTTP  

Setup

Visit the The Things Network Console website, log in with your The Things Network credentials, choose your application from Applications.

The Application ID is used to identify the scope of your data.

Application overview

You need an access key to be able to read the data from your application.

Access keys

Configuration

To enable this component, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
thethingsnetwork:
  app_id: sensor-123
  access_key: ttn-account-v2.xxxxxxxxxxx_yyyyyyyyyyy

Configuration Variables

app_id

(string)(Required)The Application ID.

access_key

(string)(Required)The access key.