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.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.
    • strawberry 3.141S Offline
      strawberry 3.141 Project Sponsor Module Developer @ostfilinchen
      last edited by

      @ostfilinchen should be fixed now, was my fault

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

      O 1 Reply Last reply Reply Quote 0
      • O Offline
        ostfilinchen @strawberry 3.141
        last edited by

        @strawberry-3.141 must i do npm install?

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

          @ostfilinchen no the dependencies havent changed

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

          O 1 Reply Last reply Reply Quote 0
          • O Offline
            ostfilinchen @strawberry 3.141
            last edited by

            @strawberry-3.141 great! Works now.

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

              Hi,
              at first, sorry for my bad english. I’m a totally beginner and MMM-Soccer is the first module i want to install by myself. At first i downloaded the Zip file, unpacked it and copied it into /home/pi/MagicMirror/modules. Then i opened the config.js file and added:

              {
              module: ‘MMM-soccer’,
              position: ‘bottom_right’,
              config: {
              api_key: ‘7cgd8…’,
              colored: ‘false’,
              show: ‘GERMANY’,
              leagues: {“GERMANY”:430},
              }
              },

              Then i opened the LXTerminal on the raspberry pi and typed in :

              pi@raspberrypi:~/MagicMirror $ npm install ~/MagicMirror/modules/MMM-soccer

              Then there came:

              npm ERR! addLocal Could not install /home/pi/MagicMirror…
              npm ERR! Linux …
              .
              .
              .

              What did i wrong? Can anyone help me please?

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

                @STEFF92 in the terminal you have to do cd ~/MagicMirror/modules/MMM-soccer then npm install

                and in your config you have to remove the quotes here colored: false,

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

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  STEFF92 @strawberry 3.141
                  last edited by

                  @strawberry-3.141 but then there is :

                  bash: cd: /home/pi/MagicMirror/modules/MMM-soccer: file or directory not found

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

                    @STEFF92 then you did something wrong. Because you said you manually downloaded the files etc. I suggest to delete it again and start from scratch, this will help you to update more easily in future.

                    type in the terminal

                    cd ~/MagicMirror/modules
                    git clone https://github.com/fewieden/MMM-soccer.git
                    cd MMM-soccer
                    npm install
                    

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

                    S 2 Replies Last reply Reply Quote 0
                    • S Offline
                      STEFF92 @strawberry 3.141
                      last edited by

                      @strawberry-3.141 ok now i did it how you said. when its finished i only have to add the module in my config.js file right? and then thats it?

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        STEFF92 @strawberry 3.141
                        last edited by

                        @strawberry-3.141 Thank you verry much. It works perfectly

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TheSwissGuy
                          last edited by

                          Hi @strawberry-3-141
                          I am using and loving your module! Unfortunately I’ve found a bug with your module running together with the MMM-Carousel. I have three MMM-Soccer module configs, one for Germany, one for England and one for Spain. My idea was to show every table for 3 seconds and then move on to the next one.

                          But I encountered this problem: It always shows me the same league. Now a played with it and set the max_team value for these leagues to different values and it perfectly changes the amount of teams to the correct value, but always with the same teams for the same leagues.

                          So I guess the problem could be that when the show method gets called it does not reload the league (or get it out of a cache).

                          I tried to fix it but I am not a javasript guru so I didn’t find the problem code. Do you have an idea how to make the module reload the league data?

                          I hopoe you can help me!

                          Best regards,
                          Stephan

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

                            @TheSwissGuy Grüezi Stephan,

                            I guess nearly all modules have this kind of issue, as there is only one node_helper for those 3 modules which is uesed by all 3 module instances. the node_helper sends back the data and all 3 listen on it which ends in the same league for every instance. I will see if i can find time to handle this issue.

                            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 hi. can you tell me why i have so old league table and it’s not updating?
                              0_1491329680055_17522148_1541743369192215_720772965_o.jpg

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

                                @davidrq7 sry for the late reply must have missed this post.

                                Do you use the newest version? Did you set some old league codes in the config?

                                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 guess i have latest version. League code is “ENGLAND”: 426. Is that wrong ?

                                  strawberry 3.141S 1 Reply Last reply Reply Quote 0
                                  • 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

                                            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