Skip to main content

Diagnostics

Diagnostic entities are intended for troubleshooting and advanced automations. Some entities are created only when the corresponding feature is enabled during configuration, and some development diagnostics may be hidden in normal releases.

Downloaded diagnostics from Settings > Devices & Services > F1 Sensor > Diagnostics include a compact runtime summary for live timing, F1TV Auth, incident detection, and Track Map. Diagnostics are intended for support and should not include authorization headers, cookies, callback URLs, nonce values, tokens, or detailed car movement data.

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 an incident_detection runtime 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 - Replay Mode status and progress.

State (enum)

  • One of: idle, selected, loading, ready, playing, paused, seeking.

Attributes

AttributeTypeDescription
selected_sessionstringName of the selected session
download_progressnumberDownload progress percentage from 0 to 100
download_errorstringError message if download failed
playback_position_snumberCurrent playback position in seconds, relative to the chosen start reference
playback_position_formattedstringCurrent position as HH:MM:SS
playback_total_snumberTotal playback duration in seconds, relative to the chosen start reference
playback_total_formattedstringTotal duration as HH:MM:SS
session_start_offset_snumberStart offset in seconds from the session archive (best effort)
pausedbooleanTrue when playback is paused
sessions_availablenumberNumber of sessions available for the selected year
selected_yearnumberCurrently selected year
index_yearnumberYear that the session index was loaded from (best effort)
index_statusstringIndex status such as ok, no_data, or error (best effort)
index_errorstringError details when index fetch fails (best effort)

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
validA token is saved and can be used for extra live-auth features
expiring_soonThe saved token is still usable but should be replaced soon
expiredThe saved token has expired
invalidThe saved token could not be parsed or validated
rejectedFormula 1 rejected the saved token

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.