MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-GoogleMapsTraffic, Sorry! Something went wrong and I don't know what

    Scheduled Pinned Locked Moved Solved Troubleshooting
    4 Posts 2 Posters 1.9k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      twontonhammer
      last edited by broberg

      Re: MMM-GoogleMapsTraffic

      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
      		}
      	},
      ]
      

      };

      1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator
        last edited by

        There are two entries for GoogleMapsTraffic, the first one is not complete.
        The second one has a wrong position, there are two _ in it

        1 Reply Last reply Reply Quote 0
        • T Offline
          twontonhammer
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • yawnsY Offline
            yawns Moderator
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy