• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 430.5k 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.
  • E Offline
    evroom
    last edited by Oct 21, 2018, 11:02 AM

    @strawberry-3-141
    Thanks, works like a charm.

    Any possibility to introduce a rotation option, in order to rotate the standings of the leagues in “show” or “leagues” ?

    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)

    S 1 Reply Last reply Oct 21, 2018, 1:22 PM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @evroom
      last edited by Oct 21, 2018, 1:22 PM

      @evroom rotation is currently only supported for voice

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

      1 Reply Last reply Reply Quote 0
      • S Offline
        surger13 Project Sponsor
        last edited by Oct 24, 2018, 10:05 AM

        I cant get it to work again, not even with the new version.
        Where is the mistake?

        module: "MMM-soccer",
        			disabled: false,
        			position: "bottom_left",
        			header: "",
        			config: {
        				colored: true,
        				show: 'GERMANY',
        				logos: false,
        				focus_on: {
        					"GERMANY": "Erzgebirge Aue"
        				},
        				max_teams: 5,
        				leagues: {
        					"GERMANY": "BL2",
        				}
        			}
        
        S 1 Reply Last reply Oct 24, 2018, 7:16 PM Reply Quote 0
        • E Offline
          evroom
          last edited by Oct 24, 2018, 6:06 PM

          Hi @surger13 ,

          You do not have the api_key specified.
          The README says:

          api_key: false,
          

          But for me this does not work.
          I registered at https://www.football-data.org/client/register and the resulting api_key is working fine.

          api_key: 'xxxxd62e29754e10b56029399458xxxx',
          

          This is a fake key, use the one you get after registering.

          Good luck.

          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
          • S Offline
            strawberry 3.141 Project Sponsor Module Developer @surger13
            last edited by Oct 24, 2018, 7:16 PM

            @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 Oct 24, 2018, 9:08 PM Reply Quote 0
            • S Offline
              surger13 Project Sponsor @strawberry 3.141
              last edited by Oct 24, 2018, 9:08 PM

              @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 Mar 5, 2019, 10:02 PM

                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
                • E Offline
                  evroom
                  last edited by Mar 6, 2019, 7:08 PM

                  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 Mar 8, 2019, 2:26 PM

                    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 Apr 29, 2019, 9:20 AM

                      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
                      • 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