Read the statement by Michael Teeuw here.
MMM-Wunderground
-
You’re missing a comma on the second to last
}. It should look like this},Look how I changed it below{ module: 'MMM-WunderGround', position: 'top_third', config: { apikey: '--------------------', pws: 'pws:KTXIRVIN10', hourly: '1' } }, ] }; -
The extra comma didn’t change anything. I thought you only used a comma when there is another item behind it?
-
That is true, but you are closing out the config at this point. Here is the end of my config. Notice the comma.
{ title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" }, { title: "BBC World News", url: "http://feeds.bbci.co.uk/news/world/us_and_canada/rss.xml" }, ], showSourceTitle: true, showPublishDate: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;} -
If everything else is working then the error lies in the config entry for WonderGround.
-
Here is my entry for WunderGround.
{ disabled: f, module: 'MMM-WunderGround', position: 'top_right', config: { apikey: 'YOUR API KEY', // private pws: 'pws:KNYNEWYO103', currentweather: 0, coloricon: true, hourly: '1', fctext: '1', fcdaycount: "10", fcdaystart: "0", hourlyinterval: "2", hourlycount: "1", animationSpeed: 5000, alerttime: 10000, alerttruncatestring: "english:", roundTmpDecs: 0, UseCardinals: 1, layout: "vertical", windunits: "mph", sysstat: "0" } }, -
Wait!
top_thirdis not valid. Try top_right -
Hover your mouse over my avatar to the left of my name and click chat
-
Great catch!!! I’m new to pretty much everything involved in programming this thing.
-
@Chrispl2000
No worries. If you have TeamSpeak I can help you more easily if you’d like -
@Chrispl2000
This will definitely help you.
https://forum.magicmirror.builders/topic/286/regions

-
@Chrispl2000 said in MMM-Wunderground:
The extra comma didn’t change anything. I thought you only used a comma when there is another item behind it?
You are absolutely right. That comma is NOT necessary in this case. However, it works with or without. I just removed mine and it still works :thumbsup_tone1:
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