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.

    NHL Module

    Scheduled Pinned Locked Moved Requests
    41 Posts 12 Posters 40.8k Views 12 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
      last edited by

      Changelog:

      • Added two config options (matches, rotateInterval) to have a smaller display, but still be able to see all matches

      Feel free to test, if there are no bugs found I will publish the module.

      [card:fewieden/MMM-NHL]

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

      N 1 Reply Last reply Reply Quote 0
      • N Offline
        nhl @strawberry 3.141
        last edited by

        @strawberry-3.141 Thanks for all your hard work. I will install it now and test.

        1 Reply Last reply Reply Quote 0
        • C Offline
          chieftainSupreme
          last edited by

          @strawberry-3-141 how difficult would it be to adapt your NHL module for an NBA module? Just a matter of changing any NHL references to NBA (teams, states, etc.) and calling the ESPN NBA API?

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

            @chieftainSupreme if there is a free api, you would need some time to adjust the module, but it shouldn’t be difficult

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

            C 2 Replies Last reply Reply Quote 0
            • O Offline
              Officeglen
              last edited by

              Hi all,

              i installed the original version of the NHL module and it works great, i see there have been updates…Can anyone tell me how to install those updates now?

              Sorry I am a noobie who made this mirror for my brother, it’s almost time to give it to him so I want him to have the most up to date modules…

              yawnsY 1 Reply Last reply Reply Quote 0
              • yawnsY Offline
                yawns Moderator @Officeglen
                last edited by

                @Officeglen
                Open a terminal, change into the NHL module folder and type git pull to receive the update for this module

                O 2 Replies Last reply Reply Quote 0
                • C Offline
                  chieftainSupreme @strawberry 3.141
                  last edited by

                  @strawberry-3.141 i’m gonna take a shot at it

                  1 Reply Last reply Reply Quote 0
                  • O Offline
                    Officeglen @yawns
                    last edited by

                    @yawns thanks will give it a whirl tonight

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      chieftainSupreme @strawberry 3.141
                      last edited by

                      @strawberry-3.141 turns out ESPN killed off their public API keys and I’m having a hard time finding a free nba API. Any chance you know where to find one?

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        bbry
                        last edited by

                        I just installed this and all i get is “LOADING…”

                        1 Reply Last reply Reply Quote 0
                        • O Offline
                          Officeglen
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • O Offline
                            Officeglen @yawns
                            last edited by

                            @yawns

                            …I am having a bit of a problem…would you mind helping me…I knew I should have left this alone… I did what you said, but I am getting the following when I run magicmirror

                            http://imgur.com/a/C0aDa

                            please help…I have just under a week till my brother’s birthday and this is my big surprise for him… If you need any more pictures of anything to diagnose let me know

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

                              @Officeglen after my lectures today, I could help to debug this via teamviewer and fix it in time for your brothers birthday

                              @bbry do you get any errors in the terminal or electron console?

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

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

                                @Officeglen I made a possible fix for the error we couldn’t reproduce. I’m assuming that this was due to an unexpected/unhandled behaviour of the api.

                                @chieftainSupreme I was looking for a free api a couple of weeks ago, but couldn’t find one.

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

                                1 Reply Last reply Reply Quote 1
                                • B Offline
                                  bbry @strawberry 3.141
                                  last edited by

                                  @strawberry-3.141 I got it working now. I removed the module from config.js, npm install(already was installed) in ~/MagicMirror/modules/MMM-NHL, then added the module.

                                  1 Reply Last reply Reply Quote 0
                                  • SexyTroggS Offline
                                    SexyTrogg @Officeglen
                                    last edited by

                                    @Officeglen Mine also does this. I’ve found that (at least in my case) its related to my internet connectivity. If I have MM loading up multiple modules that require the internet to update, while running my PC, tablet, cell phone, ps4 etc, that I get the infinite loading message. Can’t say its the same issue for yours, but Id guess that the module is loaded last, and times out therefore getting stuck on the ‘loading’ part. It hasn’t happened to me in quite some time, but my solution was to turn off a few devices, and to start the MM during off hours of NHL games. Now if I leave my MM on the module works just fine with updating scores and such

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

                                      @SexyTrogg when your failure is related to the internet connection, then loading shouldn’t be there forever, but should stop on the next reloadinterval, which is 30 minutes by default

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

                                      SexyTroggS 1 Reply Last reply Reply Quote 0
                                      • SexyTroggS Offline
                                        SexyTrogg @strawberry 3.141
                                        last edited by

                                        @strawberry-3.141 Makes sense to me. I am not sure then what has changed to make that loading message leave.

                                        1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          WayneStain
                                          last edited by

                                          The focus_on option appears to have a bug. When enabled the module doesn’t recognize the NHL season anymore, it shows up as “NHL UNDEFINED UNDEFINED” instead of Regular Season or Pre-Season.

                                          My config is as follows:

                                                      {
                                                              module: 'MMM-NHL',
                                                              position: 'top_left',
                                                                      config: {
                                                                              colored: false,
                                                                              reloadInterval: 900000,
                                                                              focus_on: ['PHI'],
                                                                              }
                                                      },
                                          

                                          Request: Could there be a way to maybe show a few days worth of past games, when following just one team and seeing one game it would be nice to have an option to show more on screen.

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

                                            @WayneStain are you running the newest version? the undefined for the season display should be fixed. it will display all matches of the team that the API returns

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

                                            W 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
                                            • 2 / 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