Read the statement by Michael Teeuw here.
MMM-soccer v2
-
Description:
This module is based on @strawberry-3-141 s MMM-soccer but with many more functions and major changes in the background and frontside.
Download:
[card:lavolp3/MMM-soccer]
Screenshots:
(image upload seems still broken, please check github page for screenshots)
Features:
- major leagues and competitions from Europe included in the free API (see Readme)
- (automatic) league rotation
- Logos included, colored or b/w
- flexible width, slim version available
- LIVE mode (more API calls when live games are shown)
- table with focus mode
- Focus on one team per league
Version 1.0.1
- initial
Version 1.0.2
- bugfix in node_helper
- UI tweaks (smaller team names)
-
Hello,
Some errors after npm install
pi@raspberrypi:~/MagicMirror/modules/MMM-soccer $ npm install npm ERR! code EJSONPARSE npm ERR! file /home/pi/MagicMirror/modules/MMM-soccer/package.json npm ERR! JSON.parse Failed to parse json npm ERR! JSON.parse Unexpected string in JSON at position 312 while parsing '{ npm ERR! JSON.parse "name": "mmm-soccer v2", npm ERR! JSON.parse "version"' npm ERR! JSON.parse Failed to parse package.json data. npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-02-28T14_41_48_433Z-debug.log -
@chassain-0 thanks!
Please do agit pulland try again.
There was a missing comma in package.json.Let me know if it works.
-
@lavolp3
better but still…npm WARN Invalid name: "mmm-soccer v2" npm WARN MMM-soccer No description npm WARN MMM-soccer No repository field. npm WARN MMM-soccer No README data npm WARN MMM-soccer No license field. added 8 packages from 1 contributor in 4.453s found 0 vulnerabilities -
@chassain-0
name changed in package.json and it’s ok -
@chassain-0 yeah has also been changed in origin/master now.
Recognized this as well.
Sorry for the hickups and looking forward to any comments. -
@lavolp3 thanks to you. I m going to try now
-
@lavolp3 Nice job…:)
-
Node_helper.js needed to be fixed.
Please do agit pulland restart the mirror if you experience problems. -
i understand live is ok now with api calls ? i like it
-
@chassain-0 It should but as I see it doesn’t seem to work. Will check tonight or tomorrow.
-
@lavolp3 Hi, does the module work?
do I need a api ?
Thanks in advance…
greetings from Germany -
@Stoffbeuteluwe HI,
live mode seems broken, will fix it tomorrow, but apart from that it works, yes.
You need a free api key from football-data.org.Try it out and let me know if you find any problems.
-
@lavolp3 Hi, do i have to use the API out of the Email and that’s it?..or do I have to do something else with the API?
Thanks in advance -
@Stoffbeuteluwe Yes use the key that you have received and put it in your config and that’s it.
-
@lavolp3 thank you
-
Hi lavolp3,
your module is crashing if showMatches = false
kind regards -
@dirk-graetz thanks! Will have a look into it. Have to admit that I am not good in debugging my modules.
-
Does this show the Championship, Leagues 1 and 2 in England? Thanks
-
@Nero No, only Premier League for England.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login