• 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.

MMM-MyCommute

Scheduled Pinned Locked Moved Transport
286 Posts 80 Posters 512.6k Views 77 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.
  • B Offline
    BlackTalon @Fonfon
    last edited by May 23, 2017, 3:35 PM

    @Fonfon I agree that would make this Module perfect!

    1 Reply Last reply Reply Quote 0
    • J Offline
      j.e.f.f Project Sponsor Module Developer @Fonfon
      last edited by May 24, 2017, 3:17 AM

      @Fonfon @BlackTalon I’ve made an update that adds this capability, plus a whole lot more:

      • added the config showSummary to toggle a brief route summary. For transit, this gives you the route names (bus, streetcar, subway numbers, etc).
      • added the config colorCodeTravelTime to colour the travel red, yellow or green depending on traffic conditions. Only works for mode : 'driving'.
      • added two configs moderateTimeThreshold and poorTimeThreshold to adjust the threshold for red (i.e.: poor) and yellow (i.e.: moderate) traffic. Defaults to 1.1 and 1.3 respectively for 10% and 30% time delays.
      • for destinations where mode : 'transit', you can specify an additional config transitMode to instruct which transit modes you would like Google to use when calculating your route. Can be bus, subway, train, tram, or rail. Multiple choices allowed, separated by the | character (e.g.: transitMode : 'bus|subway'). Specifying rail is equivalent to specifying subway|train|tram.
      • added more icons to support the various modes of transit.

      0_1495595633864_MMM-MyCommute.png

      It’s still possible to use the old compact mode, by specifying showSummary : false. e.g.:

      0_1495595766287_Screen Shot 2017-05-23 at 11.15.49 PM.png

      J B 2 Replies Last reply May 24, 2017, 3:24 AM Reply Quote 1
      • J Offline
        Johnson22 @j.e.f.f
        last edited by May 24, 2017, 3:24 AM

        @j.e.f.f This update is fantastic! Thank you very much!

        1 Reply Last reply Reply Quote 0
        • J Offline
          joela85
          last edited by May 24, 2017, 10:37 AM

          Do you need to do anything special with the google api key?
          I can’t get this module to show up on my MM. Doesn’t look like it is picking any info up through the API key.

          J 1 Reply Last reply May 24, 2017, 11:30 AM Reply Quote 0
          • J Offline
            j.e.f.f Project Sponsor Module Developer @joela85
            last edited by May 24, 2017, 11:30 AM

            @joela85 When you say nothing shows up, do you mean the module just doesn’t appear at all? Or you can get the module to show but the travel times never fill in (i.e.: you see the spinning circle forever?)

            Can you post your config? Hide your API key of course.

            B 1 Reply Last reply Jul 14, 2017, 3:22 AM Reply Quote 0
            • J Offline
              joela85
              last edited by May 24, 2017, 11:46 AM

              The module doesn’t show up at all, looks like it doesn’t load the module. I’ll post config file when I get home tonight or tomorrow. Module doesn’t load even with standard commute config part.
              Not sure if it has something to do with my other modules (remote module maybe)

              1 Reply Last reply Reply Quote 0
              • B Offline
                bhepler Module Developer
                last edited by May 24, 2017, 4:56 PM

                I saw the updates this morning at the office and updated. Looks great! Thanks for the work.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  joela85
                  last edited by May 25, 2017, 8:35 AM

                  I re-installed the module and it works fine now.

                  J 1 Reply Last reply May 25, 2017, 11:37 AM Reply Quote 0
                  • J Offline
                    j.e.f.f Project Sponsor Module Developer @joela85
                    last edited by May 25, 2017, 11:37 AM

                    @joela85 good to hear you got it working.!

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      Fonfon
                      last edited by May 25, 2017, 3:27 PM

                      Very good job j.e.f.f !!! nice update ! thanks !

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 28
                      • 29
                      • 2 / 29
                      2 / 29
                      • First post
                        15/286
                        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