National Football League Module for MagicMirror²
National Football League Module for MagicMirror2
Clone this repo into ~/MagicMirror/modules
directory.
Configure your ~/MagicMirror/config/config.js
:
{
module: 'MMM-NFL',
position: 'top_right',
config: {
// all your config options, which are different than their default values
}
}
Run command npm install --production
in ~/MagicMirror/modules/MMM-NFL
directory.
Option | Default | Description |
---|---|---|
locale |
undefined |
By default it is using your system settings. You can specify the locale in the global MagicMirror config. Possible values are for e.g.: 'en-US' or 'de-DE' . |
To set a global config you have to set the value in your config.js file inside the MagicMirror project.
Option | Default | Description |
---|---|---|
colored |
false |
Remove black/white filter of logos. |
focus_on |
false |
Display only matches with teams of this array e.g. ['NYG', 'DAL', 'NE'] . |
format |
'ddd h:mm' |
In which format the date should be displayed. All Options |
reloadInterval |
1800000 (30 mins) |
How often should the data be fetched. |
reverseTeams |
false |
Flag to switch order of home and away team. |
tableSize |
'small' |
Font size of table. Possible values: 'xsmall' , 'small' , 'medium' , 'large' and 'xlarge' |
This module supports voice control by MMM-voice and MMM-Modal. In order to use this feature, it's required to install the voice and modal modules. There are no extra config options for voice control and modals needed.
The voice control mode for this module is FOOTBALL
npm run lint
- Lints JS and CSS files.