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 474.1k 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.
    • 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.30.0
          Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
          Raspbian GNU/Linux 12 (bookworm)

          Test environment:
          MagicMirror version: v2.30.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.30.0
                Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                Raspbian GNU/Linux 12 (bookworm)

                Test environment:
                MagicMirror version: v2.30.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.30.0
                  Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  Test environment:
                  MagicMirror version: v2.30.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.30.0
                        Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                        Raspbian GNU/Linux 12 (bookworm)

                        Test environment:
                        MagicMirror version: v2.30.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
                        • 1
                        • 2
                        • 15
                        • 16
                        • 17
                        • 18
                        • 19
                        • 20
                        • 21
                        • 17 / 21
                        • 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