Read the statement by Michael Teeuw here.
Soccer Noob needs help!
-
Who can give me some advise?
I am making a MM form my daughter and her boy friend.
Boy friend would like to see some football standings: Eredivisie (Dutch) and Champions League.
I know nothing about football (soccer) so I put MagicMirror-FootballLeagues in their mirror.
It worked well for a few months but now it suddenly stopped.
I tried another API key, but that did not help.My question: what is the best (and easiest) module for my purpose?
MagicMirror-FootballLeagues
MMM-SoccerLiveScore
MMM-soccer
MMM-Soccer-Soccer Standings
Maybe there are even more ……………
I am a bit confused; please help!
Thanks in advance!
Peter -
Peter,
Personally I am using MMM-soccer for Eredivisie.
Champions League should be free too…
If needed can help you with the config. -
@evroom Thanks! I will give it a try!
Peter -
This is my config for de Eredivisie.
It shows the first 9 teams from the standings and focuses on one team.{ module: 'MMM-soccer', disabled: false, position: 'top_right', config: { api_key: 'your_api_key', colored: true, show: 'NETHERLANDS', focus_on: { "NETHERLANDS": "AFC Ajax", }, max_teams: 9, logos: true, leagues: { NETHERLANDS: 'DED', EUROPE: 'CL', } }There are no logos for de Eredivisie included, so you will have to collect them yourself.
They need to be placed under:/home/pi/MagicMirror/modules/MMM-soccer/public -
@Peter
I use MMM-SoccerLiveScore and it runs pretty smoothly …
https://youtu.be/5Cs3pCZamuM -
@evroom I copied your config, used my own API: unfortunately it does not work.
Who can help?
Peter -
}, // end of last module { // start of MMM-soccer module module: 'MMM-soccer', disabled: false, position: 'top_right', config: { api_key: 'your_api_key', colored: true, show: 'NETHERLANDS', focus_on: { "NETHERLANDS": "AFC Ajax", }, max_teams: 9, logos: true, leagues: { NETHERLANDS: 'DED', EUROPE: 'CL', } } }, // end of MMM-soccer module { // start of next module, if any.To check:
cd ~/MagicMirror; npm run config:check -
@evroom Module is running, but no teams visible …
Peter -
I have MMM-SoccerLiveScore running now and it is looking nice.
It has all logos present already and the table is already present (just listed on alphabetic order as one would expect pre round 1).
Give it a try.I now remember why I use(d) MMM-soccer.
MMM-SoccerLiveScore shows the scores by default and the standings can be turned off.
But I do not want to know the scores as it spoils watching Studio Sport and/or die Sportschau.
MMM-soccer just show the standings, nothing more (and even this spoils it some times).If MMM-SoccerLiveScore would have an option like “showScores: false”, it would be perfect.
-
@evroom
Have you tried this one?
https://github.com/GHLasse/MMM-FootballTable -
@thedoorsfanatic
No, I haven’t.
It looks a lot like MMM-soccer (code-wise, because there are no screenshots available), with the difference that it still uses v1, which probably will not work.
And I do not see the possibility for team-logos.Do you use it ?
Does it work ? -
@evroom
No, I use MMM-SoccerLiveScore myself and got it timed with MMM-ModuleScheduler so I don’t get spoiled before watching Sportschau ;) -
Interesting.
I do not use MMM-ModuleScheduler.
Could you give an example on how to configure it for MMM-SoccerLiveScore ?
Do you schedule it to NOT see it during a specific period, like Saturday from 15:30 to 20:00 ? -
I think I got it.
Perhaps there is a better way, because I do not understand show, hidden and dim very good.
I thought it would be easy to say “show from to”, “hide from to” or “dim from to”, but like this it seems to work:{ module: 'MMM-SoccerLiveScore', position: 'top_right', //header: 'Live-Scores', classes: 'scheduler', config: { module_schedule: [ {from: '45 22 * * *', to: '30 19 * * 6', dimLevel: '10'}, // dim Saturday from 19:30 to 22:45 {from: '00 20 * * *', to: '30 13 * * 7', dimLevel: '10'}, // dim Sunday from 13:30 to 20:00 // {from: '00 20 * * *', to: '30 15 * * 6', dimLevel: '10'}, // dim Saturday from 15:30 to 20:00 ], leagues: [37,], -
Nope, does not work.
An example would be nice. -
MMM-SoccerLiveScore worked out of the box!
But after a few hours the module stops.
Other modules keep going.
Any body know the solution?
Peter -
I do not have it running long enough to see this behaviour.
But, if you see this with
$ pm2 logs mm0|mm | (node:22849) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.Do this (line 37):
$ vi /home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js //var image = new Buffer(body).toString('base64'); var image = Buffer.from(body).toString('base64'); $ pm2 restart mmThen observe and pay attention to the pm2 logs.
-
Hi,
Just to say that MMM-SoccerLiveScore is running on my MM for 28 hours now.
@thedoorsfanatic
Still waiting for an example on hiding / dimming a module for a specific time on a specific day using MMM-SoccerLiveScore.
When you have time. -
@evroom
I am a beginner from Germany with bad English and I am not using dimLevel at all.
To show a module just at a certain time I put this in the config of a module:config: { module_schedule: {from: '30 6 * * 1-5', to: '45 7 * * 1-5' }, }shows a module only from 6.30 h to 7.45 from Monday to Friday.
Just use this to figure out what range you need:
https://crontab.guru/#30-59_6_*_*_1-5 -
@thedoorsfanatic said in Soccer Noob needs help!:
module_schedule:
that only works for this one module…not… MMM-ModuleScheduler appears to support showing/dimming or hiding modules based on time of day (cron style schedule)
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