v1

latestOpenAPI 3.0.22026-07-26114338.4 KB
Metadata

Station Diagnostics

<hr></hr>
get/diagnostics/{station_id}

Path parameters

station_idinteger required

ID of the station to retrieve.

Response

Successful operation

location_idinteger
station_idinteger
location_namestring
serial_numberstring
firmware_revisionstring
statestring

Online or offline.

state_epochinteger
hub_online_countinteger

Number of hubs for this station that are online.

hub_offline_countinteger

Number of hubs for this station that are offline.

device_online_countinteger

Number of devices (Tempest, Air, Sky) for this station that are online.

device_offline_countinteger

Number of devices (Tempest, Air, Sky) for this station that are offline.

is_wifi_readyboolean

True after the hub sends its first hub_status message to WeatherFlow.

uptimenumber
rssiinteger

Received signal strength indicator.

last_status_received_timestampnumber
last_status_hub_timestampnumber

Example response

{
  "station_id": 12799,
  "location_name": "Home",
  "firmware_revision": "171",
  "state_epoch": 1652579648,
  "uptime": 1495732068,
  "rssi": -30,
  "last_status_received_timestamp": 1495732068,
  "last_status_hub_timestamp": 1495732068,
  "devices": {
    "device_id": 60526,
    "last_mqtt_ob_epoch": 1495732068,
    "last_ob_epoch": 1495732068,
    "uptime": 1495732068,
    "last_status_received_timestamp": 1495732068,
    "last_status_hub_timestamp": 1495732068,
    "state_epoch": 1495732068
  },
  "status": {
    "status_message": "SUCCESS"
  }
}