Read the statement by Michael Teeuw here.
MMM-GoogleMapsTraffic, Sorry! Something went wrong and I don't know what
-
Hi, I just recently built a Magic Mirror. I had the google maps traffic module working for a while then it stopped working, I’ve been beating my head against the wall for the past few days. I’m a total noob when it comes to all this stuff so any help would be greatly appreciated.
modules: [ { module: "alert", }, { module: 'MMM-Snow', position: 'fullscreen_above', }, { module:"MMMM-Admin-Interface" }, { module: "clock", position: "top_left" }, { module: 'MMM-GoogleMapsTraffic', position: 'top_left', , { module: "calendar", header: "US Holidays", position: "top_right", config: { calendars: [ { symbol: "calendar-check-o ", url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics" } ] } }, { module: "compliments", position: "bottom_bar" }, { module: "currentweather", position: "top_right", config: { location: "", locationID: "", //ID from https://www.openweathermap.org/help/city_list.txt appid: "" } }, { module: "weatherforecast", position: "top_left", header: "Weather Forecast", config: { location: "", locationID: "", //ID from http://www.openweathermap.org/help/city_list.txt appid: "" { module: 'MMM-GoogleMapsTraffic', position: 'top__left', config: { key: 'I HAVE THIS', lat: 50.235, lng: -78.129, height: '300px', width: '300px' } }, { 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 } }, ]
};
-
There are two entries for GoogleMapsTraffic, the first one is not complete.
The second one has a wrong position, there are two _ in it -
@yawns, Thank you! I didn’t understand you have to apply the same attributes to the top of the config as the bottom. Like I said i’m new to this, but i thought at the top of the config you call out the modules and at further down in the config you define all the attributes.
-
It doesn’t matter which module is mentioned at which point in config. Each module has one entry with all config options you require. You can add it to the config several times, but then you have multiple instances of this module.