v3.24.1

Getting Started Devices Gateways Integrations Reference
Get The Things Stack

Integrations

    Overview
  • Adding Applications
  • Adding Integrations
  • Cloud Integrations
    • akenza
    • AllThingsTalk Maker
    • AnyViz
    • AWS IoT
      • Architecture
      • Deployment Guide
      • Managing Things
      • Messages
      • Metrics
      • Update
      • Uninstall
      • Troubleshooting AWS IoT Integration
    • Azure IoT Central
    • Azure IoT Hub
    • Blockbax
    • Cayenne
    • Cloud Studio
    • Daizy
    • Datacake
    • Delmation Products
    • deZem
    • Homey
    • InfluxDB Cloud 2.0
    • IoT in a Box
    • Kaa
    • Losant IoT Platform
    • MClimate
    • my IoT open Tech
    • Qubitro
    • TagoIO
    • Telemetry2U
    • Tellsens
    • thethings.iO
    • Thinger.io
    • ThingsBoard
    • ThingSpeak
    • TTN Mapper
    • Ubidots
    • UIB
    • Widgelix
    • Withthegrid
  • MQTT Server
  • Pub/Sub
  • LoRa Cloud
  • Node-RED
  • IFTTT
  • Payload Formatters
  • Storage Integration
  • Webhooks

Metrics

The AWS IoT integration for The Things Stack reports device metrics to the shadow state. This is useful to retrieve information about the session and radio-frequency performance.

In the AWS Console, open Services and go to IoT Core.

In the menu on the left, open Manage, go to Things and click the thing of interest.

Click the Device Shadows tab and go to lorawan. This opens the LoRaWAN shadow state that is maintained by The Things Stack.

Shadow State

The shadow state contains the following fields:

{
  "reported": {
    // Timestamp when the device was last seen (activation or uplink)
    "lastSeen": "2020-08-05T13:03:22.064376156Z",
    // Number of gateways that cover the device
    "gateways": 1,
    // Uplink frame counter of the session
    "fCntUp": 3,
    // Downlink frame counter of the session (only when using end-to-end encryption)
    "fCntDown": 0,
    // LoRaWAN DevAddr (hex)
    "devAddr": "270000B0",
    // Unique session ID
    "sessionID": "AXVvI/CZfJfog5g2zvVKfw==",
    // Best RSSI (received signal strength indicator) of the last uplink message
    "rssi": -38,
    // Best SNR (signal-to-noise ratio) of the last uplink message
    "snr": 9,
    // Timestamp when the device joined the network
    "activated": "2020-08-05T13:01:57.252799045Z"
  }
}
← Messages Update →

On this page

The Things Stack

Getting Started

Devices

Gateways

Integrations

Reference

Contributing

GitHub

Forum

About Us

The Things Network

The Things Industries

About this page

Last changed by Johan Stokking on 21 Feb 2023.
The Things Join Server and related documentation (#1041)

Edit on Github