Skip to content
National Football League Module for MagicMirror²
JavaScript CSS
Branch: master
Clone or download
fewieden Merge pull request #16 from fewieden/develop
mode fallback, to prevent undefined
Latest commit 2c043ab Mar 10, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github handle bye week for focus_on teams Oct 20, 2016
icons Delete SD_helmet.png Aug 17, 2017
translations handle bye week for focus_on teams Oct 20, 2016
.codeclimate.yml add linter Mar 1, 2017
.editorconfig add linter Mar 1, 2017
.eslintrc add linter Mar 1, 2017
.mdlrc add linter Mar 1, 2017
.stylelintrc add linter Mar 1, 2017
.travis.yml add linter Mar 1, 2017
LICENSE Initial commit Aug 18, 2016
MMM-NFL.css add linter Mar 1, 2017
MMM-NFL.js mode fallback, to prevent undefined Feb 7, 2018
README.md fix codeclimate Mar 1, 2017
StatisticsAPI.js add linter Mar 1, 2017
node_helper.js add linter Mar 1, 2017
package.json add linter Mar 1, 2017

README.md

MMM-NFL GitHub license Build Status Code Climate Known Vulnerabilities

National Football League Module for MagicMirror2

Example

Dependencies

Installation

  1. Clone this repo into ~/MagicMirror/modules directory.

  2. Configure your ~/MagicMirror/config/config.js:

    {
        module: 'MMM-NFL',
        position: 'top_right',
        config: {
            ...
        }
    }
    
  3. Run command npm install --productive in ~/MagicMirror/modules/MMM-NFL directory.

Config Options

Option Default Description
colored false Remove black/white filter of logos/helmets.
helmets false Show helmets instead of logo.
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

OPTIONAL: Voice Control

This module supports voice control by MMM-voice. In order to use this feature, it's required to install the voice module. There are no extra config options for voice control needed.

Mode

The voice control mode for this module is FOOTBALL

List of all Voice Commands

  • OPEN HELP -> Shows the information from the readme here with mode and all commands.
  • CLOSE HELP -> Hides the help information.
  • SHOW HELMETS -> Switch team logos to helmets. (Effect stays until your mirror restarts, for permanent change you have to edit the config)
  • SHOW LOGOS -> Switch team helmets to logos. (Effect stays until your mirror restarts, for permanent change you have to edit the config)
  • COLOR ON -> Switch color for team logos/helmets on. (Effect stays until your mirror restarts, for permanent change you have to edit the config)
  • COLOR OFF -> Switch color for team logos/helmets off. (Effect stays until your mirror restarts, for permanent change you have to edit the config)
  • SHOW PASSING YARDS STATISTIC -> Shows statistic of Top 5 passing players.
  • SHOW RUSHING YARDS STATISTIC -> Shows statistic of Top 5 rushing players.
  • SHOW RECEIVING YARDS STATISTIC -> Shows statistic of Top 5 receiving players.
  • SHOW TACKLES STATISTIC -> Shows statistic of Top 5 tackling players.
  • SHOW SACKS STATISTIC -> Shows statistic of Top 5 sacking players.
  • SHOW INTERCEPTIONS STATISTIC -> Shows statistic of Top 5 intercepting players.
  • HIDE STATISTIC -> Hide statistic informations
You can’t perform that action at this time.