TTN icon

TTN

The Things Stack (TTN / TTS). **Data**, **Devices**, **Gateways**; **Triggers** → **Webhook · Receive Events** from the node picker.

Gateway → Get Gateway Status

AI-generated

Summary

Retrieve the online/offline connection status for one or more specified gateways, with configurable offline threshold and output detail level.

Inputs

  • Gateway ID Names or IDs (required) — Select one or more gateways (visible to the API key) by name or ID. Outputs one item per gateway. You can choose from the list or provide IDs using an expression.
  • Status Mode (required) — Choose the detail level of the status output. 'Summary' returns a brief status with gateway ID, online flag, and uptime string; 'Detailed' returns full status details including timestamps, uptime, online status, and related metrics.
  • Offline Threshold (required) — Numeric threshold indicating the duration after which the gateway is considered offline if no activity is detected.
  • Offline Threshold Unit (required) — Unit for the offline threshold duration ('minutes', 'hours', or 'days').

Output shape

One item per selected gateway, each containing the gateway's connection status data

Output items include fields such as gateway_id, online status, uptime, last seen timestamps, last uplink received, detailed online/offline info when 'Detailed' mode is selected. If multiple gateways are selected, there will be one output item per gateway with its respective status.

Examples

Example 1: Single gateway detailed status

Select one gateway from the list, set Status Mode to 'Detailed', Offline Threshold to 24 and Offline Threshold Unit to 'hours'.

Example 2: Multiple gateways summary status

Select multiple gateways, set Status Mode to 'Summary' to get basic online/offline and uptime info for each.

Links

Discussion