• 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 400.7k 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.
  • S Offline
    strawberry 3.141 Project Sponsor Module Developer @ostfilinchen
    last edited by Feb 8, 2017, 8:35 PM

    @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 Feb 8, 2017, 8:39 PM Reply Quote 0
    • O Offline
      ostfilinchen @strawberry 3.141
      last edited by Feb 8, 2017, 8:39 PM

      @strawberry-3.141 great! Works now.

      1 Reply Last reply Reply Quote 0
      • S Offline
        STEFF92
        last edited by Mar 10, 2017, 2:54 PM

        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?

        S 1 Reply Last reply Mar 10, 2017, 3:14 PM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @STEFF92
          last edited by Mar 10, 2017, 3:14 PM

          @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 Mar 10, 2017, 3:44 PM Reply Quote 0
          • S Offline
            STEFF92 @strawberry 3.141
            last edited by Mar 10, 2017, 3:44 PM

            @strawberry-3.141 but then there is :

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

            S 1 Reply Last reply Mar 10, 2017, 3:48 PM Reply Quote 0
            • S Offline
              strawberry 3.141 Project Sponsor Module Developer @STEFF92
              last edited by Mar 10, 2017, 3:48 PM

              @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 Mar 10, 2017, 4:00 PM Reply Quote 0
              • S Offline
                STEFF92 @strawberry 3.141
                last edited by Mar 10, 2017, 4:00 PM

                @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 Mar 10, 2017, 4:20 PM

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

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TheSwissGuy
                    last edited by Mar 18, 2017, 11:41 PM

                    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

                    S 1 Reply Last reply Mar 19, 2017, 9:05 AM Reply Quote 0
                    • S Offline
                      strawberry 3.141 Project Sponsor Module Developer @TheSwissGuy
                      last edited by Mar 19, 2017, 9:05 AM

                      @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 Apr 4, 2017, 6:14 PM Reply Quote 0
                      • 1
                      • 2
                      • 7
                      • 8
                      • 9
                      • 10
                      • 11
                      • 20
                      • 21
                      • 9 / 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