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 528.9k 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 @davidrq7
      last edited by

      @davidrq7 I installed the module and inserted the following config in my config.js file, which gives me the expected result of the current season.

      {
        module: 'MMM-soccer',
        position: 'bottom_right',
        config: {
          show: 'ENGLAND',
          max_teams: 5
        }
      },
      

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

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        davidrq7 @strawberry 3.141
        last edited by

        @strawberry-3.141 I checkd and i got old league code ;) now works fine ;) Thx for your time!

        1 Reply Last reply Reply Quote 0
        • J Offline
          jules
          last edited by jules

          Hi all,
          has anyone found a possibility to show just two teams of the same league?
          I want to show just two teams of the german first division.
          I tryed:

          				
          config: {
          	api_key: "XXXX",
          	focus_on: {"GERMANY": "1. FC Köln","GERMANY": "FC Schalke 04"},
          	max_teams: 2
          }
          
          

          but then the focus is only on the second team.
          With

          config: {
          	api_key: "XXXXX",
          	focus_on: {"GERMANY": "1. FC Köln","FC Schalke 04"},
          	max_teams: 2
          }
          

          I get an config error.

          It would be great if anyone knows a solution.

          thanks and best regards,
          jules

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

            @jules With the current code base this is not possible

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

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jules @strawberry 3.141
              last edited by

              @strawberry-3.141 thanks for your fast reply. Do you think its a possibility to copy the whole MMM-soccer module, and build a version that just shows the team without the league and gameday information, than npm rebuild. and use this module directly under the original module, to just show the second team.

              Hope you get what i mean :laughing:

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

                @jules because the teams are in the same league, you can just copy your config entry and place in the other team in focus_on. Then you have to create some css rules in custom.css to hide the header and so on

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

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  jules @strawberry 3.141
                  last edited by

                  @strawberry-3.141 sounds good, i will try this by time.
                  thank you very much

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

                    I know its the off season now but any developments on cup support, i.e. Champions League?

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      Babene1 Project Sponsor
                      last edited by

                      The module is really great, thanks again.
                      But I have currently also the problem with “focus_on” and an team with “ö / ä / ü”
                      Any solution available?

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

                        @Babene1 can you pls provide the config so i can investigate?

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

                        1 Reply Last reply Reply Quote 1
                        • B Offline
                          Babene1 Project Sponsor
                          last edited by

                          here is the config of the modul:

                          {
                          			module: 'MMM-soccer',
                          			position: 'top_right',
                          			config: {
                          				colored: true,
                          				focus_on: {'GERMANY': 'FC Bayern München'},
                          				max_teams:6,
                          				}
                          		},
                          
                          strawberry 3.141S 1 Reply Last reply Reply Quote 0
                          • strawberry 3.141S Offline
                            strawberry 3.141 Project Sponsor Module Developer @Babene1
                            last edited by

                            @Babene1 By using your config, the team FC Bayern München is highlighted. For me everything works as expected.

                            Can you describe what happens exactly on your side?

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

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              Babene1 Project Sponsor
                              last edited by

                              ok it is crazy.
                              on my test/development mirror with windows 10 don’t work. No result with focus_on: {'GERMANY': 'FC Bayern München'},

                              but on my main mirror on the raspberry it works perfect.

                              so no further investigation.

                              thank you for your help / time

                              Mykle1M 1 Reply Last reply Reply Quote 0
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer @Babene1
                                last edited by

                                @Babene1

                                I’m not suggesting that you use it, but Windows 7 and MagicMirror work flawlessly together. Just a thought.

                                Create a working config
                                How to add modules

                                1 Reply Last reply Reply Quote 0
                                • lavolp3L Offline
                                  lavolp3 Module Developer
                                  last edited by

                                  @strawberry-3-141 this is a great and very good looking addon.
                                  I’m using Bundesliga standings but apparently they are not updating for the new season. I still have season 16/17 standings. Do you know why?

                                  How to troubleshoot modules
                                  MMM-soccer v2, MMM-AVStock

                                  lavolp3L strawberry 3.141S 2 Replies Last reply Reply Quote 0
                                  • lavolp3L Offline
                                    lavolp3 Module Developer @lavolp3
                                    last edited by lavolp3

                                    @lavolp3 I should have thought a bit longer.
                                    The reason is that the number for the league is deprecated. If you use the actual number, it works.

                                    curl -H 'X-Response-Control: minified' -X GET http://api.football-data.org/v1/competitions/?season=2017
                                    [{"id":444,"caption":"Campeonato Brasileiro da Série A","league":"BSA","year":"2017","currentMatchday":20,"numberOfMatchdays":38,"numberOfTeams":20,"numberOfGames":380,"lastUpdated":"2017-08-24T00:40:05Z"},
                                    {"id":445,"caption":"Premier League 2017/18","league":"PL","year":"2017","currentMatchday":3,"numberOfMatchdays":38,"numberOfTeams":20,"numberOfGames":380,"lastUpdated":"2017-08-24T10:00:01Z"},
                                    {"id":446,"caption":"Championship 2017/18","league":"ELC","year":"2017","currentMatchday":5,"numberOfMatchdays":46,"numberOfTeams":24,"numberOfGames":552,"lastUpdated":"2017-08-22T07:00:02Z"},
                                    {"id":447,"caption":"League One 2017/18","league":"EL1","year":"2017","currentMatchday":4,"numberOfMatchdays":46,"numberOfTeams":24,"numberOfGames":552,"lastUpdated":"2017-08-22T04:00:06Z"},
                                    {"id":448,"caption":"League Two 2017/18","league":"EL2","year":"2017","currentMatchday":4,"numberOfMatchdays":46,"numberOfTeams":24,"numberOfGames":552,"lastUpdated":"2017-08-22T04:00:06Z"},
                                    {"id":449,"caption":"Eredivisie 2017/18","league":"DED","year":"2017","currentMatchday":3,"numberOfMatchdays":34,"numberOfTeams":18,"numberOfGames":306,"lastUpdated":"2017-08-23T04:00:08Z"},
                                    {"id":450,"caption":"Ligue 1 2017/18","league":"FL1","year":"2017","currentMatchday":4,"numberOfMatchdays":38,"numberOfTeams":20,"numberOfGames":380,"lastUpdated":"2017-08-23T10:00:06Z"},
                                    {"id":451,"caption":"Ligue 2 2017/18","league":"FL2","year":"2017","currentMatchday":5,"numberOfMatchdays":38,"numberOfTeams":20,"numberOfGames":380,"lastUpdated":"2017-08-24T07:00:10Z"},
                                    {"id":452,"caption":"1. Bundesliga 2017/18","league":"BL1","year":"2017","currentMatchday":2,"numberOfMatchdays":34,"numberOfTeams":18,"numberOfGames":306,"lastUpdated":"2017-08-23T07:00:10Z"},
                                    {"id":453,"caption":"2. Bundesliga 2017/18","league":"BL2","year":"2017","currentMatchday":4,"numberOfMatchdays":34,"numberOfTeams":18,"numberOfGames":306,"lastUpdated":"2017-08-24T07:00:15Z"},
                                    
                                    
                                    

                                    For 1. Bundesliga 2017/2018 it’s 452

                                    How to troubleshoot modules
                                    MMM-soccer v2, MMM-AVStock

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

                                      @lavolp3 you can update the lague codes via config ;)

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

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        Southcity
                                        last edited by

                                        Hi,

                                        great work!
                                        I’m looking for a way to change the Team Name. For example “Red Bull Leipzig” is wrong, it must be Rasenballsport Leipzig. Is there a way to change the Team Name?

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

                                          @Southcity the data is coming from an api endpoint, where you registered for the api key, so you could write them a mail if they can fix it :)

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

                                          1 Reply Last reply Reply Quote 0
                                          • B Offline
                                            Brandlin
                                            last edited by

                                            hi

                                            i am having trouble with the soccer module.
                                            I can get the current english premier league and i can show a reduced number of teams. But i cannot get the the focus to work. I have tried multiple teams but none work.

                                            my code is

                                                                    module: "MMM-soccer",
                                                                    position: "top_left",
                                                                    config: {
                                                                            api_key: "... censored ...",
                                                                            show: "ENGLAND",
                                                                            leagues: {"ENGLAND": 445},
                                                                            focus_on: {"ENGLAND": "Newcastle United FC"},
                                                                            max_teams: "5"
                                                                    }
                                                            },
                                            

                                            Dont judge me on the team - its my father’s and this is a christmas present.

                                            what am i doing wrong?

                                            Also is there a way to update the league to the 18/19 season when the ext season starts or do i have to edit the config then?

                                            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
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 6 / 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