Read the statement by Michael Teeuw here.
MMM-MyScoreboard
-
Hello everybody,
I’m having trouble with this module, are any of you using it?The following errors MM returns me:
[02.09.2022 10:52.55.068] [LOG] [MMM-MyScoreboard] 2-Sep-22 10:52 ** ERROR ** Couldn't retrieve ITA_SERIE_A data for provider ESPN: Error: getaddrinfo ENOTFOUND site.api.espn.com [02.09.2022 10:52.55.068] [LOG] [MMM-MyScoreboard] http://site.api.espn.com/apis/site/v2/sports/soccer/ita.1/scoreboard?dates=20220902&limit=200
Starting module: MMM-MyScoreboard MMM-MyScoreboard.js:560 All modules started! MMM-MyScoreboard.js:552 [MMM-MyScoreboard] Updating Scores module.js:195 MMM-MyScoreboard is suspended.
Below my configuration
{ module: "MMM-MyScoreboard", position: "top_right", classes: "default everyone", header: "My Scoreboard", config: { showLeagueSeparators: true, colored: true, viewStyle: "mediumLogos", sports: [ { league: "ITA_SERIE_A", //teams: ["JUV"] //label: "Seria A TIM 2022/23" } ] } },
Can you help me?
Thanks -
@Egnos looks like the provider changed their API. so the module will have to be changed
-
@sdetweil said in MMM-MyScoreboard:
looks like the provider changed their API. so the module will have to be changed
Hi @sdetweil
I understand. Do you know if the developer still maintains the module?Thanks
-
@Egnos no idea, go look at the GitHub site, post an issue.
-
@sdetweil said in MMM-MyScoreboard:
@Egnos no idea, go look at the GitHub site, post an issue.
I tried to do the recommended fix but nothing has changed.
https://github.com/jclarke0000/MMM-MyScoreboard/pull/61I opened a problem on GitHub as you advised me, I await an answer.
If someone had solved … give a whistle ;-)
-
@Egnos but that PR fixes the wrong provider… the espn provider is broken
the error u posted
data for provider ESPN: Error: getaddrinfo ENOTFOUND site.api.espn.com
that module is 5 years old… these providers change things every year…
-
@sdetweil ESPN sneezes and the data format changes. Not a reliable source.
-
@BKeyport said in MMM-MyScoreboard:
@sdetweil ESPN sneezes and the data format changes. Not a reliable source.
Hi @BKeyport do you know a valid alternative?
Thanks -
@Egnos sadly, no, i don’t. Gave up on scores on my mirror long ago.
-
Sorry folks that I haven’t been around to fix this. There URL for the ticker changed for the SportsNet provider. I’ll be publishing a fix in the cominn g days, but if you want to address it now, make a change in the file
providers/SNET.js
.Change line #122 from
var url = "https://d290qmen6zswb.cloudfront.net/ticker?day=" + this.gameDate.format("YYYY-MM-DD");
to
var url = "https://mobile-statsv2.sportsnet.ca/ticker?day=" + this.gameDate.format("YYYY-MM-DD");
This should get you back up and running until I publish the official fix.
- Jeff