Skip to main content

State values and terminology

Use this section to understand the possible values for enum-type states and attributes across all live data sensors.

Tyre Compounds
ValueShortColorDescription
SOFTS#FF0000 (red)Soft compound - fastest, least durable
MEDIUMM#FFFF00 (yellow)Medium compound - balanced performance
HARDH#FFFFFF (white)Hard compound - slowest, most durable
INTERMEDIATEI#00FF00 (green)Intermediate - light rain conditions
WETW#0000FF (blue)Full wet - heavy rain conditions
Track Status
ValueDescription
CLEARNormal racing conditions, green flag
YELLOWYellow flag - caution, hazard on track
VSCVirtual Safety Car deployed
SCSafety Car deployed
REDRed flag - session stopped
Session Status
ValueDescription
prePre-session, typically 60-15 minutes before start
liveSession is active (lights out for race)
suspendedSession temporarily halted
breakBreak between session segments
finishedSession has finished
finalisedResults have been finalised
endedSession has ended

Typical transition flow: prelivesuspendedlivefinishedfinalisedended

Current Session Types
ValueDescription
Practice 1First practice session
Practice 2Second practice session
Practice 3Third practice session
QualifyingQualifying session
Sprint QualifyingSprint qualifying/shootout
SprintSprint race
RaceMain race
unknownSession type not determined
Live Timing Mode
ValueDescription
idleNo active session, connection inactive
liveConnected to live F1 timing feed
replayPlaying back recorded session data
Driver Status (in driver_positions)
ValueDescription
on_trackDriver is currently on track
pit_inDriver is in the pit lane
pit_outDriver has just exited pits
outDriver has retired or stopped
Straight Mode (2026 regulation)
ValueDescription
normal_gripNormal aerodynamic configuration permitted on straight sections
low_gripRestricted aerodynamic configuration on straight sections
disabledStraight mode system is not active