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
      last edited by strawberry 3.141

      hey max, like I described in the post before yours i did it like in the instructions and it worked fine, but let’s try together to figure out why it’s not working for you.

      you don’t need an api key unless you make over 50 requests a day. at the moment the module only request data from the api if the module gets initialised after starting your mirror. when you dont restart your mirror more than 50 times a day you don’t need one.

      because you can see no data available the module should be loaded correctly, but there is probably a problem with the api itself. did you try to put the url in the browser and see if you get a result there maybe the server of the api isn’t available at the moment
      http://api.football-data.org/v1/soccerseasons/394/leagueTable
      this should give you a result for german bundesliga

      report your result on this and then we can see what we can do otherwise if its not working

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

      1 Reply Last reply Reply Quote 0
      • zombi27Z Offline
        zombi27
        last edited by

        sorry! my fault! silly me!

        i reloaded a hundred times via ctrl+r, but i never restarted the whole mirror -.-
        now it’s working just fine, thank you :)

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

          i’m happy that it’s working for you

          if you want you can also apply for a free api key here http://api.football-data.org/register to get 50 requests a minute

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

          1 Reply Last reply Reply Quote 0
          • I Offline
            ianperrin
            last edited by

            Hi @strawberry-3-141 - thanks for putting together this module.

            In case it helps anyone, I’ve created a GitHub repository for my version of the module - https://github.com/ianperrin/MMM-FootballData. I renamed it to add the MMM- prefix as that seems the convention round here, and changed soccer to FootballData because a) that’s the name of the game :) and b) it indicates the source (http://api.football-data.org)

            [card:ianperrin/MMM-FootballData]

            ALL CREDIT GOES TO @strawberry-3-141

            "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

            strawberry 3.141S I 3 Replies Last reply Reply Quote 1
            • strawberry 3.141S Offline
              strawberry 3.141 Project Sponsor Module Developer @ianperrin
              last edited by

              @ianperrin well that’s kind of an old version meanwhile, I have a work in progress of a newer version on github already

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

              I 1 Reply Last reply Reply Quote 0
              • I Offline
                ianperrin @strawberry 3.141
                last edited by

                @strawberry-3.141 do you have a link?

                "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

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

                  [card:fewieden/MMM-soccer]

                  as I said it’s work in progress and not finished

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

                  I 1 Reply Last reply Reply Quote 0
                  • I Offline
                    ianperrin @strawberry 3.141
                    last edited by

                    @strawberry-3.141 care to share your plans - perhaps I can contribute?

                    I also notice you’ve hardcoded the leagues into the subclassed start method. Is there a reason for this, because it means that I can’t override them via config to use other leagues?

                    "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

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

                      plans are:

                      • i18n
                      • integration of my voice recognition module (also wip), this goes with more use of the api like fixtures etc.
                      • cup support
                      • smaller screen support

                      probably I’m going one step back and will put league codes configurable again

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

                      1 Reply Last reply Reply Quote 2
                      • I Offline
                        ianperrin
                        last edited by

                        @strawberry-3-141

                        I’ve just sent you a pull request which attempts to find a solution for smaller screens (compact mode). Not perfect, but an initial prototype!

                        Here’s the original full table:
                        full table

                        And here’s the compact view:
                        compact table

                        "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

                        1 Reply Last reply Reply Quote 2
                        • I Offline
                          ianperrin @ianperrin
                          last edited by

                          @ianperrin said in Soccer Standings:

                          Hi @strawberry-3-141 - thanks for putting together this module.

                          In case it helps anyone, I’ve created a GitHub repository for my version of the module

                          If anyone is looking for my version of the module, I have now deleted the MMM-FootballData repository and focusing my efforts on a fork of MMM-soccer created by @strawberry-3-141.

                          For those interested, you can find my fork here: https://github.com/ianperrin/MMM-soccer

                          "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

                          1 Reply Last reply Reply Quote 1
                          • zombi27Z Offline
                            zombi27
                            last edited by

                            hey :)
                            thats a really nice addition with the compact view! i like the highlighting of the focussed team!
                            another idea would be the possibility to highlight that one team in the complete list too, to see your favourite team faster :)

                            1 Reply Last reply Reply Quote 3
                            • MichMichM Offline
                              MichMich
                              last edited by

                              Nice! Now, if somebody could port this to Formula 1 standings … ;)

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

                                @MichMich I was thinking about doing this, but couldn’t find a proper free api yet :(

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

                                I 1 Reply Last reply Reply Quote 1
                                • I Offline
                                  ianperrin @strawberry 3.141
                                  last edited by ianperrin

                                  @strawberry-3.141 , @MichMich - would this one do the job http://ergast.com/api/f1/current/driverStandings.json ??

                                  If so, I’m happy to roll something up based on the Soccer Standings module…

                                  "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

                                  MichMichM 1 Reply Last reply Reply Quote 0
                                  • MichMichM Offline
                                    MichMich @ianperrin
                                    last edited by

                                    @ianperrin Absolutely! 🎉

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

                                      i just published an update, which allows to focus_on also TOP, BOTTOM and support for coming features, you’re already able to set this per league

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

                                      1 Reply Last reply Reply Quote 1
                                      • I Offline
                                        ianperrin @MichMich
                                        last edited by

                                        @MichMich said in Soccer Standings:

                                        @ianperrin Absolutely! 🎉

                                        Version 1 done - see https://forum.magicmirror.builders/topic/463/formula-1-standings

                                        "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

                                        1 Reply Last reply Reply Quote 1
                                        • D Offline
                                          darkeagl105
                                          last edited by darkeagl105

                                          Hello, I jsut installed the soccer module and I have a problem with the size.
                                          Setup:
                                          RP1+
                                          jessi lite
                                          node serveronly (node.js 4.x.x)
                                          midori browser kiosk mode

                                          SCreenshot

                                          As I understood it is the same build as the olympic which is working perfectly as do the weather modules, which I just disabled to show the false size. Any ideas.

                                          It is a fresh install, just configured the autostart for midori etc and the mirror. Havent done anything else.

                                          Thank you

                                          PS: when I open the website on another pc or somewhere else the layout is fine (browser chrome).

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

                                            Propably your Region has not enough Space on this Monitor, Maybe it’s working for you if you exchange the Region with an other Module.

                                            Solution would be then to exchange flexbox with Standard html table

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

                                            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
                                            • 10
                                            • 11
                                            • 5 / 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