Read the statement by Michael Teeuw here.
MMM-SoccerLiveScore
-
Description:
Hey guys,
here is my new module called ‘MMM-SoccerLiveScore’.It displays live scores of your favorite soccer leagues and competitions. If you want to have more than 1 league displayed the module automatically switches between the leagues. It also takes care of the update-interval. If there’s a game running it will update the standings more often. The standings of running games are displayed in red. You can choose weather you want to display the names or logos of the teams - or both =)
I hope you’ll enjoy it!Screenshots:


Download:
[card:LukeSkywalker92/MMM-SoccerLiveScore]
Initial Version
Update 1
- added tables and an option
-
Maybe someone could give me some feedback if it’s running on the raspberry pi, because right now i don’t have one here to check it.
Thanks -
Here are some features I want to implement in the future if theres interest:
- only show scores when there is a match running
- goal notifications
Do you have more ideas?
-
That looks like a really cool module. I’ll give this a try this weekend.
About suggestions, maybe show the goalscores and goal times.
If a match is still going on, display how long the game has been on for. Somewhat like livescore. -
@LukeCodewalker said in MMM-SoccerLiveScore:
Here are some features I want to implement in the future if theres interest:
- only show scores when there is a match running
- goal notifications
Do you have more ideas?
I am really interested in the module and your plan to develop it as mentioned in the quote.
What will the module show if there aren’t any livegames in my chosen leagues/cups? The results of the last matches? The soccer table?
Thanks for your work!
-
Great module @LukeCodewalker, works perfectly for me, thank you. Would it be possible to get the league/cup name to show as the ‘header’ like it does in MMM-soccer? That would make them match nicely on my mirror!
-
@tismepaulo thank you. it’s that way now. just update the module.
-
@nem1 said in MMM-SoccerLiveScore:
@LukeCodewalker said in MMM-SoccerLiveScore:
Here are some features I want to implement in the future if theres interest:
- only show scores when there is a match running
- goal notifications
Do you have more ideas?
I am really interested in the module and your plan to develop it as mentioned in the quote.
What will the module show if there aren’t any livegames in my chosen leagues/cups? The results of the last matches? The soccer table?
Thanks for your work!
Right now it show’s the result of the last matches or the upcoming matches. depends on which of them are closer. Tables would be possible but what would you do with a cup without a table?
I thought of just hiding the module when there’s no match running in the moment. -
@LukeCodewalker
I don´t think that it´s a good idea to hide the module if there is no running match. I would welcome it, if for a league the table is shown and for a cup the version with the last/upcoming matches.What do you think about a “Live Table” during the matches as a rotation between scores and table? Of course only for leagues.
-
@LukeCodewalker awesome, thanks!
-
@d3r said in MMM-SoccerLiveScore:
That looks like a really cool module. I’ll give this a try this weekend.
About suggestions, maybe show the goalscores and goal times.
If a match is still going on, display how long the game has been on for. Somewhat like livescore.Don’t you think that this would use too much space?
-
Nice module! Thanks for the developement.I already tested it - works nearly perfect! But as I mentioned, it would be great if the table would be displayed too, if there are not running matches!
-
@nem1 thanks for the feedback =)
implementing the tables will be no problem, but i don’t think i will find time before christmas. but i think the holidays will be perfect to do it =) -
@LukeCodewalker
Nice, I am really looking forward to this! :) -
So i finally implemented tables showing between scores.
Heres a small preview how the tables look like:

