• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

The mirror that wasn't a mirror

Scheduled Pinned Locked Moved Show your Mirror
25 Posts 10 Posters 23.5k Views 10 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
    DazDavid @bhepler
    last edited by DazDavid Oct 19, 2016, 1:28 AM Oct 19, 2016, 1:22 AM

    @bhepler
    Yes you are right, sorry my fault.

    So I copied the example from the github Page and just entered my Api Key to make sure the Module is working with basic Informations.

    This is the appropriate part of my config:

    {
        module: 'MMM-Traffic',
        position: 'bottom_bar',
        classes: 'dimmed medium', //optional, default is 'bright medium', only applies to commute info not route_name
        config: {
            api_key: '******',
            mode: 'driving',
            origin: '4 Pennsylvania Plaza, New York, NY 10001',
            destination: '1 MetLife Stadium Dr, East Rutherford, NJ 07073',
            arrival_time: '0800', //optional, but needs to be in 24 hour time if used.
            route_name: 'Home to Work',
            changeColor: true,
            showGreen: false,
            limitYellow: 5, //Greater than 5% of journey time due to traffic
            limitRed: 20, //Greater than 20% of journey time due to traffic
            traffic_model: 'pessimistic',
            interval: 120000 //2 minutes
        }
    },
    

    Edit: Like this the mirror stucks on “Loading Commute” and the mentioned error is shown on console output continuously. Any idea what could be the Problem?

    M 1 Reply Last reply Oct 19, 2016, 9:14 AM Reply Quote 0
    • M Offline
      Mitchfarino Module Developer @DazDavid
      last edited by Oct 19, 2016, 9:14 AM

      @DazDavid

      @Notumlord had a similar issue, and when they changed the locations it worked fine

      Not sure if they’ve made any progress with is - https://forum.magicmirror.builders/topic/446/trafficmaps/36

      D 1 Reply Last reply Oct 19, 2016, 9:37 AM Reply Quote 0
      • D Offline
        DazDavid @Mitchfarino
        last edited by Oct 19, 2016, 9:37 AM

        @Mitchfarino thanks for the hint but I´m not sure how exactly to enter the locations. Does anybody have an example for germany? I assume it would be street & no, postalcodd city. So for example Hauptstraße 15, 99090 Erfurt.
        Is that correct?

        M 1 Reply Last reply Oct 19, 2016, 9:40 AM Reply Quote 0
        • M Offline
          Mitchfarino Module Developer @DazDavid
          last edited by Mitchfarino Oct 19, 2016, 9:40 AM Oct 19, 2016, 9:40 AM

          @DazDavid how do you do it usually in Google maps? In the UK I can just put in the postcode and it works.

          Go to Google maps, place a pin on your destination and copy the address that it generates.

          See if that works

          D 1 Reply Last reply Oct 19, 2016, 10:18 AM Reply Quote 0
          • D Offline
            DazDavid @Mitchfarino
            last edited by Oct 19, 2016, 10:18 AM

            @Mitchfarino i copied from Maps before and now I tryied only with postalcode and Postalcode + City name but still get the same error as written above. I think I have to contact the developer of the module.

            M 1 Reply Last reply Oct 19, 2016, 10:21 AM Reply Quote 0
            • M Offline
              Mitchfarino Module Developer @DazDavid
              last edited by Oct 19, 2016, 10:21 AM

              @DazDavid try these postcodes

              SE1 9SP
              SW1A 1AA

              See if it gets through the loading commute message

              D 1 Reply Last reply Oct 19, 2016, 10:25 AM Reply Quote 0
              • D Offline
                DazDavid
                last edited by Oct 19, 2016, 10:21 AM

                ok, somebody opened a bug report for this problem 20h hours ago so I think im not the only affected person :)

                1 Reply Last reply Reply Quote 0
                • D Offline
                  DazDavid @Mitchfarino
                  last edited by Oct 19, 2016, 10:25 AM

                  @Mitchfarino Not working also

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    DazDavid
                    last edited by Oct 19, 2016, 1:27 PM

                    My Problem was solved by the developer. The API Key was not valid. For everybody else with this problem here is a link to test your Key. If it is not valid just create a new one:

                    Replace <API_KEY> with your Key:
                    https://maps.googleapis.com/maps/api/directions/json?origin=toledo ohio&destination=san antonio texas&key=<API_KEY>

                    Thanks for everybodys help.

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      DazDavid
                      last edited by Oct 19, 2016, 1:38 PM

                      Maybe somebody can point me in the right direction with another problem… How do I link to a local calendar file? I tried different ways but non worked. Also SMB would be a possibility. How should the syntax look like?

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        19/25
                        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