Skip to content

Nicxe/f1-sensor-live-data-card

Repository files navigation

F1 Sensor Live Data Card

Buy me a Coffee Version HA Community forum

GitHub Downloads (specific asset, specific tag)

Overview

A collection of custom Lovelace cards designed for the F1 Sensor integration, providing live Formula 1 session data on your Home Assistant dashboards.

Tip

Full documentation, including detailed card reference, configuration options, and setup guides, is available at nicxe.github.io/f1_sensor. Card-specific documentation is on the Cards Overview page.


F1-card-overview

Available Cards

Card Description
f1-live-session-card Session status, track conditions, weather, and lap counter
f1-race-control-card Race control messages and flags
f1-sensor-live-data-card Tyre statistics with compound data, stint history, and lap counts
f1-pitstop-overview-card Pit stop timeline with tyre changes and driver positions
f1-driver-lap-times-card Live lap times with sector data and driver comparisons
f1-investigations-card Steward investigations and penalties
f1-track-limits-card Track limit violations per driver
f1-championship-prediction-drivers-card Driver championship standings with predicted final points
f1-championship-prediction-teams-card Constructor championship standings with predicted final points

Installation

With HACS (Recommended)

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

  1. Click on the three dots in the top right corner of the HACS overview menu.
  2. Select Custom repositories.
  3. Add the repository URL: https://github.com/Nicxe/f1-sensor-live-data-card.
  4. Set the type to Dashboard.
  5. Click the Add button.
  6. Search for F1 Sensor Live Data Card in HACS and click the Download button.
Without HACS
  1. Download f1-sensor-live-data-card.js and the tyre images from the latest release.
  2. Copy these files into your config/www directory, e.g. config/www/f1-sensor-live-data-card/.
  3. Add a reference to f1-sensor-live-data-card.js in your dashboard. There are two ways to do this:
    • Using the UI: Go to SettingsDashboardsMore OptionsResourcesAdd Resource. Set the URL as /local/f1-sensor-live-data-card/f1-sensor-live-data-card.js and set the Resource type to JavaScript Module. Note: If you do not see the Resources menu, you need to enable Advanced Mode in your User Profile.
    • Using YAML: Add the following code to the lovelace section of your configuration:
      resources:
        - url: /local/f1-sensor-live-data-card/f1-sensor-live-data-card.js
          type: module

Configuration

All cards can be configured using the dashboard UI editor:

  1. In the dashboard UI, click on the three dots in the top right corner.
  2. Click Edit Dashboard.
  3. Click the Plus button to add a new card.
  4. Search for the card you want, e.g. Custom: F1 Live Session Card.

Each card has a visual editor with tabs for data sources and display options. For a full list of configuration options per card, see the Cards Overview in the documentation.

Disclaimer

This project is not affiliated with or supported by Home Assistant, Formula 1, or the FIA. It is community maintained.

About

Custom Lovelace card for the F1 Sensor integration in Home Assistant — live race data, tyre statistics, and more.

Topics

Resources

License

Stars

Watchers

Forks

Contributors