Read the statement by Michael Teeuw here.
NFL Score Module
-
@ooom416354 said in NFL Score Module:
@strawberry-3.141 Hi, just curious, is there a way to show only one particular team? I tried adding a team to the focus_on array but I then returned no rows back.
Thanks in advance!
This is an my config… it works :)
{
module: ‘MMM-NFL’,
position: ‘bottom_bar’,
config: {
colored: true,
helmets: false,
reloadInterval: 10000,
focus_on: [‘DAL’]
}
}Don’t forget to put team or teams in the 'focus_on: just as I have it… in brackets and in single quotes.
-
@cowboysdude Thanks!!!
-
I got a problem: Every second its switching between Regular-Season 2016 and Post-Season 2015?
I´ve updated already but still the same problem. Here is my config:
{ module: 'MMM-NFL', position: 'top_left', config: { colored: 'true', focus_on: ['NE', 'SEA', 'PHI', 'NYG', 'DAL'], } },Any help on that?
-
@TheHyp3 thanks for reporting, I made a hotfix for it. I’m not sure how the data will look like when we are in the post season, so it could happen again.
your config has some syntax errors. you shouldn’t put a boolean into quotes. in javascript it will allways lead to true, so if you would have done
colored: 'false'it would have been colored as well. -
@strawberry-3.141 its working now. Thanks again ;)
Also fixed my config! -
Fixed not changing to post season and added icons for TBD
[card:fewieden/MMM-NFL]
-
@strawberry-3.141 has there been any movement on this? I’ve been dying for an NBA module but can’t find a basketball API, and I’m pretty new to the scene to begin with. I’d love to collaborate with someone on this, if there’s interest.
-
@chieftainSupreme sorry I have no time in the next month to do any requests, but i saw that someone forked my repository and trys to change it for nba. check it out maybe you can help him https://github.com/in-a-days/MMM-NBA/
-
@strawberry-3.141 @chieftainSupreme
I am playing around with this - but I’m also just barely qualified to write code!
I’m gutting out most the higher level functions like stats and voice support, trying to just get correct scores to display. Biggest problem so far is I can not find an easy to parse score feed. This NFL feed is perfect.
-
@in_a_days I’ve been having trouble finding an NBA feed as well, I’ll keep looking and let you know if I find anything
-
Found this today. It’s not nearly as elegant as the NFL xml file, but it should technically be parsable.
-
So it’s been over 15 years since I’ve done much coding. My background is in C++ and I ran a few Python tutorials when I first got my Pi.
I’m writing a parser for this NBA score feed and it just occurred to me that I don’t know how to integrate a python script into Magic Mirror. I’ve made some good progress, but is there any sense continuing? Will I be able to easily port this to JS or will Magic Mirror know what to do with the .py file, or am I going to need to start over?
-
@in_a_days check out this python shell module https://github.com/paviro/MMM-Facial-Recognition/blob/master/node_helper.js#L11
-
I’ve completed an ugly parser for this NBA data. I have a python program that stores and prints a list of home teams, away teams, scores, and event times. Can anybody help me with passing these variables into the existing NFL module framework?

-
@in_a_days I suggest to move this into the development section and a new thread for nba
Help: you can run the python script in from inside the node_helper and read the output, then send the data to your module with a socket notification
-
Thank you again for the help. I’ve opened a new thread here:
https://forum.magicmirror.builders/topic/1431/mmm-nba-nba-scores-module
-
Fixed issues reported (shows
NFL undefined 2017)[card:fewieden/MMM-NFL]
-
Is anyone having a problem getting the Preseason 2018 to display? If I reboot my MM, it will say, Preseason 2018, but the final week of the 2017 regular season will display. Any suggestions?
-
@achilles said in NFL Score Module:
Is anyone having a problem getting the Preseason 2018 to display? If I reboot my MM, it will say, Preseason 2018, but the final week of the 2017 regular season will display. Any suggestions?
I’m on vacation for a while, please create a github issue if you need help, so I can keep track
Here’s where you do it :)
https://github.com/fewieden/MMM-NFL/issues
But looking at the code real quick it’s not set up for preseason …regular and playoffs only. The NFL only offers those two options for data.
-
Thanks cowboysdude!
If it isnt set up for Preseason, than that would make sense. Regular season, here I come!
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