Read the statement by Michael Teeuw here.
MMM-Soccer - Standings, Schedules and Top Scorers
-
@strawberry-3-141 said in MMM-Soccer - Standings, Schedules and Top Scorers:
@matze86 I’m not exactly sure what you want. Do you want to show only one single player or only the top scorer view?
I want to Show the top 10 scorer of the league for example
-
@pikasso I just started the module with your config and got data.
Do you have any errors in the logs?
-
@matze86 this is already possible, see example config:
{ module: 'MMM-soccer', position: 'top_right', config: { provider: { 'football-data': { apiKey: 'XXX' } }, competitions: [ { code: 'BL1', scorers: { provider: 'football-data', maxEntries: 5 } }, ] } }
-
Does this still work?
Getting “Loading…”Config:
{ module: 'MMM-soccer', position: 'bottom_right', config: { show: 'ENGLAND', max_teams: 5 } },
-
Ich hab die einfache Konfig verwendet:
{ module: 'MMM-soccer', position: 'top_right', config: { provider: { 'football-data': { apiKey: 'XXX' } }, competitions: [ { code: 'BL1', scorers: { provider: 'football-data', maxEntries: 5 } }, ] } }
I have this error:
[ERROR] [MMM-soccer]: SoccerError: FETCHING_SCORERS
at Object.fetchScorers (/home/pi/MagicMirror/modules/MMM-soccer/provider/football-data/provider.js:110:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Class.createSingleRequest (/home/pi/MagicMirror/modules/MMM-soccer/node_helper.js:86:30)
at async Promise.all (index 0)
at async Class.makeRequests (/home/pi/MagicMirror/modules/MMM-soccer/node_helper.js:97:27) {
competition: ‘BL1’,
provider: ‘football-data’
} -
@Babene1 @Kongledyret
I am using this config, and it works fine. Make sure to do a git pull if you haven’t already.{ module: 'MMM-soccer', position: 'top_left', config: { show: ['PL', 'PD'], showMatches: false, api_key: 'goes here', logos: true, colored: true, updateInterval: 40, liveMode: false, } },
Just to make sure we’re talking about the same thing, this is the one I’m using:
https://github.com/lavolp3/MMM-soccer