MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

MMM-MyCommute Bug



  • Hi there I am trying to get my commute working but am having an awful time with googles api. i enabled the javascript API key have the free trial with 300 dollars and can get the module to load but it says error. Went into the console and it doesnt even look like its sending requests out… here is my code below. thank you for any help you can provide!!!

    {
      module: 'MMM-MyCommute',
      position: 'bottom_left',
      config: {
        apikey: '*************',
        origin: '65 Front St W, Toronto, ON M5J 1E6',
        destinations: [
          {
            destination: '14 Duncan St Toronto, ON M5H 3G8',
            label: 'Air Canada Centre',
            mode: 'walking',
            color: '#82E5AA'
          },
          {
            destination: '317 Dundas St W, Toronto, ON M5T 1G4',
            label: 'Art Gallery of Ontario',
            mode: 'transit'
          },
          {
            destination: '55 Mill St, Toronto, ON M5A 3C4',
            label: 'Distillery District',
            mode: 'bicycling'
          },
          {
            destination: '6301 Silver Dart Dr, Mississauga, ON L5P 1B2',
            label: 'Pearson Airport',
            avoid: 'tolls'
          }
        ]
      }
    },
    


  • @UtProsim what messages do you see in the terminal window where u start mm mm?

    for pm2, do
    pm2 logs --lines=100

    for npm start, minimize the mm window, w alt-spacebar, n



  • says this API project is not authorized to use this API??? which makes no sense as its the only project and only api i have except the photos one which is working just fine



  • @sdetweil says this API project is not authorized to use this API??? which makes no sense as its the only project and only api i have except the photos one which is working just fine



  • @UtProsim make sure u have every character of the API key specified correctly.



  • @sdetweil I do as i copy and pasted im in VNC viewer! i just double checked still not working 😕 happy to let you vnc in or anything needed to get this right



  • @UtProsim which MMM-MyCommute? I found 4. jclarke0000, PeterVanco, prosomley, or qistoph?

    also says
    Google Traffic API, and as I recall the JavaScript one in maps, not traffic



  • If you’re using my fork, there’s a detailed description of the some what complex setup. Did you follow those steps?

    https://github.com/qistoph/MMM-MyCommute#installation


Log in to reply