Read the statement by Michael Teeuw here.
Weather
-
You also have 2 newsfeed entries with the same url
-
Which comma?
I deleted the second newsfeed so now it’s error on line 51 but I don’t see a comma.var config = { port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "en", timeFormat: 12, units: "imperial", modules: [{ module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "US Holidays", position: "top_left", config: { calendars: [{ symbol: "calendar-check-o ", url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics" }] } }, { module: "compliments", position: "lower_third" }, { module: "currentweather", position: "top_right", config: { location: "", locationID: "4899154", //ID from http://www.openweathermap.org/help/city_list.txt appid: "8cfa7d38943405ef3da2456894ea1143" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [{ title: "Chicago", url: "feeds.foxnews.com/foxnews/latest" }], } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "", locationID: "4899154", //ID from http://www.openweathermap.org/help/city_list.txt appid: "8cfa7d38943405ef3da2456894ea1143" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [{ title: "Chicago", url: "feeds.foxnews.com/foxnews/latest" }], showSourceTitle: true, showPublishDate: true } }, ] };
-
go to line 51 you have it like this
}],
SHOULD BE
},]
Check the example here:
https://github.com/MichMich/MagicMirror/tree/master/modules/default/newsfeed
-
I deleted the second newsfeed so now it’s error on line 51 but I don’t see a comma.
Because you deleted it? :^)
You should read this:
https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners -
@cowboysdude said in Weather:
go to line 51 you have it like this
}],
SHOULD BE
},]
Check the example here:
https://github.com/MichMich/MagicMirror/tree/master/modules/default/newsfeed
still not working :(
-
Just repost your entire config minus api keys…
-
still not working :(
My suggestion:
Start with a new config and get that working first.
https://forum.magicmirror.builders/topic/4528/how-to-create-a-working-config-for-absolute-beginnersThen when you want to add a module:
https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginnersThese tutorials walk you through the process. All you have to do is follow them line by line. There’s no guesswork. In the time that it takes you to read them, you’ll already be up and running, and you’ll learn something.
-
i think my sample file is jacked up. do we have another one on here i can download or copy/paste the code?
-
@Gamble your sample is corrupted? That’s odd…
https://github.com/MichMich/MagicMirror/blob/master/config/config.js.sample
Here’s the sample config!
-
Thanks. I got it to work as default and started to changes things one by one like the weather and news
But I put the trello app over the compliments module and it says invalid file. i put the compliments back in and now it’s all just a big black blank screen. i’m pretty confused here