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 488.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.
    • 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
                        • 1
                        • 2
                        • 17
                        • 18
                        • 19
                        • 20
                        • 21
                        • 19 / 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