Outdated documentation
You are reading outdated documentation. This page documents ChirpStack v3. ChirpStack v4 is the latest version.
ThingsBoard
When configured, the ThingsBoard integration will send device attributes and telemetry to the configured ThingsBoard instance.
Requirements
Before this integration is able to write data to ThingsBoard, the uplink payloads must be decoded. The payload codec can be configured per Device Profile. To validate that the uplink payloads are decoded, you can use the live device event-log feature. Decoded payload data will be available under the object
key in the JSON object.
ThingsBoard will generate a Access Token per device. This token must be configured as a device variable in ChirpStack Application Server. The variable must be named ThingsBoardAccessToken.
Attributes
For each event, ChirpStack Application Server will update the ThingsBoard device with the following attributes:
application_id
application_name
dev_eui
device_name
In case any device tags are configured for the device in ChirpStack Application Server, these will also be added to the attributes.
Telemetry
Uplink
The following metrics are recorded for every uplink:
dr
fcnt
fport
rssi
snr
Decoded uplink data is prefixed with the data_ prefix. Make sure to configure a coded in the Device Profile.
Device-status
Device-status is prefixed with the status_ prefix. The interval of the device-status requests can be configured through the Service Profile.
Location
Location data is prefixed with the location_ prefix. Please note that this is only available in case geolocation capable gateways are being used and ChirpStack Network Server is configured with geolocation support.