A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-NOAA - Another Weather Module
-
Does not run after updated and modified the config file.
/home/pi/.pm2/logs/mm-error.log last 15 lines: 0|mm | WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration. 0|mm | WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration. 0|mm | TypeError: Cannot read property 'data' of undefined 0|mm | at Object.parseResponse (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:61:43) 0|mm | at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:52:28) 0|mm | at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22) 0|mm | at emitTwo (events.js:126:13) 0|mm | at Request.emit (events.js:214:7) 0|mm | at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10) 0|mm | at emitOne (events.js:116:13) 0|mm | at Request.emit (events.js:211:7) 0|mm | at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12) 0|mm | at Object.onceWrapper (events.js:313:30) 0|mm | WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration. 0|mm | WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
My config.js
{ module: 'MMM-NOAA3', position: 'top_right', config: { provider: "darksky", // From list above apiKey: "xxxxxx", // From one of the providers listed above airKey: "xxxxxx", css: "NOAA3" // THIS MUST CONTAIN A CSS STYLE NAME userlat: "43.02xxxx", userlon: "-81.32xxxx" } },
-
@jrcelis after your css: … their is no comma
-
@tbbear Nice catch!! Thanks!!
-
@jrcelis said in MMM-NOAA - Another Weather Module:
// THIS MUST CONTAIN A CSS STYLE NAME
PS please edit your post and remove your api key… :)
-
@tbbear Thanks!!!
-
@tbbear said in MMM-NOAA - Another Weather Module:
after your css: … their is no comma
Robert! How are you doing? Long time, no see!
-
There is no comma in the readme examples for the
css: "NOAA3",
line. -
@mykle1 did you go a pull request to fix it?
-
@cowboysdude said in MMM-NOAA - Another Weather Module:
did you go a pull request to fix it?
Uhhh, no. Haha. I went to do it but it appears you already corrected it.
-
@mykle1 That’s right LOL