• 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-NHL - NHL Score and Schedule module

Scheduled Pinned Locked Moved Sport
26 Posts 14 Posters 16.6k Views 13 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
    ooom416354 @ooom416354
    last edited by Jan 11, 2019, 2:44 AM

    @ooom416354 said in MMM-NHL - NHL Score and Schedule module:

    I have a small issue with the module, wondering if it’s something I screwed up. Basically it will refresh with the realtime scores for any games listed on the mirror. But after the game ends it will not add on any new scores and remove the old scores as the days move forward. for example, I have focus on the NY Islanders and they played Saturday, Sunday and Tuesday. They are scheduled to play tonight as well. On my mirror right now are the 3 previous games but not the next 3. If I reload the entire page it will update with tonights game and any future ones. Is there something I need to do to get it to update automatically without having to refresh the whole mirror?

    Hi, I am having this issue again where if I refresh the mirror myself, it will update otherwise it stays static. The scores change but it doesnt retrieve the future games. @Trentent is there anything I can do ?

    1 Reply Last reply Reply Quote 0
    • S Offline
      Sasouter
      last edited by Feb 13, 2019, 2:36 AM

      @j-e-f-f Hi. Could I get a copy of your updated NHL files?
      Thanks
      @sasouter

      J 1 Reply Last reply Feb 13, 2019, 8:12 AM Reply Quote 0
      • C Offline
        cowboysdude Module Developer
        last edited by Feb 13, 2019, 3:32 AM

        What’s really funny about the NHL as opposed to all the other sports is that modules fail for some reason …mine did also but I haven’t had time to fix it…

        1 Reply Last reply Reply Quote 0
        • J Offline
          j.e.f.f Project Sponsor Module Developer @Sasouter
          last edited by Feb 13, 2019, 8:12 AM

          @sasouter said in MMM-NHL - NHL Score and Schedule module:

          @j-e-f-f Hi. Could I get a copy of your updated NHL files?
          Thanks
          @sasouter

          I don’t have them anymore. I’ve made my own sports module called MMM-MyScoreboard that looks like what I’ve done here.

          1 Reply Last reply Reply Quote 0
          • S Offline
            stephenmelody
            last edited by Jan 3, 2020, 2:42 AM

            I don’t know if this should be on this module thread or the core system thread, I’ve just updated to the latest version and now this module pulses on the screen every second as it polls the nhl api. It didn’t do this prior to me upgrading yesterday, it would just be static and the score would update.

            Is this something that is easily fixed? None of my other modules seem to have this issue but non are polling data so regularly.

            Any clues?! Thanks!!

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by Jun 1, 2024, 9:23 AM

              Dear all,

              is anybody still using this module? After installing on a blank MagicMirror installation (Pi4, installation script from SDetweil, nothing else) it comes up with error:

              [ERROR] (node:45285) UnhandledPromiseRejectionWarning: Error [ERR_REQUIRE_ESM]: require() of ES Module /home/nico/node_modules/node-fetch/src/index.js from /home/nico/MagicMirror/modules/MMM-NHL/node_helper.js not supported.
              Instead change the require of index.js in /home/nico/MagicMirror/modules/MMM-NHL/node_helper.js to a dynamic import() which is available in all CommonJS modules.
                  at c._load (node:electron/js2c/node_init:2:13672)
                  at Object.<anonymous> (/home/nico/MagicMirror/modules/MMM-NHL/node_helper.js:16:15)
                  at c._load (node:electron/js2c/node_init:2:13672)
                  at loadModule (/home/nico/MagicMirror/js/app.js:183:19)
                  at loadModules (/home/nico/MagicMirror/js/app.js:213:10)
                  at async App.start (/home/nico/MagicMirror/js/app.js:261:3)
              (Use `electron --trace-warnings ...` to show where the warning was created)
              [2024-06-01 11:13:55.699] [ERROR] (node:45285) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
              

              It’s a nice little module with great benefits for NHL fans, Since it’s been a while, that fewieden has developed it, it might be out of date. It’s a pity to see that it no longer works.
              Any ideas to bring it back to life?

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 3
              • 3 / 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