Read the statement by Michael Teeuw here.
Magic Mirror Modules Not Working
-
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information how you can configurate this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" 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: "metric", modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "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: "my location", locationID: "1261481", //ID from http://www.openweathermap.org/help/city_list.txt appid: "7c60047afbb24881da6bcae12e24f0ee" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "my location", locationID: "1261481", //ID from http://www.openweathermap.org/help/city_list.txt appid: "7c60047afbb24881da6bcae12e24f0ee" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml", } ], showSourceTitle: true, showPublishDate: true } }, { module: 'phone_notification', position: 'bottom_right', header: 'Phone Notifications', config: { accessToken:"my access token", numberOfNotifications: 5, displayNotificationIcon: true, displayMessage: true, displayCount: false, alert: false, fade: true, maxCharacters: 50 } }, { module: "MMM-GoogleAssistant", position: "top_right", config: { maxWidth: "100%", header: "" } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;} _KEY
-
Weather module is working fine and Time.
Problem is in : 1) News feed doesn’t load. It keeps on saying Loading…
2) I added air quality index earlier it wasn’t working too.
3) Even Phone notifications are not displaying. -
@Kartik596 There’s some cruft (i.e.
_KEY
) at the bottom of your code. Is it in the actual file? To start, you can copy/paste your config into JSHint to catch any other syntax errors. -
@ninjabreadman yes key was in actual code. I used jslint.com for debugging the error was use space instead of tabs and there were many syntax errors that i Don’t think are valid
-
@Kartik596 I mean if you look at the very bottom of your code block, there is a
_KEY
that would cause a syntax error. However, I imagine this isn’t in your actual config. -
@ninjabreadman As i said it was there in original config file when i installed MM script. And as it said do not edit below this line so i kept it undisturbed
-
@Kartik596 It’s not in the original file, as seen here. It must be a typo introduced at some point.
-
Yeah you are right ! _KEY was a problem. Now most of the things are opening up but still phone notifications are not working and compliment section while editing or adding new compliments show the error and Don’t display anything on MM
-
@ninjabreadman https://github.com/ronny3050/phone-notification-mirror I used this module for push notification.