The tables will be shown only if the league has a table.To get the feature just update the module with
git pull.
If you want to disable tables just addshowTables: falseto the module-config.
Hope you’ll enjoy it!
-
@LukeCodewalker
Hi!
Yet another NOOB needing help; I hope you don’t mind?!Let me first say a massive thanx for great work!! This is just such a neat app for any soccer enthusiast. Our mirror is setup in the workplace and there are several enthusiasts that enjoy the live posting of results.
The sad news, it has now stopped working!
It just displays Live Scores, and that’s it.
Because the mirror is a work in progress, we often load/test new modules, so I gues somewhere a dependancy has broken.
But I am not a developer!!
I’ve updated nodejs to v7.5.0, but no go.
Can you possibly submit a chronological set of steps I might follow to determine what has died?
As I have not changed the soccer module reference in the config.js, I doubt that is what is wrong, but I’ll list it all the same:
/* Magic Mirror - Team Iron Man
*
*/var config = {
port: 8080,
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”],language: 'en', timeFormat: 24, units: 'metric', modules: [ { module: 'alert', }, { module: "updatenotification", position: "top_bar" }, { module: 'clock', position: 'top_left' }, { module: 'calendar', header: 'South African Holidays', position: 'top_left', config: { calendars: [ { symbol: 'calendar-check-o ', url: 'http://www.kayaposoft.com/enrico/ics/v1.0?country=zaf&fromDate=01-01-2017&toDate=31-12-2017' } ] } }, { module: 'compliments', position: 'lower_third' }, { module: 'currentweather', position: 'top_right', config: { location: 'Cape Town', locationID: 3369157, appid: '325d7446836769aeb5e5e9d24e0209bf' } }, { module: 'weatherforecast', position: 'top_right', header: 'Weather Forecast', config: { location: 'Cape Town', locationID: 3369157, appid: '325d7446836769aeb5e5e9d24e0209bf' } }, { module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: 'Motivation', url: 'http://fees.feedburner.com/brainyquote/QUOTEBR' }, { title: 'South Africa', url: 'http://feeds.news24.com/articles/news24/SouthAfrica/rss' }, { title: 'Sports', url: 'http://feeds.24.com/articles/sport/featured/topstories/rss' }, { title: 'Top Stories', url: 'http://feeds.news24.com/articles/News24/World/rss' }, { title: 'World', url: 'http://feeds.news24.com/articles/News24/World/rss' }, { title: 'SciTech', url: 'http://feeds.news24.com/articles/Fin24/Tech/rss' } ], showSourceTitle: true, showPublishDate: true } }, { module: 'MMM-SoccerLiveScore', position: 'top_right', header: 'Live-Scores', config: { leagues: [17], showNames: true, showLogos: false, displayTime: 60 * 1000, showTables: true } }]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== ‘undefined’) {module.exports = config;}Thanx for any help!!
-
@djbosman
Hey,
first of all I’m happy that you enjoy the module. I hope you find some time to work during games :smirk:.I tried to reproduce your problem but was not successful. Can you check your console output for any errors (server and web console)? If you need help for doing that, let me know.
-
Hey guys,
thanks for your reply djbosman.
I think the problem you mentioned is caused by an error in the API.Well in fact I’m getting the same one.
djbosman:
Can u start the mirror over console, navigating to the directory of MagicMirror and typing ‘npm start dev’?
The mirror should show up with a dev-tool on the right.
Look whether there is some red colored text.If so:
post it here.If not:
press CTRL+Q to stop the mirror.
In the console look out for errors. If I’m right then you should see something like "… unexpected character in JSON … ". That error will be helpful. Try copy and paste it here. (Mark the text, right click, copy).Thanks for your help!
-
Hey there again,
i tried to reproduce the error.
Sometimes it occurs, sometimes not. I didn’t really find a reason.This is what the server says:
Whoops! There was an uncaught exception…
SyntaxError: Unexpected token u in JSON at position 0
at Request._callback (/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js:188:29)
at self.callback (/home/pi/MagicMirror/node_modules/request/request.js:186:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (/home/pi/MagicMirror/node_modules/request/request.js:845:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (_http_client.js:308:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)Hope it helps!
-
No errors I could detect in Dev Tool (A bit like a passenger checking a Jet Engine that’s malfunctioning!)
From the console:Starting MagicMirror: v2.1.0 Loading config ... Loading module helpers ... No helper found for module: alert. No helper found for module: MMM-SimpleLogo. Initializing new module helper ... No helper found for module: clock. Initializing new module helper ... No helper found for module: compliments. No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... Initializing new module helper ... All module helpers loaded. Starting server op port 8080 ... Server started ... Connecting socket for: updatenotification Connecting socket for: calendar Starting node helper for: calendar Connecting socket for: newsfeed Starting module: newsfeed Connecting socket for: MMM-SoccerLiveScore MMM-SoccerLiveScore helper started... Sockets connected & modules started ... Launching application. Create new calendar fetcher for url: http://www.kayaposoft.com/enrico/ics/v1.0?country=zaf&fromDate=01-01-2017&toDate=31-12-2017 - Interval: 300000 Create new news fetcher for url: http://feeds.news24.com/articles/news24/SouthAfrica/rss - Interval: 300000 Create new news fetcher for url: http://feeds.24.com/articles/sport/featured/topstories/rss - Interval: 300000 Create new news fetcher for url: http://feeds.news24.com/articles/News24/World/rss - Interval: 300000 Use existing news fetcher for url: http://feeds.news24.com/articles/News24/World/rss Create new news fetcher for url: http://feeds.news24.com/articles/Fin24/Tech/rss - Interval: 300000 error: Unable to append to .git/logs/refs/remotes/origin/develop: Permission denied From https://github.com/MichMich/MagicMirror ! 57ea2ac..fd738e5 develop -> origin/develop (unable to update local ref) pi@raspberrypi3:~/MagicMirror $ pm2 stop mmAny clue from above?
Thanx!
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