MMM-GoogleMapsTraffic "breaks" mirror?



  • Hi all, I’m a noob and this is my first attempt at a smart mirror. I’ve managed to install several modules and configure them like I want, for the most part, but I’m having a terrible time getting the MMM-GoogleMapsTraffic module to work. Any help would be hugely appreciated.

    Before I installed the traffic module, the mirror was working well. Indeed, if I comment out the module, things go back to normal. The problem only appears with the module ‘activated’ as it were. So what happens?

    When I have the traffic module activated and start up my mirror, it attempts to load but the only thing displayed on the mirror is the clock. For some reason, none of my other modules load up. Any idea what I could be doing wrong? Thanks!

    Here is my config:

    modules: [		
    	//{	
    	//module: "MMM-wordnik",
    		//position: "lower_third",
    		//config: {
    			//apikey: "I have this",
    		//}	
    	//},
    	{
    	module: "MMM-Remote-Control",
    		//position: "bottom_left"
    	},
    	{
    	module: "alert"
    	},
    	{
    	module: "updatenotification",
    		position: "top_bar",
    	},
    	{
    	module: "clock",
    		position: "top_left"
    	},
    	//{
    	//module: "MMM-MyCalendar",
    	//position: "top_left",
    	//config: {
    		//maximumEntries: "5",
    		//url: "https://calendar.google.com/calendar/ical/marc.spears%40gmail.com/private-bec9cfdb4ca9479537513218042e7af9/basic.ics"
    		//}
    	//},
    	{
    	module: "MMM-GoogleMapsTraffic",
    		position: "upper-third",
    		config: {
    			key: "I have this",
    			lat: 47.5947651,
    			lng: -122.3065115,
    			height: "300px",
    			width: "300px"
    			}
    	},
    	{
    	module: "calendar",
    		header: "Marc's Calendar",
    		position: "top_left",
    		config: {
    			fade: false,
    			//maximumEntries: "7",
    			maximumNumberofDays: "60",
    			colored: true,
    			calendars: [
    					{
    					symbol: "calendar",
    					color: "#0B5C40",
    					url: "https://calendar.google.com/calendar/ical/marc.spears%40gmail.com/private-bec9cfdb4ca9479537513218042e7af9/basic.ics"
    					},
    					{
    					symbol: "birthday-cake",
    					color: "#191970",
    					url: "webcal://www.facebook.com/ical/b.php?uid=833007719&key=AQD5LcwIE-OiBsRN"
    					}
    				]
    			}
    	},
    	{
    	module: "compliments",
    		position: "lower_third",
    		config: {
    			compliments: {
    				morning: [
    						"Good Morning",
    						"It's a beautiful day"
    						],
    				afternoon: [
    						"Good Afternoon"
    						],
    				evening: [
    						"Good Evening"
    						]
    			}
    		}					
    	},		
    	{
    	module: "MMM-MyWeather",
    		position: "top_right",
    		config: {
    			apikey: "I have this",
    			pws: 'pws:KWASEATT428',//Judkins Park
    			coloricon: true,
    			hourly: '1',
    			fctext: '1',
    			fcdaycount: "4",
    			fcdaystart: "0",
    			hourly: "0",
    			windunits: "mph",
    			alerttime: 10000,
    			alerttruncatestring: "english:",
    			roundTmpDecs: 1,
    			UseCardinals: 0,
    			layout: "horizontal",
    			sysstat: 0
    		}	
    	},
    	{
    	module: "newsfeed",
    		position: "bottom_bar",
    			config: {
    				feeds: [
    						{
    							title: "New York Times",
    							url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml",
    						},
    						{
    							title: "The BBC",
    							url: "http://feeds.bbci.co.uk/news/world/rss.xml",
    						},
    						{
    							title: "The Hindu",
    							url: "http://www.thehindu.com/news/national/?service=rss",
    						},
    						{
    							title: "KUOW Seattle",
    							url: "http://kuow.org/feeds/term/393/rss.xml",
    						},					
    					],
    				showSourceTitle: true,
    				showPublishDate: true,
    				showDescription: true
    				}
    	},
    ]
    
    };
    


  • Yep, I’m an idiot. I messed up the ‘position’ section by using “upper-third” instead of “upper_third”. haha.

    Sorry to waste space here but hope you at least get a chuckle out of this. 🙂



  • @seattlecajun said in MMM-GoogleMapsTraffic “breaks” mirror?:

    	position: "upper-third",
    

    please try it with:

    position: "upper_third",
    

  • Module Developer

    @seattlecajun said in MMM-GoogleMapsTraffic “breaks” mirror?:

    hope you at least get a chuckle out of this. 🙂

    We’ve all been there, mate. 🙂



  • I’d like to say that since the original posting (5 whole days ago) I haven’t made similar mistakes at least 50 times…but, I can’t!

    Learning. Is. Fun. 🙂


  • Module Developer

    @seattlecajun said in MMM-GoogleMapsTraffic “breaks” mirror?:

    Learning. Is. Fun. 🙂

    Hell yeah, it definitely is. Even for us old guys. 🙂