Read the statement by Michael Teeuw here.
MMM-Soccer - Standings, Schedules and Top Scorers
-
@TheSwissGuy Grüezi Stephan,
I guess nearly all modules have this kind of issue, as there is only one node_helper for those 3 modules which is uesed by all 3 module instances. the node_helper sends back the data and all 3 listen on it which ends in the same league for every instance. I will see if i can find time to handle this issue.
-
@strawberry-3.141 hi. can you tell me why i have so old league table and it’s not updating?
-
@davidrq7 sry for the late reply must have missed this post.
Do you use the newest version? Did you set some old league codes in the config?
-
@strawberry-3.141 i guess i have latest version. League code is “ENGLAND”: 426. Is that wrong ?
-
@davidrq7 I installed the module and inserted the following config in my config.js file, which gives me the expected result of the current season.
{ module: 'MMM-soccer', position: 'bottom_right', config: { show: 'ENGLAND', max_teams: 5 } },
-
@strawberry-3.141 I checkd and i got old league code ;) now works fine ;) Thx for your time!
-
Hi all,
has anyone found a possibility to show just two teams of the same league?
I want to show just two teams of the german first division.
I tryed:config: { api_key: "XXXX", focus_on: {"GERMANY": "1. FC Köln","GERMANY": "FC Schalke 04"}, max_teams: 2 }
but then the focus is only on the second team.
Withconfig: { api_key: "XXXXX", focus_on: {"GERMANY": "1. FC Köln","FC Schalke 04"}, max_teams: 2 }
I get an config error.
It would be great if anyone knows a solution.
thanks and best regards,
jules -
@jules With the current code base this is not possible
-
@strawberry-3.141 thanks for your fast reply. Do you think its a possibility to copy the whole MMM-soccer module, and build a version that just shows the team without the league and gameday information, than npm rebuild. and use this module directly under the original module, to just show the second team.
Hope you get what i mean :laughing:
-
@jules because the teams are in the same league, you can just copy your config entry and place in the other team in focus_on. Then you have to create some css rules in custom.css to hide the header and so on