Skip to content

0m4r/MMM-SoccerLiveScore

 
 

Repository files navigation

MMM-SoccerLiveScore

This a module for the MagicMirror².
It displays live scores of your favorite soccer leagues and competitions.

Preview

Standing

Standing

Table

Table

Scorers

Scorers

Standings & Details

Standings & Details

Installation

  1. Navigate into your MagicMirror's modules folder and execute git clone https://github.com/0m4r/MMM-SoccerLiveScore.
  2. Prepare your configuration
  3. Restart your MagicMirror

Config

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]
This value is OPTIONAL and if not specified it defaults to 1 (Uefa Champions League)
showNames Toggles teams names.

Default value: true
showLogos Toggles team logos.

Default value: true
displayTime defines how long the information for a league in leagues is shown on the screen. This screen time is used to display standings, tables and scorers. For example, if you specify displayTime to 30 seconds and showTables=true, showStandings=trueand showScorers=true each information will be shown for about 10 seconds.

Default value: 20 * 1000
showStandings displays the standings for the league

Default value: true
showDetails displays the games scorers whit the standings for the league (it requires showStandings: true )

Default value: true
showTables displays the tables for the league (if available)

Default value: true
showScorers displays the scorers for the league (if available)

Default value: true
scrollVertical scroll the module vertically (up and down)

Default value: true
language module display language. Available values are en, de and, it

Default value: en

Here is an example of an entry in config.js

{
  module: 'MMM-SoccerLiveScore',
  position: 'top_left',
  header: 'Live-Scores',
  config: {
    leagues: [35, 1, 9],
    showNames: true,
    showLogos: true,
    displayTime: 60 * 1000,
    showStandings: true,
    showTables: true,
    showScorers: true,
    scrollVertical: true,
    language: 'en', // supported values are en, de, it
  }
},

Leagues

League ID
AT
45 Ö. Bundesliga
135 Zweite Liga
445 ÖFB Cup
CH
215 Super League
216 Challenge League
399 Schweizer Cup
DE
9 DFB-Pokal
35 Bundesliga
44 2. Bundesliga
491 3. Liga
EN
17 Premier League
19 FA Cup
21 Carabao Cup
117 Championship
ES
8 La Liga
54 La Liga 2
329 Copa del Rey
EU
1 UCL
2 UEL
11 WC Quali
36 Premiership
38 Pro League
99 2nd Division
232 Bundesliga (F)
326 Belgium Cup
347 Scottish Cup
686 DFB-Pokal (F)
696 CL (F)
851 Int. Friendlies
4700 RL Nordost
4800 RL Bayern
4900 RL Südwest
5100 RL West
5200 RL Nord
5300 UECL
5400 Serie C Group A
5500 Serie C Group B
5600 Serie C Group C
23755 Nations League
FR
34 Ligue 1
182 Ligue 2
333 Coupe de la Ligue
335 Coupe de France
IT
23 Serie A
53 Serie B
328 Coppa Italia
NL
37 Eredivisie
131 Eerste Divisie
330 KNVB Beker
PT
238 Primeira Liga
239 Segunda Liga
336 Taça de Portugal
TR
52 Süper Lig
96 Turkiye Kupasi
98 1. Lig

Special Thanks

About

Displays Soccer-Live-Scores on MagicMirror

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.0%
  • CSS 7.0%