MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-Soccer - Standings, Schedules and Top Scorers

    Sport
    bundesliga football modal premiere league primiera division soccer voice control
    42
    206
    138870
    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.
    • lavolp3
      lavolp3 Module Developer @sdetweil last edited by

      @sdetweil @hugopvl
      yes the only error in above config seemed to be that @hugopvl has written

        league: {“PORTUGAL”: “PPL”},
      

      instead of

        leagues: {PORTUGAL: “PPL”},
      

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

      1 Reply Last reply Reply Quote 0
      • H
        hugopvl @sdetweil last edited by

        @sdetweil

        supposed to be the right one, but if you read my previous comment, you can see that it wasn’t working, it just worked with the change in MMM-soccer.js

        THX

        lavolp3 1 Reply Last reply Reply Quote 0
        • lavolp3
          lavolp3 Module Developer @hugopvl last edited by lavolp3

          @hugopvl it didn’t work because of the small mistake I mentioned before. Your config entry was not recognized because your object was league: not leagues:
          @strawberry-3-141 might include in the README that additional leagues can be included via the config entry you made before. Or include all of them from the start.

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

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

            Today the European Championship will kickoff 💪 ⚽

            ec.png

            I’m currently working on version 3 of this module. It will be possible to not only display the standings of a league but also get the schedules and top scorers displayed in a carousel.

            On top of that, the module will finally support cups such as the European Championship, Champions League, and World Cup.

            If you want to test the beta for tonight’s kickoff, then head over to Github https://github.com/fewieden/MMM-soccer/pull/42 for all details.

            If you find any issues or need help, please report them here https://github.com/fewieden/MMM-soccer/pull/42 so they are all grouped together.

            standings.png
            schedule.png
            scorers.png

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

            1 Reply Last reply Reply Quote 2
            • strawberry 3.141
              strawberry 3.141 Project Sponsor Module Developer last edited by

              Fixed the standings for the ongoing European Championship. Schedules are now filtered by the current matchday.

              Check out https://github.com/fewieden/MMM-soccer/pull/42 to test v3 of the module.

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

              B 1 Reply Last reply Reply Quote 1
              • B
                Babene1 Project Sponsor @strawberry 3.141 last edited by

                @strawberry-3-141

                thanks for the new version, it’s really great. Great new features.

                However, i have Problem to install the leatest version with „schedules fix“. Unfortunately I am not so familiar with git. Is there a new branch available or have to use „feature/extract-api-provider"?

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

                  @babene1 it is the same branch. You can check which branch you are currently using with git status.

                  On branch feature/extract-api-provider
                  Your branch is up to date with 'origin/feature/extract-api-provider'.
                  

                  To update to the latest commit you can simply run git pull, as no dependencies have changed.

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

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    Babene1 Project Sponsor @strawberry 3.141 last edited by Babene1

                    my branch is up to date

                    but my result is this screenMMM-soccer_screen.png

                    this is my modul-config:

                    {
                                module: 'MMM-soccer',
                                position: 'top_right',
                                config: {
                                    colored: true,
                                    logos: true,
                                    rotationInterval: 20 * 1000, // 20 seconds instead of 15 (default)
                                    provider: {
                                        'football-data': {
                                            apiKey: 'API Keay' // Replace with your API key
                                        }
                                    },
                                    competitions: [
                                        {
                                            code: 'EC', // European championship
                                            standings: {
                                                provider: 'football-data',
                                                focusOn: 'GER', // Germany
                                                maxEntries: 5
                                            },
                                            schedules: {
                                                provider: 'football-data',
                                                maxEntries: 7
                                            }
                                        },
                                    ]
                                }
                            },
                    

                    should not only display the current matchday?

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

                      @babene1 schedules wasn’t optimized yet for no focusOn team specified.

                      Run git pull to get the latest commit.

                      f2c782c2-ac04-45de-b64b-619906fa666d-image.png

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

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

                        @strawberry-3-141 Really great work man!

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

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 17
                        • 18
                        • 19
                        • 20
                        • 21
                        • 20 / 21
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy