MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Soccer - Standings, Schedules and Top Scorers

    Scheduled Pinned Locked Moved Sport
    bundesligafootballmodalpremiere leagueprimiera divisionsoccervoice control
    209 Posts 43 Posters 529.0k Views 43 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • strawberry 3.141S Offline
      strawberry 3.141 Project Sponsor Module Developer @surger13
      last edited by

      @surger13 sadly the second german bundesliga is not in the free plan https://www.football-data.org/coverage it would cost 49€ a month.

      Please create a github issue if you need help, so I can keep track

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        surger13 Project Sponsor @strawberry 3.141
        last edited by

        @strawberry-3-141
        I suspected that. Really a pity. That was different in the past.

        Nevertheless, thank you.

        1 Reply Last reply Reply Quote 0
        • T Offline
          Tobi91
          last edited by

          Hi everyone,

          I also have problems to get the module to work.

          My config:

          			module: "MMM-soccer",
          			position: "top_right",
          		disabled: false,
          			config: {
          				   api_key: 'My API-key',
              			   colored: false,
              			   show: 'GERMANY',
             				   focus_on: false,
             				   max_teams: false,
             				   logos: false,
              			   leagues: {
                			  	    "GERMANY": "BL1",
                				    }
          
              				}
          					
          	 },
          

          None of my modules will work (black screen) as soon as I start the mirror with this module enabled.
          I tried switching several " to ’ but I am not sure which to use. The online description and the default values in the config readme seem to be different.

          I would be glad if someone could help me.

          Thank you.

          1 Reply Last reply Reply Quote 0
          • evroomE Offline
            evroom
            last edited by

            Hi,

            Did you not just forget the starting { ?
            Like this:

            { 
              module: "MMM-soccer",
              position: "top_right",
              disabled: false,
              config: {
                api_key: 'My API-key',
                colored: false,
                show: 'GERMANY',
                focus_on: false,
                max_teams: false,
                logos: false,
                leagues: {
                  "GERMANY": "BL1",
                }
              }
            },
            

            Did you run:

            cd ~/MagicMirror; npm run config:check
            

            ??

            MagicMirror version: 2.33.0
            Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
            Raspbian GNU/Linux 12 (bookworm)

            Test environment:
            MagicMirror version: v2.33.0
            Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
            Raspbian GNU/Linux 12 (bookworm)

            1 Reply Last reply Reply Quote 0
            • T Offline
              Tobi91
              last edited by

              Hi,

              thank you for your fast response.

              I was not missing an open bracket (Sry forgot to put it in the message).

              I could not run config:check. Even though I updated my Magic Mirror to the latest version, it seems I am missing the script.

              But I put my config into a syntax checker and there are no errors.

              Thanks again.

              1 Reply Last reply Reply Quote 0
              • M Offline
                mrSnatz
                last edited by

                Hello,
                I would like to display several leagues. But my module shows only “Loading …”.
                Where is the mistake? Do you have any tip

                    {
                        module: "MMM-soccer",
                        position: "bottom_right",
                        config: {
                            api_key: "XXXX129ce6f9XXXXXXXXXXXXXXXXX",
                            colored: "true",
                            logos: "true",
                            leagues:{
                              "GERMANY": "BL1",
                              "GERMANY": "DFB",
                              "GERMANY": "BL2",
                              "EUROPE": "CL",
                              "WORLD": "WC",
                            },
                        }
                    },
                
                1 Reply Last reply Reply Quote 0
                • evroomE Offline
                  evroom
                  last edited by

                  @mrSnatz said in MMM-Soccer - Soccer Standings:

                  Do you have any tip

                  Hi,

                  Try this:

                  {
                      module: 'MMM-soccer',
                      position: 'bottom_right',
                      config: {
                          api_key: 'XXXX129ce6f9XXXXXXXXXXXXXXXXX',
                          colored: true,
                          logos: true,
                          leagues: {
                            GERMANY: 'BL1',
                            GERMANY: 'DFB',
                            GERMANY: 'BL2',
                            EUROPE: 'CL',
                            WORLD: 'WC',
                          },
                      }
                  },
                  

                  MagicMirror version: 2.33.0
                  Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  Test environment:
                  MagicMirror version: v2.33.0
                  Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  1 Reply Last reply Reply Quote 0
                  • evroomE Offline
                    evroom
                    last edited by

                    Btw,

                    Not all leagues are for free:

                    https://www.football-data.org/coverage

                    So, for example DFB and BL2 will not work.
                    You might need to remove those or comment them (with //).

                    And you might need this entry:

                    show: 'GERMANY',
                    

                    But I am not sure what the connection is between this and the leagues entries.

                    MagicMirror version: 2.33.0
                    Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                    Raspbian GNU/Linux 12 (bookworm)

                    Test environment:
                    MagicMirror version: v2.33.0
                    Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                    Raspbian GNU/Linux 12 (bookworm)

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mrSnatz
                      last edited by

                      @evroom said in MMM-Soccer - Soccer Standings:

                      show: ‘GERMANY’,

                      OK. Thank you very much. Have excluded the paid. Now it works.

                      1 Reply Last reply Reply Quote 0
                      • zdenekZ Offline
                        zdenek
                        last edited by

                        hi all, can be the module used for whatever league from he full list of leagues fromhttp://api.football-data.org/v2/competitions ? In my case

                        {"id":2062,"name":"Czech Republic"},"name":"Synot Liga","code":null,"emblemUrl":null,"plan":"TIER_FOUR","currentSeason":{"id":171,"startDate":"2018-07-20","endDate":"2019-04-27","currentMatchday":30,"winner":null},"numberOfAvailableSeasons":2,"lastUpdated":"2019-06-02T06:20:02Z"}
                        

                        or any idea, any module for Czech league?

                        thanks, Zdeněk

                        1 Reply Last reply Reply Quote 0
                        • evroomE Offline
                          evroom
                          last edited by

                          @zdenek

                          Unfortunately for you: no

                          See this list for free and paid competitions:
                          https://www.football-data.org/coverage

                          MagicMirror version: 2.33.0
                          Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                          Raspbian GNU/Linux 12 (bookworm)

                          Test environment:
                          MagicMirror version: v2.33.0
                          Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                          Raspbian GNU/Linux 12 (bookworm)

                          zdenekZ 1 Reply Last reply Reply Quote 0
                          • zdenekZ Offline
                            zdenek @evroom
                            last edited by

                            @evroom said in MMM-Soccer - Soccer Standings:

                            https://www.football-data.org/coverage

                            uaaaaaa a litttle bit expencive… so, I’ll have to look for solution based on iFrame or smthg and get the info from here https://www.fortunaliga.cz/rozpis-zapasu/2020?type=2&id_stage=1&month=0&round=0

                            thx

                            1 Reply Last reply Reply Quote 0
                            • evroomE Offline
                              evroom
                              last edited by

                              Hi MMM-soccer users,

                              Perhaps some of you experience the same issue as me and the Magic Mirror shows “Loading”.

                              The problem most likely it is caused due to the fact that round 1 for most competitions still needs to be played.
                              For example for de Eredivisie I get this using a test script:

                              Response:\n{"filters":{},"competition":{"id":2003,"area":{"id":2163,"name":"Netherlands"},"name":"Eredivisie","code":"DED","plan":"TIER_ONE","lastUpdated":"2019-05-28T23:44:43Z"},"season":{"id":481,"startDate":"2019-08-09","endDate":"2020-05-25","currentMatchday":1,"winner":null},"standings":[]}
                              

                              As the standings array is empty, the module is struggling.
                              Perhaps better if it would show “No standings available” in this case, but for the moment is will show what it shows.

                              I have sent a mail to the football-org developer, if it would be possible to send a round 0 standing / table, with the clubs in alphabetic order.

                              MagicMirror version: 2.33.0
                              Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                              Raspbian GNU/Linux 12 (bookworm)

                              Test environment:
                              MagicMirror version: v2.33.0
                              Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                              Raspbian GNU/Linux 12 (bookworm)

                              1 Reply Last reply Reply Quote 0
                              • strawberry 3.141S Offline
                                strawberry 3.141 Project Sponsor Module Developer
                                last edited by

                                Version 2.0.1

                                Added

                                • French translations (Thanks to https://github.com/laventin85)

                                Changed

                                • Readme config example
                                • Github config files

                                https://github.com/fewieden/MMM-soccer

                                [card:fewieden/MMM-soccer]

                                Please create a github issue if you need help, so I can keep track

                                1 Reply Last reply Reply Quote 0
                                • strawberry 3.141S Offline
                                  strawberry 3.141 Project Sponsor Module Developer
                                  last edited by strawberry 3.141

                                  Version 2.1.0

                                  Requires version >= 2.14 of MagicMirror!

                                  Added

                                  • Integrated MMM-Modal

                                  Changed

                                  • Using remote logos
                                  • Preview pictures

                                  Fixed

                                  • Fade effect
                                  • Focus_on in modal highlights correct team
                                  • Help modal shows correct voice commands

                                  Removed

                                  • Logo downloader
                                  • Doclet integration


                                  https://github.com/fewieden/MMM-soccer

                                  [card:fewieden/MMM-soccer]

                                  Please create a github issue if you need help, so I can keep track

                                  1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    Egnos
                                    last edited by

                                    Hi,
                                    I tried the module but on the MM I don’t see anything.

                                    My config.js

                                    {
                                    				module: 'MMM-soccer',
                                    				position: 'bottom_right',
                                    				disabled: false,
                                    				config: {
                                    					api_key: false,
                                    					colored: true,
                                    					show: 'ITALY',
                                    					focus_on: false,
                                    					logos: true,
                                    					max_teams: false,
                                    					leagues: {ITALY: 'SA'},
                                    						}
                                    		},
                                    

                                    MM output:

                                    pi@MagicMirror:~/MagicMirror $ npm start
                                    
                                    > magicmirror@2.10.1 start /home/pi/MagicMirror
                                    > ./run-start.sh
                                    
                                    [02:57:33.259] [LOG]    Starting MagicMirror: v2.10.1
                                    [02:57:33.272] [LOG]    Loading config ...
                                    [02:57:33.282] [LOG]    Loading module helpers ...
                                    [02:57:33.286] [LOG]    No helper found for module: alert.
                                    [02:57:33.382] [LOG]    Initializing new module helper ...
                                    [02:57:33.384] [LOG]    Module helper loaded: updatenotification
                                    [02:57:33.386] [LOG]    No helper found for module: clock.
                                    [02:57:34.112] [LOG]    Initializing new module helper ...
                                    [02:57:34.113] [LOG]    Module helper loaded: calendar
                                    [02:57:34.114] [LOG]    No helper found for module: compliments.
                                    [02:57:34.115] [LOG]    No helper found for module: currentweather.
                                    [02:57:34.122] [LOG]    No helper found for module: weatherforecast.
                                    [02:57:34.176] [LOG]    Initializing new module helper ...
                                    [02:57:34.177] [LOG]    Module helper loaded: newsfeed
                                    [02:57:34.829] [LOG]    Initializing new module helper ...
                                    [02:57:34.830] [LOG]    Module helper loaded: MMM-soccer
                                    [02:57:34.831] [LOG]    All module helpers loaded.
                                    [02:57:34.832] [LOG]    Starting server on port 8080 ... 
                                    [02:57:34.856] [LOG]    Server started ...
                                    [02:57:34.858] [LOG]    Connecting socket for: updatenotification
                                    [02:57:34.859] [LOG]    Connecting socket for: calendar
                                    [02:57:34.860] [LOG]    Starting node helper for: calendar
                                    [02:57:34.861] [LOG]    Connecting socket for: newsfeed
                                    [02:57:34.862] [LOG]    Starting module: newsfeed
                                    [02:57:34.863] [LOG]    Connecting socket for: MMM-soccer
                                    [02:57:34.864] [LOG]    Starting module: MMM-soccer
                                    [02:57:34.865] [LOG]    Sockets connected & modules started ...
                                    [02:57:35.140] [LOG]    Launching application.
                                    [02:57:38.216] [LOG]    Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
                                    [02:57:38.364] [LOG]    Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
                                    
                                    

                                    Where am I wrong?
                                    Can you help me?

                                    Thanks.

                                    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                                    strawberry 3.141S 1 Reply Last reply Reply Quote 0
                                    • strawberry 3.141S Offline
                                      strawberry 3.141 Project Sponsor Module Developer @Egnos
                                      last edited by

                                      @Egnos Requires version >= 2.14 of MagicMirror!

                                      [02:57:33.259] [LOG] Starting MagicMirror: v2.10.1

                                      Your mirror is not up to date

                                      Please create a github issue if you need help, so I can keep track

                                      E 1 Reply Last reply Reply Quote 1
                                      • E Offline
                                        Egnos @strawberry 3.141
                                        last edited by

                                        @strawberry-3-141 ok thanks!
                                        I have updated Magic Mirror to the latest version.
                                        Now I only see “LOADING IN PROGRESS”, below the error:

                                        [ERROR] Getting league table: 403 Forbidden
                                        

                                        Where am I wrong now?

                                        Many Thanks.

                                        My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                                        strawberry 3.141S 1 Reply Last reply Reply Quote 0
                                        • strawberry 3.141S Offline
                                          strawberry 3.141 Project Sponsor Module Developer @Egnos
                                          last edited by

                                          @Egnos seeing your previous post with the config, your league probably requires a free API key.

                                          Please create a github issue if you need help, so I can keep track

                                          E 1 Reply Last reply Reply Quote 0
                                          • E Offline
                                            Egnos @strawberry 3.141
                                            last edited by

                                            @strawberry-3-141
                                            The Italian Serie aA championship should be free. Also if I try to enter the site in the section of the Italian Serie A championship but I get this error:

                                            Italy Serie A

                                            Are you sure the site works?

                                            Many thanks.

                                            My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                                            strawberry 3.141S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 10
                                            • 11
                                            • 3 / 11
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy