This a module for the MagicMirror. It displays live scores of your favorite soccer leagues and competitions.
- Navigate into your MagicMirror's
modules
folder and executegit clone https://github.com/LukeSkywalker92/MMM-SoccerLiveScore.git
.
The entry in config.js
can include the following options:
Option | Description |
---|---|
leagues |
List of league-ID's you want to display. If you put more than one league the module switches automatically between them. A table with possible leagues and the related ID's can be found further down. Type: integer Example: [35, 1, 9] //Bundesliga, Champions League & DFB-PokalThis value is REQUIRED |
showNames |
Toggles if team-names are shown. Default value: true |
showLogos |
Toggles if team-logos are shown. Default value: true |
displayTime |
Defines how long one league is shown, if you have more than one League in the leagues -value.Default value: 60 • 1000 // 1 minute |
showTables |
Toggles if tables are shown if the league has a table. Default value: true |
Here is an example of an entry in config.js
{
module: "MMM-SoccerLiveScore",
position: "bottom_left",
config: {
leagues: [4000],
showNames: true,
showLogos: true,
displayTime: 60 * 1000,
showTables: false,
}
},
League | ID |
---|---|
FIFA | |
Fifa World Cup 2018 | 4000 |
Europe | |
Champions League | 1 |
Euro League | 2 |
Germany | |
1. Liga | 35 |
2. Liga | 44 |
3. Liga | 491 |
DFB-Pokal | 9 |
DFB-Team | 0 |
England | |
Premier League | 17 |
FA Cup | 19 |
League Cup | 21 |
3 Lions | 4 |
Spain | |
Primera Division | 8 |
Segunda Division | 54 |
Italy | |
Serie A | 23 |
Serie B | 53 |
France | |
Ligue 1 | 34 |
Ligue 2 | 182 |
Portugal | |
Primeira Liga | 238 |
Segunda Liga | 239 |
Austria | |
Bundesliga | 45 |
Erste Liga | 135 |
ÖFB Cup | 445 |
Switzerland | |
Super League | 215 |
Challenge League | 216 |
Schweizer Cup | 399 |
Turkey | |
Süper Lig | 52 |
1. Lig | 98 |
Netherlands | |
Eredivisie | 37 |
Eerste Divisie | 131 |
- Michael Teeuw for creating the awesome MagicMirror2 project that made this module possible.