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-MyScoreboard

    Scheduled Pinned Locked Moved Sport
    277 Posts 60 Posters 563.6k Views 63 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.
    • W Offline
      Wenike @sifuhall
      last edited by

      @sifuhall So, other modules aren’t showing either?

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

        @sifuhall this sounds like the the missing libraries problem. when the screen is blank, can u show the message at mm startup?

        if using pm2, use
        pm2 logs --lines=100

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        sifuhallS 1 Reply Last reply Reply Quote 0
        • sifuhallS Offline
          sifuhall @sdetweil
          last edited by

          @sdetweil

          Yes, this was it exactly. Once I added the request module everything was fine.

          However, I do have one question.

          How can I add the West Ham United Football Club?

          BKeyportB 1 Reply Last reply Reply Quote 0
          • BKeyportB Offline
            BKeyport Module Developer @sifuhall
            last edited by

            @sifuhall it looks like it’s not supported based on the code.

            The "E" in "Javascript" stands for "Easy"

            sifuhallS 1 Reply Last reply Reply Quote 0
            • sifuhallS Offline
              sifuhall @BKeyport
              last edited by

              @bkeyport Thank you for the reply

              1 Reply Last reply Reply Quote 0
              • E Offline
                Egnos
                last edited by

                Hello everybody,
                I’m having trouble with this module, are any of you using it?

                The following errors MM returns me:

                [02.09.2022 10:52.55.068] [LOG]   [MMM-MyScoreboard] 2-Sep-22 10:52 ** ERROR ** Couldn't retrieve ITA_SERIE_A data for provider ESPN: Error: getaddrinfo ENOTFOUND site.api.espn.com
                [02.09.2022 10:52.55.068] [LOG]   [MMM-MyScoreboard] http://site.api.espn.com/apis/site/v2/sports/soccer/ita.1/scoreboard?dates=20220902&limit=200
                
                
                Starting module: MMM-MyScoreboard MMM-MyScoreboard.js:560 
                All modules started!
                MMM-MyScoreboard.js:552 
                [MMM-MyScoreboard] Updating Scores module.js:195 
                MMM-MyScoreboard is suspended.
                

                Below my configuration

                {
                		  module: "MMM-MyScoreboard",
                		  position: "top_right",
                		  classes: "default everyone",
                		  header: "My Scoreboard",
                		  config: {
                			showLeagueSeparators: true,
                			colored: true,
                			viewStyle: "mediumLogos",
                			sports: [
                			  {
                				league: "ITA_SERIE_A",
                				//teams: ["JUV"]
                				//label: "Seria A TIM 2022/23"
                			  }
                					]
                				}
                		},
                

                Can you help me?
                Thanks

                My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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

                  @Egnos looks like the provider changed their API. so the module will have to be changed

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  E 1 Reply Last reply Reply Quote 0
                  • E Offline
                    Egnos @sdetweil
                    last edited by

                    @sdetweil said in MMM-MyScoreboard:

                    looks like the provider changed their API. so the module will have to be changed

                    Hi @sdetweil
                    I understand. Do you know if the developer still maintains the module?

                    Thanks

                    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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

                      @Egnos no idea, go look at the GitHub site, post an issue.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        Egnos @sdetweil
                        last edited by Egnos

                        @sdetweil said in MMM-MyScoreboard:

                        @Egnos no idea, go look at the GitHub site, post an issue.

                        I tried to do the recommended fix but nothing has changed.
                        https://github.com/jclarke0000/MMM-MyScoreboard/pull/61

                        I opened a problem on GitHub as you advised me, I await an answer.

                        If someone had solved … give a whistle ;-)

                        My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

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

                          @Egnos but that PR fixes the wrong provider… the espn provider is broken

                          the error u posted

                          data for provider ESPN: Error: getaddrinfo ENOTFOUND site.api.espn.com
                          

                          that module is 5 years old… these providers change things every year…

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          BKeyportB 1 Reply Last reply Reply Quote 0
                          • BKeyportB Offline
                            BKeyport Module Developer @sdetweil
                            last edited by

                            @sdetweil ESPN sneezes and the data format changes. Not a reliable source.

                            The "E" in "Javascript" stands for "Easy"

                            E 1 Reply Last reply Reply Quote 1
                            • E Offline
                              Egnos @BKeyport
                              last edited by

                              @BKeyport said in MMM-MyScoreboard:

                              @sdetweil ESPN sneezes and the data format changes. Not a reliable source.

                              Hi @BKeyport do you know a valid alternative?
                              Thanks

                              My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                              BKeyportB 1 Reply Last reply Reply Quote 0
                              • BKeyportB Offline
                                BKeyport Module Developer @Egnos
                                last edited by

                                @Egnos sadly, no, i don’t. Gave up on scores on my mirror long ago.

                                The "E" in "Javascript" stands for "Easy"

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  j.e.f.f Project Sponsor Module Developer
                                  last edited by

                                  Sorry folks that I haven’t been around to fix this. There URL for the ticker changed for the SportsNet provider. I’ll be publishing a fix in the cominn g days, but if you want to address it now, make a change in the file providers/SNET.js.

                                  Change line #122 from

                                      var url = "https://d290qmen6zswb.cloudfront.net/ticker?day=" + this.gameDate.format("YYYY-MM-DD");
                                  

                                  to

                                     var url = "https://mobile-statsv2.sportsnet.ca/ticker?day=" + this.gameDate.format("YYYY-MM-DD");
                                  

                                  This should get you back up and running until I publish the official fix.

                                  • Jeff
                                  E 1 Reply Last reply Reply Quote 1
                                  • E Offline
                                    Egnos @j.e.f.f
                                    last edited by

                                    @j-e-f-f said in MMM-MyScoreboard:

                                    This should get you back up and running until I publish the official fix.

                                    Thanks @j-e-f-f we look forward to the official release!:thumbs_up:

                                    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      j.e.f.f Project Sponsor Module Developer
                                      last edited by

                                      From my standpoint, the only thing that stopped working for me were any of the feeds that used the Sportsnet provider. But I am seeing some anecdotal reports of the ESPN provider also not working? Could anyone provide some examples of this? ESPN is working for me as-is.

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        j.e.f.f Project Sponsor Module Developer
                                        last edited by

                                        New update released. This is a big one. Addresses the following:

                                        • Correction of SNET provider ticker URL
                                        • Change of ESPN provider URL to HTTPS
                                        • Replacement of deprecated library Request with Axios
                                        • Addition of WNBA and NCAAW womens’ basketball leagues
                                        • Team logo updates for North American leagues
                                        • Correction of NCAA team shortcode for Wisconsin Badgers from WIS to WISC

                                        As this has a replacement of a module, you’ll need to run npm install after doing a git pull in the MMM-MyScoreBoard directory

                                        A note on ESPN’s feed. I have seen a number of posts reporting that the it sporadically stops working. As of right now the ESPN feed works properly for me, but I did notice over the course of the last couple of day’s testing that sometimes the request out to ESPN is not answered in a timely manner. Eventually ESPN will update, but sometimes it is slow. I have made a change so that the request is made over HTTPS instead of HTTP, and my testing since then has shown the feed to be more reliable. Of course, this could just be a complete coincidence, and it’s equally as likely that we’ll continue to see issues with ESPN-sourced scoreboard data.

                                        Once again, sorry for the LOOOOOOONG delay in addressing this. My mirror has sat unattended to for quite some time, and I only recently got around to rebuilding things. A number of my modules had stopped working, not just this one. Hopefully, this gets everyone back up and running.

                                        W E 2 Replies Last reply Reply Quote 2
                                        • W Offline
                                          Wenike @j.e.f.f
                                          last edited by

                                          @j-e-f-f This can definitely be a future improvement but is there a way to get support for some of the relatively recent expansion MLS teams or if I use their codes, would it just work without additional code (especially with the ESPN update)?

                                          J 1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            j.e.f.f Project Sponsor Module Developer @Wenike
                                            last edited by

                                            @Wenike said in MMM-MyScoreboard:

                                            @j-e-f-f This can definitely be a future improvement but is there a way to get support for some of the relatively recent expansion MLS teams or if I use their codes, would it just work without additional code (especially with the ESPN update)?

                                            The recent update already includes all current 28 MLS teams. However any future additional teams will work provided you know the shortcode. MLS is provided by SportsNet, not ESPN, and if you can figure out the shortcode SportsNet uses for any new team, you can follow that team specifically. Otherwise, if you just follow the league, the new team will appear as it comes through the feed without any intervention on your part. I also changed MLS to pull the team logo images from the data feed, so there won’t be any missing logos either.

                                            N 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
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 12 / 14
                                            • 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