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-SoccerLiveScore pleas help

    Scheduled Pinned Locked Moved Solved Troubleshooting
    52 Posts 5 Posters 21.6k Views 5 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
      sdetweil @Manu85
      last edited by

      @Manu85

      cd ~/MagicMirror/modules
      mv MMM-SoccerLiveScore MMM-SoccerLiveScore.old
      mv NewSoccerLive MMM-SoccerLiveScore
      cd MMM-SoccerLiveScore
      npm install
      

      then u can change disabled: back to false

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • M Offline
        Manu85
        last edited by

        I made all the lines and went to false, the MM started but soccer does not appear on the screen

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Manu85
          last edited by

          @Manu85 output of
          pm2 logs --lines=100
          please

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • M Offline
            Manu85
            last edited by

            @sdetweil in your mailbox

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Manu85
              last edited by

              @Manu85 makes no sense…

              can u edit ~/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js
              and show me the top few lines, should look like this

              /* Magic Mirror
               * Module: MyCovid19
               *
               * Node_helper written by sdetweil
               *  
               */
              const NodeHelper = require('node_helper');
              const request = require('request');
              const path = require('path')
              var moment = require('moment');
              //const cvt=require("xlsx-to-json")
              const cvt=require('csvtojson')
              var fs=require('fs')
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • M Offline
                Manu85
                last edited by

                @sdetweil I have a file “/home/pi/MagicMirror/modules/MMM-SoccerLiveScore.old” and in this file I have another file “MMM-SoccerLiveScore” is this file “node_helper.js” you want?

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Manu85
                  last edited by

                  @Manu85 i have no idea what you did… there should be two folders in ~/MagicMirror/modules (related to this problem)

                  MMM-SoccerLiveScore.old the original module
                  MMM-SoccerLiveScore my updated module, rename from NewSoccerLive

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Manu85
                    last edited by

                    @sdetweil I just emailed you the screenshot of what I have, thanks again for your help

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Manu85
                      last edited by

                      @Manu85 do

                      cd ~/MagicMirror/modules/MMM-SoccerLiveScore.old
                      mv MMM-SoccerLiveScore ..
                      cd ~/MagicMirror
                      

                      restart mirror

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Manu85
                        last edited by

                        I’m sorry, after passing these lines the screen remains black

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sdetweil @Manu85
                          last edited by

                          @Manu85 show me outout
                          pm2 logs --lines=100

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                          • M Offline
                            Manu85
                            last edited by

                            @sdetweil I just resumed our entire conversation and I just redid "cd ~ / MagicMirror / modules
                            git clone https://github.com/sdetweil/MMM-SoccerLiveScore NewSoccerLive
                            cd MMM-SoccerLiveScore
                            cp …/NewSoccerLive/*.js. "
                            I do not know if I did well, but I think I have abused your kindness enough, I send you the somefile on your email, thank you

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              Manu85
                              last edited by

                              @sdetweil I sent you the email from somefile

                              1 Reply Last reply Reply Quote 0
                              • StoffbeuteluweS Offline
                                Stoffbeuteluwe Project Sponsor @sdetweil
                                last edited by

                                @sdetweil Hello, I tried the new module… until now it works fine.
                                I have set debug: true,

                                S 1 Reply Last reply Reply Quote 1
                                • S Offline
                                  sdetweil @Stoffbeuteluwe
                                  last edited by

                                  @Stoffbeuteluwe cool, thx for the feedback

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    Manu85
                                    last edited by

                                    @sdetweil hello, this morning the MM is frozen … I sent you the somefile file by email. yesterday evening after 2 or 3 hours the soccer module displayed the module screens very quickly 1/2 second and this morning the module disappeared, the seconds of the MM watch go from 35s to 50s
                                    @Stoffbeuteluwe is your MM still working well?

                                    StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                                    • lavolp3L Offline
                                      lavolp3 Module Developer
                                      last edited by lavolp3

                                      Don’t want to undermine the work you have put into here, especially yours @sdetweil, but my MMM-soccer v2 is actively developed by me and should work in its present state.
                                      And basically does the same.

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

                                      S StoffbeuteluweS 2 Replies Last reply Reply Quote 0
                                      • StoffbeuteluweS Offline
                                        Stoffbeuteluwe Project Sponsor @Manu85
                                        last edited by

                                        @Manu85 yes, my mirror is working…I have it run on a Mac

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sdetweil @lavolp3
                                          last edited by

                                          @lavolp3 awesome!! i didn’t catch that before… @Manu85 @Stoffbeuteluwe please move over to @lavolp3 's
                                          MMM-Soccer module… a developer that continues to support there creation is a valuable thing…

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            Manu85
                                            last edited by

                                            @lavolp3 hello, I am not abandoning the other module on which @sdetweil worked, but I installed your module to see how it works, I have an error “please create a config file” below my config.js

                                                	{
                                            			module: 'MMM-soccer',
                                            		position: 'top_right',
                                            		config: {
                                                		api_key: 'XXXXXXXXX4cb541ce877258756f29ccd3',
                                                		show: ['CL', 'BL1', 'PL'],
                                                		colored: true,
                                                		updateInterval: 60,
                                                		focus_on: {
                                            			'BL1': 'FC Bayern München',
                                            			'CL': 'Liverpool FC'
                                            	},
                                            
                                            S 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
                                            • 1 / 3
                                            • 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