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 not showing

    Scheduled Pinned Locked Moved Solved Troubleshooting
    12 Posts 2 Posters 2.7k Views 2 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.
    • S Offline
      semihbakrac @sdetweil
      last edited by

      @sdetweil Only mycommute doesn’t work. npm log is this

      semihbakrac@raspberrypi:~/MagicMirror $ npm start
      
      > magicmirror@2.27.0 start
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [2024-05-18 22:59:01.677] [LOG]   Starting MagicMirror: v2.27.0 
      [2024-05-18 22:59:01.735] [LOG]   Loading config ... 
      [2024-05-18 22:59:01.743] [LOG]   config template file not exists, no envsubst 
      [2024-05-18 22:59:01.755] [LOG]   Loading module helpers ... 
      [2024-05-18 22:59:01.758] [LOG]   No helper found for module: alert. 
      [2024-05-18 22:59:02.424] [LOG]   Initializing new module helper ... 
      [2024-05-18 22:59:02.425] [LOG]   Module helper loaded: updatenotification 
      [2024-05-18 22:59:02.427] [LOG]   No helper found for module: clock. 
      [2024-05-18 22:59:02.822] [LOG]   Initializing new module helper ... 
      [2024-05-18 22:59:02.824] [LOG]   Module helper loaded: calendar 
      [2024-05-18 22:59:02.825] [LOG]   No helper found for module: weather. 
      [2024-05-18 22:59:03.625] [LOG]   Initializing new module helper ... 
      [2024-05-18 22:59:03.626] [LOG]   Module helper loaded: MMM-MyCommute 
      [2024-05-18 22:59:04.306] [LOG]   Initializing new module helper ... 
      [2024-05-18 22:59:04.307] [LOG]   Module helper loaded: MMM-MyPrayerTimes 
      [2024-05-18 22:59:04.308] [LOG]   All module helpers loaded. 
      [2024-05-18 22:59:04.322] [LOG]   Starting server on port 8080 ...  
      [2024-05-18 22:59:07.200] [LOG]   Server started ... 
      [2024-05-18 22:59:07.203] [LOG]   Connecting socket for: updatenotification 
      [2024-05-18 22:59:07.205] [LOG]   Starting module helper: updatenotification 
      [2024-05-18 22:59:07.207] [LOG]   Connecting socket for: calendar 
      [2024-05-18 22:59:07.209] [LOG]   Starting node helper for: calendar 
      [2024-05-18 22:59:07.211] [LOG]   Connecting socket for: MMM-MyCommute 
      [2024-05-18 22:59:07.213] [LOG]   ====================== Starting node_helper for module [MMM-MyCommute] 
      [2024-05-18 22:59:07.215] [LOG]   Connecting socket for: MMM-MyPrayerTimes 
      [2024-05-18 22:59:07.217] [LOG]   Starting node_helper for: MMM-MyPrayerTimes 
      [2024-05-18 22:59:07.219] [LOG]   Sockets connected & modules started ... 
      [2024-05-18 22:59:07.870] [LOG]   Launching application. 
      [2024-05-18 22:59:10.593] [INFO]  System information:
      ### SYSTEM:   manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Plus Rev 1.3; raspberry: [object Object]; virtual: false
      ### OS:       platform: linux; distro: Raspbian GNU/Linux; release: 12; arch: arm; kernel: 6.6.28+rpt-rpi-v7
      ### VERSIONS: electron: 29.1.6; used node: 20.9.0; installed node: 20.8.0; npm: 10.1.0; pm2: 5.3.1
      ### OTHER:    timeZone: Europe/Istanbul; ELECTRON_ENABLE_GPU: undefined 
      [2024-05-18 22:59:13.101] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/semih342bakrac%40gmail.com/private-c2fb4dce86cf995b9f980010988f5bf9/basic.ics - Interval: 604800000 
      [2024-05-18 22:59:13.397] [INFO]  updatenotification: Updater Class Loaded! 
      [2024-05-18 22:59:13.399] [INFO]  updatenotification: Checking PM2 using... 
      [2024-05-18 22:59:13.404] [INFO]  Checking git for module: MMM-MyCommute 
      [2024-05-18 22:59:13.468] [INFO]  Checking git for module: MMM-MyPrayerTimes 
      [2024-05-18 22:59:13.539] [INFO]  Checking git for module: MagicMirror 
      [2024-05-18 22:59:13.592] [INFO]  updatenotification: [PM2] You are not using pm2 
      [2024-05-18 22:59:13.811] [LOG]   200[object Object] 
      [2024-05-18 22:59:14.196] [INFO]  Calendar-Fetcher: Broadcasting 0 events from https://calendar.google.com/calendar/ical/semih342bakrac%40gmail.com/private-c2fb4dce86cf995b9f980010988f5bf9/basic.ics. 
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @semihbakrac
        last edited by

        @semihbakrac said in MMM-MyCommute not showing:

        MMM-MyCommute

        your config looks something like this… with proper start and end and the
        google api key

        {
          module: 'MMM-MyCommute',
          position: 'top_left',
          config: {
            apikey: 'API_KEY_FROM_GOOGLE',
            origin: '65 Front St W, Toronto, ON M5J 1E6',
            startTime: '00:00',
            endTime: '23:59',
            hideDays: [0,6],
            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'
              }
            ]
          }
        }
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil my config

          
          		{
            			module: 'MMM-MyCommute',
            			position: 'top_right',
          			header: 'Tahmin Edilen Varis Suresi',
            			config: {
              				apikey: 'myAPI',
              				origin: 'Menderes, 381. Sk. 13-1, 34225 Esenler/Istanbul',
              				startTime: '00:00',
              				endTime: '23:59',
              				hideDays: [0,6],
              				destinations: [
                				{
                  				destination: 'Sekerpinar, Otomotiv Cd. No:2, 41435 CAYIROVA/Cayirova/Kocaeli',
                  				label: 'Araba',
                  				mode: 'driving',
          					alternatives: true,
                				},
          
                				{
                  				destination: 'Sekerpinar, Otomotiv Cd. No:2, 41435 CAYIROVA/Cayirova/Kocaeli',
                  				label: 'Toplu Tasima',
                  				mode: 'transit'
                				},
          
                				{
                  				destination: 'Halicioglu, 34445 Beyoglu/Istanbul',
                  				label: 'Servis Kalkis Noktasi',
                  				mode: 'transit'
                				},
          
             		    			    ]
            				}
          		},
          
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @semihbakrac
            last edited by

            @semihbakrac said in MMM-MyCommute not showing:

            hideDays: [0,6],

            so, you hid all the days??

            I edited out everything but this module def

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 2 Replies Last reply Reply Quote 0
            • S Offline
              semihbakrac @sdetweil
              last edited by

              @sdetweil omg. My brain is not working. I’m sorry to keep you busy :((( . Thanks for support

              1 Reply Last reply Reply Quote 0
              • S semihbakrac has marked this topic as solved on
              • S semihbakrac has marked this topic as unsolved on
              • S Offline
                semihbakrac @sdetweil
                last edited by

                @sdetweil I can only color the driving icon. I cannot color other icons. Bus,subway etc. The application acts as if the config file does not exist and only the warning screen appears. Do you know anything about this?

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

                  @semihbakrac sorry, know nothing about the internals…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S semihbakrac has marked this topic as solved on
                  • 1
                  • 2
                  • 1 / 2
                  • 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