A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
How difficult would it be to change the data an existing module receives?
-
Just to double check before I break anything, if I forked the repo and replaced the installed version of MMM-Fitbit2 with my own, would I need to change anything in my config.js? I’m assuming that if I kept the same repo name it would just work, but I want to make sure.
-
@Tippon no changes to config unless you added something
-
@sdetweil Brilliant, thank you :)
-
@sdetweil said in How difficult would it be to change the data an existing module receives?:
and then
cvt().fromFile(payload.tmpfile) // input xls // changed to tmpfile .subscribe((jsonObj, index) => { // handle each row })
Sorry, I forgot to ask, where does this go? Does it go into the node_helper.js with the other line?
-
@Tippon it goes in the node_helper.
this is one way to process the csv file
-
@sdetweil Thank you :)