Read the statement by Michael Teeuw here.
MMM-Soccer - Standings, Schedules and Top Scorers
-
Hi MMM-soccer users,
Perhaps some of you experience the same issue as me and the Magic Mirror shows “Loading”.
The problem most likely it is caused due to the fact that round 1 for most competitions still needs to be played.
For example for de Eredivisie I get this using a test script:Response:\n{"filters":{},"competition":{"id":2003,"area":{"id":2163,"name":"Netherlands"},"name":"Eredivisie","code":"DED","plan":"TIER_ONE","lastUpdated":"2019-05-28T23:44:43Z"},"season":{"id":481,"startDate":"2019-08-09","endDate":"2020-05-25","currentMatchday":1,"winner":null},"standings":[]}
As the standings array is empty, the module is struggling.
Perhaps better if it would show “No standings available” in this case, but for the moment is will show what it shows.I have sent a mail to the football-org developer, if it would be possible to send a round 0 standing / table, with the clubs in alphabetic order.
-
Version 2.0.1
Added
- French translations (Thanks to https://github.com/laventin85)
Changed
- Readme config example
- Github config files
https://github.com/fewieden/MMM-soccer
[card:fewieden/MMM-soccer]
-
Version 2.1.0
Requires version >= 2.14 of MagicMirror!
Added
- Integrated MMM-Modal
Changed
- Using remote logos
- Preview pictures
Fixed
- Fade effect
- Focus_on in modal highlights correct team
- Help modal shows correct voice commands
Removed
- Logo downloader
- Doclet integration
https://github.com/fewieden/MMM-soccer
[card:fewieden/MMM-soccer]
-
Hi,
I tried the module but on the MM I don’t see anything.My config.js
{ module: 'MMM-soccer', position: 'bottom_right', disabled: false, config: { api_key: false, colored: true, show: 'ITALY', focus_on: false, logos: true, max_teams: false, leagues: {ITALY: 'SA'}, } },
MM output:
pi@MagicMirror:~/MagicMirror $ npm start > magicmirror@2.10.1 start /home/pi/MagicMirror > ./run-start.sh [02:57:33.259] [LOG] Starting MagicMirror: v2.10.1 [02:57:33.272] [LOG] Loading config ... [02:57:33.282] [LOG] Loading module helpers ... [02:57:33.286] [LOG] No helper found for module: alert. [02:57:33.382] [LOG] Initializing new module helper ... [02:57:33.384] [LOG] Module helper loaded: updatenotification [02:57:33.386] [LOG] No helper found for module: clock. [02:57:34.112] [LOG] Initializing new module helper ... [02:57:34.113] [LOG] Module helper loaded: calendar [02:57:34.114] [LOG] No helper found for module: compliments. [02:57:34.115] [LOG] No helper found for module: currentweather. [02:57:34.122] [LOG] No helper found for module: weatherforecast. [02:57:34.176] [LOG] Initializing new module helper ... [02:57:34.177] [LOG] Module helper loaded: newsfeed [02:57:34.829] [LOG] Initializing new module helper ... [02:57:34.830] [LOG] Module helper loaded: MMM-soccer [02:57:34.831] [LOG] All module helpers loaded. [02:57:34.832] [LOG] Starting server on port 8080 ... [02:57:34.856] [LOG] Server started ... [02:57:34.858] [LOG] Connecting socket for: updatenotification [02:57:34.859] [LOG] Connecting socket for: calendar [02:57:34.860] [LOG] Starting node helper for: calendar [02:57:34.861] [LOG] Connecting socket for: newsfeed [02:57:34.862] [LOG] Starting module: newsfeed [02:57:34.863] [LOG] Connecting socket for: MMM-soccer [02:57:34.864] [LOG] Starting module: MMM-soccer [02:57:34.865] [LOG] Sockets connected & modules started ... [02:57:35.140] [LOG] Launching application. [02:57:38.216] [LOG] Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000 [02:57:38.364] [LOG] Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
Where am I wrong?
Can you help me?Thanks.
-
@Egnos Requires version >= 2.14 of MagicMirror!
[02:57:33.259] [LOG] Starting MagicMirror: v2.10.1
Your mirror is not up to date
-
@strawberry-3-141 ok thanks!
I have updated Magic Mirror to the latest version.
Now I only see “LOADING IN PROGRESS”, below the error:[ERROR] Getting league table: 403 Forbidden
Where am I wrong now?
Many Thanks.
-
@Egnos seeing your previous post with the config, your league probably requires a free API key.
-
@strawberry-3-141
The Italian Serie aA championship should be free. Also if I try to enter the site in the section of the Italian Serie A championship but I get this error:Are you sure the site works?
Many thanks.
-
@Egnos the module doesn’t make use of the site native-stats.org. You need to specify the api key in the config such as
api_key: 'YOUR_API_KEY',
. https://www.football-data.org/client/register -
@strawberry-3-141 with the Api Key works!
Thanks.