• 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 21.2k 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.
  • P Offline
    paviro Admin @RedNax
    last edited by Jul 2, 2016, 11:16 AM

    @RedNax shouldn’t we update the vendor ones then? @MichMich?

    We're all stories in the end. Just make it a good one, eh?

    – The Doctor

    1 Reply Last reply Reply Quote 0
    • M Offline
      MichMich Admin
      last edited by Jul 6, 2016, 9:56 AM

      Yeah! Please send me a pull request (including an updated changeling).
      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • B Offline
        Bu52 @RB14060
        last edited by Jul 19, 2016, 12:52 PM

        @RB14060 This is too cool. Good Job.

        1 Reply Last reply Reply Quote 0
        • S Offline
          shgmongohh
          last edited by Jul 21, 2016, 5:51 PM

          Thanks for charing the config.js. It helps to understand how things works.

          Sebastian

          1 Reply Last reply Reply Quote 0
          • D Offline
            DazDavid
            last edited by Oct 18, 2016, 7:12 AM

            Where can i find the Module you are using for your time to arrive somwhere (“MMM-Traffic”)? That is quite cool.

            1 Reply Last reply Reply Quote 0
            • D Offline
              DazDavid
              last edited by Oct 18, 2016, 7:14 AM

              Ok, found it.

              M 1 Reply Last reply Oct 18, 2016, 11:43 AM Reply Quote 0
              • M Offline
                Mitchfarino Module Developer @DazDavid
                last edited by Oct 18, 2016, 11:43 AM

                @DazDavid

                For anyone else looking, you can get it here - https://github.com/SamLewis0602/MMM-Traffic

                1 Reply Last reply Reply Quote 0
                • D Offline
                  DazDavid
                  last edited by Oct 18, 2016, 7:01 PM

                  I just installed the Module as decripted and and set config file options but when I start Serveronly Mode of MM I get the following error Message:

                  Whoops! There was an uncaught exception…
                  TypeError: Cannot read property ‘legs’ of undefined
                  at Request._callback (…/MagicMirror/modules/MMM-Traffic/node_helper.js:47:55)
                  at Request.self.callback (…/MagicMirror/modules/MMM-Traffic/node_modules/request/request.js:187:22)
                  at emitTwo (events.js:106:13)
                  at Request.emit (events.js:191:7)
                  at Request. (…/MagicMirror/modules/MMM-Traffic/node_modules/request/request.js:1048:10)
                  at emitOne (events.js:96:13)
                  at Request.emit (events.js:188:7)
                  at IncomingMessage. (…/MagicMirror/modules/MMM-Traffic/node_modules/request/request.js:969:12)
                  at emitNone (events.js:91:20)
                  at IncomingMessage.emit (events.js:185:7)

                  Any Idea what causes the Problem and how to solve it?

                  B 1 Reply Last reply Oct 18, 2016, 8:48 PM Reply Quote 0
                  • B Offline
                    bhepler Module Developer @DazDavid
                    last edited by Oct 18, 2016, 8:48 PM

                    @DazDavid Please post the relevant portion of your config.js file. That is a good place to start. Also please use the markdown commands to make your code easier for us to read.

                    D 1 Reply Last reply Oct 19, 2016, 1:22 AM Reply Quote 0
                    • 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
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      • 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