This module is an extention for the MagicMirror.
The module is based on the work of ianperrin and uses the ERGAST API.
Open a terminal session, navigate to your MagicMirror's modules
folder and execute git clone https://github.com/jupadin/MMM-F1.git
, such that a new folder called MMM-F1 will be created.
Activate the module by adding it to the config.js
file of the MagicMirror as shown below.
The table below lists all possible configuration options.
cd modules
git clone https://github.com/jupadin/MMM-F1.git
cd MMM-F1
npm install
modules: [
{
module: "MMM-F1",
header: "MMM-F1",
position: "top_left",
config: {
animationSpeed: 2000,
updateInterval: 86400000,
focus_on: false,
showHeaderAsIcons: false,
showFooter: true,
}
}
]
The following configuration options can be set and/or changed:
Option | Type | Default | Description |
---|---|---|---|
animationSpeed |
int |
2000 |
Animation speed to fade in the module on startup [milliseconds] (2 seconds) |
updateInterval |
int |
86400000 |
How often the table shall be updated [milliseconds] (1 day) |
focus_on |
array |
false |
Highlight driver(s) of this array (example: ['Verstappen'] |
showHeaderAsIcons |
bool |
false |
Display header as icons |
showFooter |
bool |
true |
Display footer with information about last update |