---
title: "Station Diagnostics"
method: GET
path: "/diagnostics/{station_id}"
tags: ["Metadata"]
---

# Station Diagnostics

`GET /diagnostics/{station_id}`

<hr></hr>

## Path parameters

- `station_id` integer, required

## Response `200`

Successful operation

- object
  - `location_id` integer
  - `station_id` integer
  - `location_name` string
  - `serial_number` string
  - `firmware_revision` string
  - `state` string — Online or offline.
  - `state_epoch` integer
  - `hub_online_count` integer — Number of hubs for this station that are online.
  - `hub_offline_count` integer — Number of hubs for this station that are offline.
  - `device_online_count` integer — Number of devices (Tempest, Air, Sky) for this station that are online.
  - `device_offline_count` integer — Number of devices (Tempest, Air, Sky) for this station that are offline.
  - `is_wifi_ready` boolean — True after the hub sends its first hub_status message to WeatherFlow.
  - `uptime` number
  - `rssi` integer — Received signal strength indicator.
  - `last_status_received_timestamp` number
  - `last_status_hub_timestamp` number
  - `devices` object — List of diagnostics for all devices (Tempest, Air, Sky) connected with this station, each with the following properties.
    - `device_id` integer
    - `serial_number` string
    - `name` string — Device serial name.
    - `firmware_revision` string — Firmware version of the device.
    - `last_mqtt_ob_epoch` number
    - `last_ob_epoch` number
    - `state` boolean — Device’s state. online or offline.
    - `uptime` number
    - `voltage` number — Device’s battery voltage.
    - `rssi` integer — Signal strength between the device and the hub.
    - `sensor_status` 0 | 1 — Bit flag representing the status of each of the device’s sensor.
    - `last_status_received_timestamp` number
    - `last_status_hub_timestamp` number
    - `state_epoch` number
  - `status` Status
    - `status_code` integer
    - `status_message` string

## Other responses

- `401`
- `404` — Station not found

---

[API](https://skmtc.dev/tempestwx/apis/tempestone-api.md) · [All operations](https://skmtc.dev/tempestwx/apis/tempestone-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tempestwx/tempestone-api/revisions/e882b41e740d/schema)
