Read the statement by Michael Teeuw here.
-
@Manu85 Hi. For me it shows the Top14 using apiSport just fine.
If you make changes to the config.js you have to restart MM in order for the changes to take effect. MM caches the config and a restart is required every time a change is made.
Can you confirm that you have restarted you MM after making the changes to the config.js?
You also seem to have 2x rotateInterval in the config. You only require one.
I would also suggest adding and leaving the autoUpdate to the config as shown in the samples.
-
@mumblebaj I restarted MM and also the PI I reset config.js, tell me if I made a mistake please?
{ module: "MMM-Rugby", //https://github.com/mumblebaj/MMM-Rugby/tree/main position: "top_right", disabled: false, config: { updateInterval: 1000*60*60, autoUpdate: true, rotateInterval: 60000, rankingLimit: 14, matchesLimit: 10, matchesOlderThan: 7, collectionType: "apiSport", // api-key required apiSports: { apiSportStandingLeagueId: 16, //16=top 14 apiSportKey: "91d1ae3cdbxxxxxxxxxx", apiSportTZ: "Europe/Paris", numberofGamesToDisplay: 10, apiSportsNumRankings: 14, apiSportDaysPast: 7, apiSportsDaysFuture: 14 } } },
-
@Manu85 Your config looks fine to me. This is the config I used and it works fine for me.
{ module: "MMM-Rugby", position: "top_right", disabled: false, config: { updateInterval: 1000*60*30, autoUpdate: true, rotateInterval: 30000, sport: "mru", rankingLimit: 10, matchesLimit: 10, matchesOlderThan: 20, collectionType: "apiSport", competitions: ["Six Nations 2024", "Rugby Europe Conference 2024"], apiSports: { apiSportStandingLeagueId: 16, apiSportKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", apiSportTZ: "Africa/Johannesburg", numberofGamesToDisplay: 10, apiSportsNumRankings: 10, apiSportDaysPast: 7, apiSportsDaysFuture: 14 // add games requirements league id for games to fetch } } },
-
@Manu85 I have also updated the L and D translations now and pushed it.
-
@mumblebaj i see in my config.js y don’t have sport: mru, Maybe that’s the cause! I’ll pass on the update and change this as soon as I get home, thanks.
-
@manu85340 That would not be a problem as you are using apiSport which does not require that.
-
@mumblebaj Hi, this morning everything works :-)