Skip to main content

Diagnostics

Use diagnostics to understand why data is waiting, unavailable, or failing to update. Start with the symptom below, then inspect the relevant entity or download the integration’s diagnostic summary.

Start with the symptom​

SymptomCheck first
Live entities are unavailableIs a session active, and is live data enabled? See live availability
Extra F1TV data stoppedToken status, then F1TV setup
Replay is loading or stalledReplay status and its download_error or index_error
Track Map has no carsTrack Map diagnostics and the card’s visible status
An incident alert was unexpectedIncident diagnostics, session time, and the relevant event

Download diagnostics​

Open Settings > Devices & services > F1 Sensor, then use the integration entry’s menu to download diagnostics. The file contains a compact runtime summary; it is different from the entity attributes below.

Some diagnostic entities are only created when a feature or development interface is enabled. If an entity is absent, use the downloaded diagnostics and debug logs.

Diagnostics should exclude tokens, authorization headers, cookies, pairing URLs, nonce values, and detailed car movement data. Check the file before sharing it in an issue.

Entities Summary​

EntityInfo
sensor.f1_live_timing_modeCurrent live timing mode (idle, live, replay) and live data activity, if present
binary_sensor.f1_live_timing_onlineLive timing connectivity indicator, if present
sensor.f1_replay_statusReplay state and progress
sensor.f1_f1tv_token_statusRedacted F1TV token health status
sensor.f1_f1tv_token_expires_atExpiry time for the saved F1TV live timing token

Live Timing Mode​

sensor.f1_live_timing_mode - Diagnostic sensor showing which timing mode the integration is currently using. This entity may be hidden in normal releases.

State (enum)

  • One of: idle, live, replay.

Attributes

AttributeTypeDescription
reasonstringWhy the current live timing state is active (best effort)
windowstringCurrent live timing window label (best effort)
schedule_sourcestringHow the live schedule was resolved (best effort)
index_http_statusnumberHTTP status code of the last schedule index fetch (best effort)
fallback_activebooleanTrue if the schedule is using a fallback source (best effort)
last_schedule_errorstringError details from the last schedule fetch attempt (best effort)
heartbeat_age_snumberSeconds since last heartbeat frame (best effort)
activity_age_snumberSeconds since last live data activity (best effort)

Normal users usually only need the sensor state, token status, and whether public live timing still works. Maintainers may ask for additional advanced attributes when troubleshooting a specific issue.


Live Timing Online​

binary_sensor.f1_live_timing_online - Diagnostic connectivity indicator for the live timing transport. This entity may be hidden in normal releases.

State (on/off)

  • on when replay is active, or when a live timing window is active and recent live data activity is detected.
  • off when outside the live timing window or when live data appears idle.

Attributes

AttributeTypeDescription
modestringOne of idle, live, replay
reasonstringWhy the current live timing state is active (best effort)
online_threshold_snumberMaximum age in seconds before live timing is considered offline
heartbeat_age_snumberSeconds since last heartbeat frame (best effort)
activity_age_snumberSeconds since last live data activity (best effort)
effective_age_snumberAge value used for the online check (best effort)

Track Map Diagnostics​

Downloaded diagnostics include runtime.track_map when Track Map runtime data exists.

FieldTypeDescription
sourcestringCurrent source, such as live or replay
statusstringRuntime status, such as active, no_session, no_position_data, stale, or closed
replay_statestringReplay state, when Replay Mode is active
circuit_short_namestringHuman-readable circuit short name, when known
circuit_idstringCircuit identifier used by F1 Sensor, when matched
point_countnumberNumber of map points available
rotationnumberMap rotation in degrees, when available
approval_statusstringMap approval status, when known
driver_countnumberNumber of drivers currently present in the Track Map snapshot
stalebooleanTrue when live position data is older than the Track Map freshness window

These fields help explain why the Track Map card shows Live, Replay, Waiting, Stale, No geometry, No session, or Not loaded.


Incident Detection Diagnostics​

When incident detection is available, the downloaded diagnostics file includes a runtime.incident_detection summary.

Fields

FieldTypeDescription
active_countnumberNumber of currently active incident records
highest_confidencestringHighest active confidence, such as medium or high
latest_incident_idstringStable identifier for the most recent incident update
latest_driver_numberstringCar number for the latest incident update
latest_driver_tlastringDriver abbreviation for the latest incident update
latest_reasonstringNeutral reason code for the latest update
latest_phasestringLatest incident phase
session_typestringLowercase session type, such as race, sprint, qualifying, or practice
session_namestringHuman-readable session name
data_qualitystringData source quality, such as live, replay, or bootstrap
latest_locationobjectOptional latest Track Map location summary
availablebooleanWhether the incident coordinator is currently available
info

Diagnostics intentionally show counts and latest metadata only. Use the f1_sensor_incident event when you need the full event data for automations or troubleshooting.


Replay Status​

sensor.f1_replay_status reports idle, selected, loading, ready, playing, paused, or seeking. Inspect download_error when a load fails and index_error when the session list cannot be loaded.

The complete state and attribute table is in Replay controls. Playback position and duration are relative to the selected playback start reference.

F1TV Token Status​

sensor.f1_f1tv_token_status - Redacted status for the optional F1TV live timing token.

info

F1TV Auth is optional. Public live timing continues to work without a token. Only extra live-auth features depend on this status.

State (enum)

  • One of: not_configured, valid, expiring_soon, expired, invalid, rejected.
ValueDescription
not_configuredNo F1TV live timing token has been paired
validThe saved token is locally well-formed and unexpired; upstream acceptance is not yet proven by this state alone
expiring_soonThe saved token has not expired but should be replaced soon; upstream access still depends on Formula 1
expiredThe saved token has expired
invalidThe saved token could not be parsed or validated
rejectedFormula 1 rejected the saved token

The local token check does not verify authenticity. Formula 1 must accept the token during a request before authenticated live data can be used. Public live timing remains available without it.

Attributes

AttributeTypeDescription
auth_configuredbooleanTrue when a token is saved
used_for_live_timingbooleanTrue when the token is currently being used for extra live-auth features
expires_atstringISO-8601 expiry timestamp, or null
reasonstringRedacted reason when the token is invalid, expired, or rejected

F1TV Token Expires At​

sensor.f1_f1tv_token_expires_at - Timestamp sensor showing when the saved F1TV live timing token expires.

State

  • Timestamp, or unknown when no valid expiry is available.

Attributes

This sensor exposes the same redacted attributes as F1TV Token Status: auth_configured, used_for_live_timing, expires_at, and reason.

tip

Use sensor.f1_f1tv_token_status for automations that need to detect invalid or rejected tokens. Use this timestamp sensor when you want reminders before the token expires.