A few weeks more to go, but the magic mirror module is already here for you: https://github.com/0m4r/MMM-euro2024!

A few weeks more to go, but the magic mirror module is already here for you: https://github.com/0m4r/MMM-euro2024!

The module has been released with its newly delivered version 4.0:
https://github.com/0m4r/MMM-SoccerLiveScore
Please note that you need to obtain an API key from https://www.football-data.org/pricing (a free plan is also available)
Updated today to the new “hafas-client” code, try it out here
@cowboysdude technically it is based on Chromium (https://www.chromium.org/).
I have forked the repository and fixed a few bugs as I noticed it is not maintained for 4 years. I have now reduced the numbers of API calls needed to fetch the team logos (that are now directly obtained by the HTML code) and reduced the number of API calls to fetch the table and the scores.
The table APIs does not include a “refresh” time (as they maybe did return times ago) and this causes an infinite number of call to it.
The forked repo is here: https://github.com/0m4r/MMM-SoccerLiveScore
I have not made a PR as I d believe the original one is abandoned.
Good news! I have updated the module to swap the data provider to a new one (that seems to be more reliable and provides the most recent available data and, some additional ones too!)
The changes are still on a development branch, so if you are interested in trying them out you can do the following (assuming you are in your Magic Mirror module folder for MMM-covid19):
git fetch -p
git checkout feat/new-api-corona-lmao-ninja
git pull -r
npm install
the configuration does not require any update, but a few settings are now obsolete and not used, this is how the new configuration settings could be looking like:
countryCodes: ["DE", "IT", "US", "NZ", "UK", "FR", "IN", "ES", "BG", "GR"],
useScheduler: true,
schedulerConfig: '0 0 */1 * * */1', // update every hour, every day
updateInterval: 0.5 * 60 * 1000, // update every 30 seconds, only used if useScheduler: false
and here is a screenshot:

and here is the GitHub repo:
https://github.com/0m4r/MMM-covid19/tree/feat/new-api-corona-lmao-ninja
Is there any plan to migrate away from “request” and “moment”?
https://github.com/request/request/issues/3142
https://github.com/moment/moment#project-status
Thanks :)
I have just released a new version on the master branch of my own fork of this module, it is available here: https://github.com/0m4r/MMM-SoccerLiveScore.
There are a lot of code cleanups, refactoring, and improvements.
There are also a few new features:
As a plus, as it was reported to me already before, the logo of Juventus is not visible! (@Egnos this is for you!)



@KristjanESPERANTO thank you!
…and apologies for missing the whole discussion, I have updated my preferences to get e-mails when someone mentions me :)
[edited]
Apologies. I read it quickly and did not get you were adv your own module.
The module has been released with its newly delivered version 4.0:
https://github.com/0m4r/MMM-SoccerLiveScore
Please note that you need to obtain an API key from https://www.football-data.org/pricing (a free plan is also available)
Please find here the instruction to setup the beta version: https://forum.magicmirror.builders/topic/1169/mmm-soccerlivescore/186?_=1728826313050
IMPORTANT UPDATE:
Following the unavailability of the API used by this module, a new version is under development and available for beta testing.
If you are interested in trying it out, please follow the steps (they assume you are in the MMM-SoccerLiveScore folder):
> git checkout beta
> git pull -r
> npm ci
update the configuration as follows:
{
token: "TOKEN",
leagues: [LEAGUE_ID_1, LEAGUE_ID_2],
displayTime: 1 * 60 * 1000, // 1 minute
requestInterval: 10 * 60 * 1000, // 10 minutes
showNames: true,
showLogos: true,
showStandings: true,
showTables: true,
showScorers: true,
}
You must obtain the TOKEN from https://www.football-data.org/pricing (there is a free plan too!).
The list of available leagues you can add to the configuration depends on your subscription plan, the full list of leagues is available here: https://docs.football-data.org/general/v4/lookup_tables.html#_league_codes (you need the competitionId)
@leafarenuk I replied to you on Git Hub a week ago or so.
As I have not heard back from you since then, I assume the problem is resolved.
If not, feel free to get in touch again.
@robiv8 try with this:
{
disabled: false,
module: "MMM-euro2024",
position: "center",
header: "Euro 2024",
config: {
updateInterval: 60 * 1000,
token: "b1e67..myToken..67c8c5",
}
},
@robiv8 I think your configuration is wrong.
Is the token wrapped into quotes?
{
disabled: false,
module: 'MMM-euro2024',
position: 'center',
header: 'Euro 2024',
config: {
updateInterval: 60 * 1000,
token: "M4g1cM1rr0r"
}
},
Updated today to the new “hafas-client” code, try it out here