MCPcopy Index your code
hub / github.com/Nicxe/f1_sensor

github.com/Nicxe/f1_sensor @v5.2.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v5.2.3 ↗ · + Follow
4,577 symbols 16,828 edges 114 files 750 documented · 16%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

F1 Sensor for Home Assistant

Buy me a Coffee Last commit Version HA Community forum

GitHub Downloads (all assets, latest release)

GitHub Repo stars

Your home, in sync with Formula 1

Meet F1 Sensor. A custom Home Assistant integration that brings the full world of Formula 1 into your smart home.

F1 Sensor combines live race data with static season information, giving you everything from real-time track status, weather, and race control updates to schedules, standings, and historical results.

Whether you want your lights to react to a safety car or build dashboards that visualize driver progress through the season, F1 Sensor keeps your home perfectly in sync with Formula 1.

F1SensorFlag-ezgif com-video-to-gif-converter (5)


🃏 Live Data Cards

F1 Sensor includes custom Lovelace cards for displaying live session data directly on your dashboards — tyre strategy, pit stops, lap times, investigations, race control, and more.

F1 Sensor Live Data Cards

The card assets are bundled with the integration and registered automatically in Home Assistant. Existing dashboard card types stay the same, so you can keep your current dashboard configuration after updating.


🚀 Quick Start

Curious about live F1 data in Home Assistant? Start by following the installation guide, then head over to the integration setup to get your F1 Sensor up and running in minutes.

📊 Entities & Options

All configuration options are detailed in the wiki.

📚 Examples & Inspiration

Explore what’s possible with F1 Sensor. From dashboards to automations, check out the example showcase and automation page.

🍻 Support the Project

If you enjoy using F1 Sensor, you can find ways to Support the project here and help keep the data flowing.

[!NOTE] F1 Sensor is an unofficial project and is not associated in any way with the Formula 1 companies. F1, FORMULA ONE, FORMULA 1, FIA FORMULA ONE WORLD CHAMPIONSHIP, GRAND PRIX and related marks are trade marks of Formula One Licensing B.V.

Core symbols most depended-on inside this repo

append
called by 361
custom_components/f1_sensor/__init__.py
debug
called by 168
custom_components/f1_sensor/__init__.py
map
called by 157
custom_components/f1_sensor/helpers.py
process_signals
called by 117
custom_components/f1_sensor/incident_detection.py
getEntityStateWithFallback
called by 79
custom_components/f1_sensor/www/f1-sensor-live-data-card/f1-sensor-live-data-card.js
get
called by 78
custom_components/f1_sensor/www/f1-sensor-live-data-card/f1-sensor-live-data-card.js
set
called by 59
custom_components/f1_sensor/www/f1-sensor-live-data-card/f1-lit-3.3.2.js
snapshot
called by 40
custom_components/f1_sensor/track_map.py

Shape

Method 2,705
Function 1,531
Class 341

Languages

Python72%
TypeScript28%

Modules by API surface

custom_components/f1_sensor/www/f1-sensor-live-data-card/f1-sensor-live-data-card.js1,216 symbols
custom_components/f1_sensor/__init__.py458 symbols
custom_components/f1_sensor/sensor.py365 symbols
custom_components/f1_sensor/track_map.py139 symbols
custom_components/f1_sensor/replay_mode.py133 symbols
custom_components/f1_sensor/incident_detection.py105 symbols
custom_components/f1_sensor/www/f1-sensor-live-data-card/f1-lit-3.3.2.js83 symbols
custom_components/f1_sensor/live_window.py81 symbols
custom_components/f1_sensor/tests/test_formation_start.py76 symbols
custom_components/f1_sensor/tests/test_sensors.py69 symbols
custom_components/f1_sensor/tests/test_live_window_fallback.py67 symbols
custom_components/f1_sensor/tests/test_setup.py64 symbols

For agents

$ claude mcp add f1_sensor \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact