MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-MyCommute Bug

    Troubleshooting
    3
    8
    234
    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.
    • U
      UtProsim last edited by

      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'
            }
          ]
        }
      },
      
      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @UtProsim last edited by

        @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

        Sam

        Create a working config
        How to add modules

        U 1 Reply Last reply Reply Quote 0
        • U
          UtProsim last edited by

          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

          1 Reply Last reply Reply Quote 0
          • U
            UtProsim @sdetweil last edited by

            @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

            S 1 Reply Last reply Reply Quote 0
            • S
              sdetweil @UtProsim last edited by

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

              Sam

              Create a working config
              How to add modules

              U 1 Reply Last reply Reply Quote 0
              • U
                UtProsim @sdetweil last edited by

                @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

                S 1 Reply Last reply Reply Quote 0
                • S
                  sdetweil @UtProsim last edited by sdetweil

                  @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

                  Sam

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • Q
                    qistoph last edited by

                    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

                    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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy