National Hockey League Module for MagicMirror2
Started as a clone of https://github.com/fewieden/MMM-NFL with lots of modifications for NHL stats/schedule.
This module will give near-realtime updates during of the scores of currently running games. It will show the previous days game, today's games and a set number of days that you specify (default is 1).
- An installation of MagicMirror2
- npm
- request
- moment-timezone
-
Change directory to
~/MagicMirror/modules
. -
Run this command : git clone https://github.com/trentent/MMM-NHL.git
-
Run command
npm install
in~/MagicMirror/modules/MMM-NHL
directory. -
Configure your
~/MagicMirror/config/config.js
:{ module: 'MMM-NHL', position: 'top_right', config: { ... } }
Option | Default | Description |
---|---|---|
colored |
false |
Remove black/white filter of logos. |
focus_on |
false |
Display only matches with teams of this array e.g. 'NOT TESTED' |
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 |
datesToLookAhead |
1 (1 day) |
How far in advance the schedule should be pulled |
- Official NHL information from Michael Sharer of the NHL.
- All NHL logos and marks and NHL team logos and marks depicted herein are the property of the NHL and the respective teams and may not be reproduced without the prior written consent of NHL Enterprises, L.P. © NHL 2016.