Read the statement by Michael Teeuw here.
Weatherunderground - currently - hourly - daily - configurable
-
Gettin’ the black screen as well…
I’ve gone to the “post that may assist me” but I can’t seem to find anything from it. When looking at the console tab when F12 is pressed, it has stopped after 3 lines at the “Load script: modules/MMM-WunderGround//MMM-WunderGround.js” Opening that file it has the defaults for the api and pws blank. ok.Looking at the module coding…
var config = {
port: 8080,language: 'en', timeFormat: 12, units: 'imperial', modules: [ { module: 'MMM-WunderGround', position: 'top_right', config: { apikey: 'NUMBERS', pws: 'CO/Denver', hourly: '1', fctext: '1', fcdaycount: "5", fcdaystart: "0", hourlyinterval: "3", hourlycount: "2", } }, ]
};
I can’t seem to find what is wrong. Are you able to spot my error or suggest some help?
-
@Crispis I’m not sure, but I think you may not need the comma after the ending curly bracket if you only have 1 item in modules. (3rd line from the bottom) I think that might be why config: { } doesn’t get an ending comma.
-
Everything seems correct in your config. What worked for me was updating the Magic Mirror itself and then it started working. If that doesn’t do it let me know and I could try to see what else I did.
-
Did an update with:
cd ~\MagicMirror
git pull
and then removed the “,” … still getting the black screen.When I remove THIS particular module from my whole set, the mirror works fine. I’m not sure whats wrong in that section.
-
@Crispis Can you post your full config.js please? (if the above is just truncated) I’m wondering if there’s something just before the MMM-Wunderground module that’s causing you grief.
-
Are you sure that CO/Denver is correct?
-
@chrisfoerg I am not sure if CO/Denver is correct. I thought it was the “STATE/CITY” and Denver happens to be very close to me so I went with that initially. It wasn’t working with the “IUTRETCH” or “NY/New_York” inputs either.
@Shockwave I already began to…start…I tried to call up the file through 192.XXX/config/config.js but that gives me a file to save, which then I can’t open as it continues to prompt the save file. When I drop it into notepad, its…word wrap made it too difficult to read and the line was not gonna happen. I’ve got… the entire config.js that I guess I could e-mail? I don’t think attaching it to this would be a good move? Better yet…what is the correct method for acquiring/posting the full config.js?
-
@Crispis
CO/Denver should be okay as that’s the same format I’m using for one of my entries which is AZ/Yuma. You could also try an airport identifier such as KDEN for Denver International.As for saving the file, I assume you’re copying and pasting from Putty? Does turning off word wrap make it any better? Could you copy from putty and paste it in here as a code block?
-
@shockwave When it comes to saving the file, I open up a file and type in the ip address then /config/config.js …I’m not too sure what Putty is… Turning off word wrap just makes the data appear on two lines but for 100 yards. It doesn’t clean things up. Have not tried the KDEN but I’ll give it a go when I’m home!
-
@Shockwave Here is my current full config.js -minus the API keys. Gives me the black screen for some reason…
/* Magic Mirror Config Sample
*- By Michael Teeuw http://michaelteeuw.nl
- MIT Licensed.
*/
var config = {
port: 8080,language: 'en', timeFormat: 12, units: 'imperial', modules: [ { module: 'alert', }, { module: 'clock', position: 'top_left' }, { module: 'calendar', header: 'US Holidays', position: 'top_left', config: { maximumEntries: '3', calendars: [ { symbol: 'calendar-check-o ', url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics' } ] } }, { module: 'compliments', position: 'bottom_bar', config: { updateInterval: '1800000', compliments: { morning: [ 'What a beautiful morning!', 'Enjoy your day!', 'Good Morning!', 'How was your sleep?' ], afternoon: [ 'Hey good lookin!', 'Looking good today!', 'You\'re doing great!', 'Looking good!' ], evening: [ 'Wow, you look great!', 'You look nice!' ] } } }, { module: 'currentweather', header: 'Firestone, CO', position: 'top_right', config: { initialLoadDelay: '100', location: 'Firestone', locationID: '5577008', appid: '###' } }, { module: 'weatherforecast', position: 'top_right', header: 'Weather Forecast', config: { location: 'Firestone, CO', locationID: '', //ID from http://www.openweathermap.org appid: '###' } }, { module: 'MMM-WunderGround', position: 'top_right', header: 'WEATHER TIME', config: { apikey: '###', pws: 'KDEN', lang: 'NL', fctext: '1', fcdaycount: '5', fcdaystart: '0', hourly: '1', hourlyinterval: '3', hourlycount: '2', } }, ]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== ‘undefined’) {module.exports = config;}