Read the statement by Michael Teeuw here.
MMM-NHL - NHL Score and Schedule module
-
Hey guys,
I have installed MMM-NHL in modules and edited my config.js file which shows the modules on my MagicMirror. However, I cannot see the schedule list, there are games on tonight. Any suggestions?
-
Did you maybe skip installing the dependencies? Navagate to the modules/MMM-NHL folder and
sudo npm install
Restart your mirror and you should have scores.
-
@HungoverRex remove the quotes from your booleans, this should be the problem.
{ module:"MMM-NHL", position: "lower_third", config: { colored: false, focus_on: false, format: "ddd h:mm", reloadInterval: 1800000, datesToLookAhead: 1 } }
-
This is an awesome module! Thanks for the work.
One question for you. I’ve got it set to focus on my team. However, it only shows the previous game if it occurred yesterday. Is it possible to change this so it pulls the previous two or three days’ worth of games?
For example: the Dallas Stars played on Saturday. They had an off-day Sunday, and it is now Monday. Yet it does now show Saturday’s game. I’ve looked at the .js file and nothing jumps out at me. Any ideas?
Thanks again!
-
getting “Loading” on my screen. Any ideas of what i am missing? @Trentent
{
module: ‘MMM-NHL’,
position: ‘middle_center’,
config: {
colored: false,
focus_on: false,
format: ‘ddd h:mm’,
reloadInterval: 1800000,
datesToLookAhead: 1
}
}, -
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?
-
@ooom416354 I am having this exact issue now as well. It began last week. If I refresh the mirror the scores/schedule updates, but otherwise it does not.
-
I’ve been playing with this module during the playoffs, and I’ve found a few bugs that were causing this module to fail. I’ve fixed them in my local copy, but I don’t know how to go about getting them incorporated into the official download.
I’ve also changed the visual formatting for myself, and am willing to share if anyone wants it:
Thanks for this wonderful module! Been fun watching the playoffs and tweaking this at the same time. I’d like to make similar ones for other sports – NBA, MLB, CFL – and I’m willing to provide front-end formatting if someone would take care of coding the data fetch.
- Jeff
-
@j.e.f.f I’d love to get a copy of your fixes and visual tweaks! Maybe upload the .zip somewhere and share?
-
@reflektor Sure. I’ve done more or less the same for MLB and NBA too. Basically in each case it is a rewrite of the getDom() portion of the module, along with styles to support the new markup. Also I changed the logos to use SVG files so they would scale to whatever size I needed. Spent quite a bit of time playing around with proportions before I settled on this. PM me and I can send you the files.