Read the statement by Michael Teeuw here.
MMM-Soccer - Standings, Schedules and Top Scorers
-
Today the European Championship will kickoff :flexed_biceps: :soccer_ball:
I’m currently working on version 3 of this module. It will be possible to not only display the standings of a league but also get the schedules and top scorers displayed in a carousel.
On top of that, the module will finally support cups such as the European Championship, Champions League, and World Cup.
If you want to test the beta for tonight’s kickoff, then head over to Github https://github.com/fewieden/MMM-soccer/pull/42 for all details.
If you find any issues or need help, please report them here https://github.com/fewieden/MMM-soccer/pull/42 so they are all grouped together.
-
Fixed the standings for the ongoing European Championship. Schedules are now filtered by the current matchday.
Check out https://github.com/fewieden/MMM-soccer/pull/42 to test v3 of the module.
-
thanks for the new version, it’s really great. Great new features.
However, i have Problem to install the leatest version with „schedules fix“. Unfortunately I am not so familiar with git. Is there a new branch available or have to use „feature/extract-api-provider"?
-
@babene1 it is the same branch. You can check which branch you are currently using with
git status
.On branch feature/extract-api-provider Your branch is up to date with 'origin/feature/extract-api-provider'.
To update to the latest commit you can simply run
git pull
, as no dependencies have changed. -
my branch is up to date
but my result is this screen
this is my modul-config:
{ module: 'MMM-soccer', position: 'top_right', config: { colored: true, logos: true, rotationInterval: 20 * 1000, // 20 seconds instead of 15 (default) provider: { 'football-data': { apiKey: 'API Keay' // Replace with your API key } }, competitions: [ { code: 'EC', // European championship standings: { provider: 'football-data', focusOn: 'GER', // Germany maxEntries: 5 }, schedules: { provider: 'football-data', maxEntries: 7 } }, ] } },
should not only display the current matchday?
-
@babene1 schedules wasn’t optimized yet for no
focusOn
team specified.Run
git pull
to get the latest commit. -
@strawberry-3-141 Really great work man!
-
@strawberry-3-141
Nice work 👍🏻Is ist possible to add a config value that it shows only the top scorer?
Another idea is that the module shows the Player List from the focussed Team with some stats (played Games, goals, assists, cards,…),
-
@matze86 I’m not exactly sure what you want. Do you want to show only one single player or only the top scorer view?
-
Hello
Successfully installed a Smart Mirror. All went with some struggles but I managed to make it go then improve step by step to my goal…
With the initial MMM-soccer installed, an API key and all perfectly working, I tried to install the branch 42 following the commands you shared… git to extract-api-provider
cd ~/MagicMirror/modules/MMM-soccer git fetch git checkout feature/extract-api-provider git pull npm i --production
While all was good with inital version once updated to v3, I can see the caroussel but it’s empty either if I use the default configuration here
Module loaded corretly but there seems to be no data when the caroussel switches. Bellow shows a message “No data available”.
pi@smartmirror:~/MagicMirror/modules/MMM-soccer $ git pull Déjà à jour. pi@smartmirror:~/MagicMirror/modules/MMM-soccer $ git status Sur la branche feature/extract-api-provider Votre branche est à jour avec 'origin/feature/extract-api-provider'. Modifications qui ne seront pas validées : (utilisez "git add <fichier>..." pour mettre à jour ce qui sera validé) (utilisez "git checkout -- <fichier>..." pour annuler les modifications dans la copie de travail) modifié : package-lock.json aucune modification n'a été ajoutée à la validation (utilisez "git add" ou "git commit -a")
In my global config, the locale is set to ‘fr-FR’ and … again, my configuration is the one here . I tried as well with [Babene’s config] removing any other module… (https://forum.magicmirror.builders/post/92126) :
modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: 'MMM-soccer', position: 'top_right', config: { colored: true, logos: true, rotationInterval: 20 * 1000, // 20 seconds instead of 15 (default) provider: { 'football-data': { apiKey: 'xxxxx' // Replace with your API key } }, competitions: [ { code: 'EC', // European championship standings: { provider: 'football-data', focusOn: 'GER', // Germany maxEntries: 5 }, schedules: { provider: 'football-data', maxEntries: 7 } }, ] } }, ]
But nothing comes… looks like my API Key is maybe not working for v3 ? It was perfectly working with initial version though
Would you have any suggestion in order to make it work ?