Read the statement by Michael Teeuw here.
MMM-Soccer - Standings, Schedules and Top Scorers
-
@ostfilinchen no the dependencies havent changed
-
@strawberry-3.141 great! Works now.
-
Hi,
at first, sorry for my bad english. I’m a totally beginner and MMM-Soccer is the first module i want to install by myself. At first i downloaded the Zip file, unpacked it and copied it into /home/pi/MagicMirror/modules. Then i opened the config.js file and added:{
module: ‘MMM-soccer’,
position: ‘bottom_right’,
config: {
api_key: ‘7cgd8…’,
colored: ‘false’,
show: ‘GERMANY’,
leagues: {“GERMANY”:430},
}
},Then i opened the LXTerminal on the raspberry pi and typed in :
pi@raspberrypi:~/MagicMirror $ npm install ~/MagicMirror/modules/MMM-soccer
Then there came:
npm ERR! addLocal Could not install /home/pi/MagicMirror…
npm ERR! Linux …
.
.
.What did i wrong? Can anyone help me please?
-
@STEFF92 in the terminal you have to do
cd ~/MagicMirror/modules/MMM-soccer
thennpm install
and in your config you have to remove the quotes here
colored: false,
-
@strawberry-3.141 but then there is :
bash: cd: /home/pi/MagicMirror/modules/MMM-soccer: file or directory not found
-
@STEFF92 then you did something wrong. Because you said you manually downloaded the files etc. I suggest to delete it again and start from scratch, this will help you to update more easily in future.
type in the terminal
cd ~/MagicMirror/modules git clone https://github.com/fewieden/MMM-soccer.git cd MMM-soccer npm install
-
@strawberry-3.141 ok now i did it how you said. when its finished i only have to add the module in my config.js file right? and then thats it?
-
@strawberry-3.141 Thank you verry much. It works perfectly
-
Hi @strawberry-3-141
I am using and loving your module! Unfortunately I’ve found a bug with your module running together with the MMM-Carousel. I have three MMM-Soccer module configs, one for Germany, one for England and one for Spain. My idea was to show every table for 3 seconds and then move on to the next one.But I encountered this problem: It always shows me the same league. Now a played with it and set the max_team value for these leagues to different values and it perfectly changes the amount of teams to the correct value, but always with the same teams for the same leagues.
So I guess the problem could be that when the show method gets called it does not reload the league (or get it out of a cache).
I tried to fix it but I am not a javasript guru so I didn’t find the problem code. Do you have an idea how to make the module reload the league data?
I hopoe you can help me!
Best regards,
Stephan -
@TheSwissGuy Grüezi Stephan,
I guess nearly all modules have this kind of issue, as there is only one node_helper for those 3 modules which is uesed by all 3 module instances. the node_helper sends back the data and all 3 listen on it which ends in the same league for every instance. I will see if i can find time to handle this issue.