• 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 515.9k 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.
  • 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
        • B Offline
          beck0r
          last edited by beck0r May 26, 2017, 2:57 PM May 26, 2017, 2:31 PM

          Hey there,

          very nice looking module! I only have a very little issue with my train icon.
          When the MM loads for the first time I can see the train icon but only as long as the driving time is being retrieved from google, then it disappears…

          Before

          0_1495808995559_upload-478cdab7-c23e-423b-8599-00022c06b7ed

          After
          0_1495809045044_upload-5ca0c570-9c7e-48d2-ac3f-47ed05620364

          I have already switched the order of the destinations to check that out, but it only concentrates on the train icon.

          Can you support me on that?

          Thank you Kind Regards

          J 1 Reply Last reply May 26, 2017, 2:39 PM Reply Quote 0
          • J Offline
            j.e.f.f Project Sponsor Module Developer @beck0r
            last edited by May 26, 2017, 2:39 PM

            @beck0r Sure. Can you provide your config? Hide your API key, of course.

            B 1 Reply Last reply May 26, 2017, 2:51 PM Reply Quote 0
            • B Offline
              beck0r @j.e.f.f
              last edited by May 26, 2017, 2:51 PM

              @j.e.f.f

              Of course… here it comes

              	{
                				module: 'MMM-MyCommute',
                				position: 'top_left',
                				config: {
                  					showHeader: true,
                  					headerText: 'Verkehr',
                 					apikey: '...',
                  					origin: '...',
                  					startTime: '05:00',
                  					endTime: '17:00',
                  					destinations: [
                    							{
                      						destination: '...',
                     	 						label: 'Auto zur Arbeit',
                      						mode: 'driving',
                      						color: '#82E5AA'
                    							},      						
                    							{
                      						destination: '...',
                      						label: 'Fahrrad zur Arbeit',
                      						mode: 'bicycling',
              							color: '#FFB444'
                    							},
              							{
                      						destination: '...',
                      						label: 'RMV zur Arbeit',
                      						mode: 'transit'
                    							}
                  							]
                					}
              		},
              
              J 1 Reply Last reply May 26, 2017, 4:12 PM Reply Quote 0
              • J Offline
                j.e.f.f Project Sponsor Module Developer @beck0r
                last edited by j.e.f.f May 26, 2017, 6:18 PM May 26, 2017, 4:12 PM

                @beck0r Can you try doing a git pull in your MMM-MyCommute directory and restarting your mirror? I think I found your issue – I didn’t have an icon definition for High-speed rail.

                EDIT Maybe not… I need to add definitions for all sorts of possible transit vehicle types. Stay tuned…

                EDIT OK fixed for real this time. I added definitions for all of the transit modes listed here: https://developers.google.com/maps/documentation/directions/intro#VehicleType

                Note: You’ll see the tram icon while the route is loading, as that is the default icon used when no transitMode is specified. But you’ll see it change to the train icon after your travel times are retrieved.

                1 Reply Last reply Reply Quote 1
                • B Offline
                  BlackTalon @j.e.f.f
                  last edited by May 26, 2017, 8:56 PM

                  @j.e.f.f This is perfect! Thank you so much!

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    beck0r
                    last edited by May 27, 2017, 10:44 AM

                    Hi,

                    once again for everybody with the same issue. It’s working now! Thumbs up for j.e.f.f, thank you!

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      joela85
                      last edited by May 27, 2017, 2:34 PM

                      One more question. I want to make a route going via different roads, can that be done in this config file?
                      For example:
                      Destination: X
                      Via: A1

                      Destination: X
                      Via: A2

                      J 3 Replies Last reply May 27, 2017, 4:09 PM Reply Quote -1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 28
                      • 29
                      • 3 / 29
                      3 / 29
                      • First post
                        22/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