Read the statement by Michael Teeuw here.
MMM-soccer v2
-
@matze86 said in MMM-soccer v2:
Is it possible to add More columns to the table like this? Or to add up/down arrows? Or to add further Information like CL-Position/EL-Position and so on?
I added played games as a column just today . Up and down arrows are a good idea but I need to check if the API gives the most recent table. I don’t think so.
Good idea!
They positions (relegation, qualifications) is most probably not possible.
I’ll check. -
-
@matze86 said in MMM-soccer v2:
Great! I‘ll Update the Module soon
Maybe with a different colour for the Position?
So I checked the API output. Unfortunately we don’t have a reference for the recent table position.
"table": [{ "position": 1, "team": { "id": 5, "name": "FC Bayern München", "crestUrl": "https://crests.football-data.org/5.svg" }, "playedGames": 26, "form": "W,W,W,W,L", "won": 19, "draw": 4, "lost": 3, "points": 61, "goalsFor": 78, "goalsAgainst": 35, "goalDifference": 43 }, ...We would have to call the API again for the last matchday’s table, which consumes API calls.
I’m not sure if I want that.
I still very much like the idea however.Also, you can see there’s no reference to relegation or qualification ranks
-
Allright… Too Bad…
Here you can see my momentary Soccer Dashboard. I copied your module three times with different configs.
But i‘m Not statisfied with the Symbols of fontawesome. Are there other Styles possible?
I think the api also does Not give the Information about the time of Match? -
@matze86 said in MMM-soccer v2:
I think the api also does Not give the Information about the time of Match?
It does.
Usually APIs work with timestamps or date strings including date and time.
My module is set to only show the time at the day of match. It does not show date AND time due to limited space.if (match.status == "SCHEDULED" || match.status == "POSTPONED") { match.state = (moment(match.utcDate).diff(moment(), 'days') > 7) ? moment(match.utcDate).format("D.MM.") : (moment(match.utcDate).startOf('day') > moment()) ? moment(match.utcDate).format("dd") : moment(match.utcDate).format("LT"); -
thx. now i’ll come closer to a perfect overview :thumbs_up:
-
Hi @lavolp3 I downloaded your module from here:
https://bytemeta.vip/repo/lavolp3/MMM-soccerBut for some reason the results of the Champions League do not show the logos of the teams and also the results seem to me formatted badly.
Am I doing something wrong?
Follow a screenshot:

Here is the config.js:
{ module: 'MMM-soccer', position: 'top_right', config: { api_key: '2c709c5e9c9a491a88b810c43ae00f0e', show: ['SA'], colored: true, logos: true, updateInterval: 60, showTables: false, focus_on: { 'SA': 'FC Juventus' }, max_teams: 5, matchType: 'league' } }, { module: 'MMM-soccer', position: 'top_left', config: { api_key: '2c709c5e9c9a491a88b810c43ae00f0e', show: ['CL'], logos: true, colored: true, updateInterval: 60, focus_on: { 'CL': 'FC Juventus' }, max_teams: 5, matchType: 'league' } },Thanks.
-
Hello,
the same here with FL1 league.

-
Hello @lavolp3 !
Please don’t let this “module” die. You are the last.
You are Highlander !! :D -
@thymon thanks thymon for the wake up call. I am updating the module right now. Logos already work again. Stay tuned!
-
@thymon
please do a git pull and check out.
Hope it works!
Got a bit rusty on the programming after 3 years… -
Finally, you are not rusty.
Because everything works now.Thank you so much for your responsiveness!
Is-it possible to add “fr.json” translation ?
{ "LOADING": "Chargement...", "NO_DATA_AVAILABLE": "Aucune donnée disponible !", "NO_MATCHES": "Aucune correspondance", "TODAYS_MATCHES": "Aujourd'hui", "NEXT_MATCHES": "Prochains matchs", "MATCHDAY": "Jour de match", "TEAM": "Équipe", "COMMAND_LIST": "Liste de toutes les commandes vocales", "MODE": "Mode", "VOICE_COMMANDS": "Commandes vocales", "PLAY_OFF_ROUND": "Tour de barrages", "ROUND_OF_16": "Huitièmes de finale", "ROUND_OF_8": "Quarts de finale", "ROUND_OF_4": "Demi-finales", "FINAL": "Finales" } -
@thymon for sure it is, but will need a few days probably
-
@lavolp3 Great !
Thanks -
@lavolp3 is there a way to hide the league tables?
thanks
-
Hey @lavolp3,
thank you for the nice module. Is there a way to change the header from ‘MMM-Soccer’ to smth else? I’ve tried to set the header in the config.js but then I have two header. My one an the ‘MMM-Soccer’ header. THX
Edit: I found a way. It’s not the finest solution but it works. I changed the header in the ‘MMM-soccer.njk’ file.
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