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-MyCommute doesn't show commute times

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    mmm-mycommutegoogle api
    1 Posts 1 Posters 1.1k Views 1 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.
    • D Offline
      DavidCRobertson
      last edited by

      I’m new to this, and have been trying everything I can think of to get the MyCommute module working. Help!

      My Magic Mirror works fine and the MyCommute module shows up fine with little car and bike icons. But it won’t show any commute times. I’ve gone over the code again and again, and think it might be a problem with the way I set up the Google API. Is there a primer on how to set up the Google API?

      Yes, I installed the module in the MMM-MyCommute directory. I did get an API Key and linked it to a billing account.

      Here’s my config.js code:
      {
      module: “MMM-MyCommute”,
      header: “Commute times”,
      position: “top_left”,
      classes: ‘default everyone’,
      config: {
      apikey: ‘GOOGLE API KEY’,
      origin: ‘19118 address’,
      startTime: ‘00:00’,
      endTime: ‘23:59’,
      destinations: [
      {
      destination: ‘19104 address’,
      label: ‘Drive to Work’,
      mode: ‘driving’
      },
      {
      destination: ‘19104’,
      label: ‘Bike to Work’,
      mode: ‘bicycling’
      }
      ]
      }
      }

      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