A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Posts
-
RE: Need help with Config.js!
@Charley Thanks!
I added the comma and restarted and I still am getting the error. -
Need help with Config.js!
Hello all!
I’ve finally taken the plunge and started on my mirror. I got it up and running now with the basic defaults but wanted to add a few modules and update some default module configurations.
I have a working Config.js but when I swap in my new additions it ceases to work and gives me a “Please create a Config” message.
I’ve ran my config through JSHint but it’s not giving me any useful errors!
Please see my config below and let me know what I’m doing wrong. I’m pretty sure it’s something with the compliments module.
Thanks!
language: "en", timeFormat: 12, units: "imperial", modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: 'MMM-Remote-Control', // uncomment the following line to show the URL of the remote control on the mirror position: 'bottom_left' // you can hide this module afterwards from the remote control itself }, { module: "clock", position: "top_left" }, { module: "calendar", header: "Upcoming", position: "top_left", config: { calendars: [ { symbol: "calendar-check-o ", url: "xxxx" } ] } }, { module: "compliments", position: "lower_third", config: { compliments: { anytime: [ "Hi there!", "I love you!", "You look great!", "You can do anything!", "Don't forget your keys!" ], morning: [ "Good morning beautiful!", "Good morning handsome!", "You is an icon", "Enjoy your day!" ], afternoon: [ "Looking good!", "You look nice!", "Have a good one!" ], evening: [ "Wow, you look great!", "Good evening!" ], rain: [ "Stay dry!", "Grab a jacket!" ], showers: [ "Stay dry!", "Grab a coat!" ], day_sunny: [ "Suns out, guns out!", "It's sunny! Go to a park!", "It's a beautiful day!" ] } } }, { module: "currentweather", position: "top_right", config: { location: "Seattle", locationID: "5809844", //ID from http://www.openweathermap.org/help/city_list.txt appid: "xxxx", roundTemp: "true" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "Seattle", locationID: "5809844", //ID from http://www.openweathermap.org/help/city_list.txt appid: "xxxx", roundTemp: "true" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } { title: "Reuters", url: "http://feeds.reuters.com/reuters/topNews" } { title: "Google News" url: "https://news.google.com/news/rss/?ned=us&gl=US&hl=en" } ], showSourceTitle: true, showPublishDate: true } }, ] };