Read the statement by Michael Teeuw here.
MMM-SoccerLiveScore pleas help
-
this is how it is in the config.js
{
disabled:false,
module: ‘MMM-SoccerLiveScore’,
position: ‘top_right’,
header: ‘Scores en direct’,
config: {
leagues: [34, 1, 8],
showNames: true,
showLogos: true,
debug:true,
displayTime: 60 * 1000,
showTables: true
}
}, -
-
ok I did “disabled: true,” and I restarted the MM, the module no longer appears
-
this is how it is in the config.js
{
disabled:true,
module: ‘MMM-SoccerLiveScore’,
position: ‘top_right’,
header: ‘Scores en direct’,
config: {
leagues: [34, 1, 8],
showNames: true,
showLogos: true,
debug:true,
displayTime: 60 * 1000,
showTables: true
}
}, -
@Manu85 ok… looks good…
however, the node_helper in the module folder is also the old one… not the new that you were supposed to have copied…
-
@sdetweil yet I followed your instructions, but I may have made a mistake! what should I do?
-
cd ~/MagicMirror/modules mv MMM-SoccerLiveScore MMM-SoccerLiveScore.old mv NewSoccerLive MMM-SoccerLiveScore cd MMM-SoccerLiveScore npm installthen u can change disabled: back to false
-
I made all the lines and went to false, the MM started but soccer does not appear on the screen
-
@Manu85 output of
pm2 logs --lines=100
please -
@sdetweil in your mailbox
-
@Manu85 makes no sense…
can u edit ~/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js
and show me the top few lines, should look like this/* Magic Mirror * Module: MyCovid19 * * Node_helper written by sdetweil * */ const NodeHelper = require('node_helper'); const request = require('request'); const path = require('path') var moment = require('moment'); //const cvt=require("xlsx-to-json") const cvt=require('csvtojson') var fs=require('fs') -
@sdetweil I have a file “/home/pi/MagicMirror/modules/MMM-SoccerLiveScore.old” and in this file I have another file “MMM-SoccerLiveScore” is this file “node_helper.js” you want?
-
@Manu85 i have no idea what you did… there should be two folders in ~/MagicMirror/modules (related to this problem)
MMM-SoccerLiveScore.old the original module
MMM-SoccerLiveScore my updated module, rename from NewSoccerLive -
@sdetweil I just emailed you the screenshot of what I have, thanks again for your help
-
@Manu85 do
cd ~/MagicMirror/modules/MMM-SoccerLiveScore.old mv MMM-SoccerLiveScore .. cd ~/MagicMirrorrestart mirror
-
I’m sorry, after passing these lines the screen remains black
-
@Manu85 show me outout
pm2 logs --lines=100 -
@sdetweil I just resumed our entire conversation and I just redid "cd ~ / MagicMirror / modules
git clone https://github.com/sdetweil/MMM-SoccerLiveScore NewSoccerLive
cd MMM-SoccerLiveScore
cp …/NewSoccerLive/*.js. "
I do not know if I did well, but I think I have abused your kindness enough, I send you the somefile on your email, thank you -
@sdetweil I sent you the email from somefile
-
@sdetweil Hello, I tried the new module… until now it works fine.
I have set debug: true,
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