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 Unsolved Troubleshooting
    22 Posts 4 Posters 6.0k Views 4 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.
    • CyruS1337C Offline
      CyruS1337 Project Sponsor @sdetweil
      last edited by

      The module once worked on the PI. Do I have to do something now @sdetweil?

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

        @CyruS1337 i don’t know anything about the module… so just looking for debugging info…

        pm2 logs should show something

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • CyruS1337C Offline
          CyruS1337 Project Sponsor
          last edited by CyruS1337

          That would be my logs

          pi@raspberrypi3:~ $ pm2 logs
          [TAILING] Tailing last 15 lines for [all] processes (change the value with --lin                                                                                                         es option)
          /home/pi/.pm2/pm2.log last 15 lines:
          PM2        | [2019-09-07T14:54:17.446Z] PM2 log: Stopping app:mm id:0
          PM2        | [2019-09-07T14:54:17.944Z] PM2 log: pid=17526 msg=failed to kill -                                                                                                          retrying in 100ms
          PM2        | [2019-09-07T14:54:18.048Z] PM2 log: pid=17526 msg=failed to kill -                                                                                                          retrying in 100ms
          PM2        | [2019-09-07T14:54:18.145Z] PM2 log: pid=17526 msg=failed to kill -                                                                                                          retrying in 100ms
          PM2        | [2019-09-07T14:54:18.224Z] PM2 log: App [mm] with id [0] and pid [1                                                                                                         7526], exited with code [0] via signal [SIGINT]
          PM2        | [2019-09-07T14:54:18.245Z] PM2 log: pid=17526 msg=process killed
          PM2        | [2019-09-07T14:54:27.372Z] PM2 log: Starting execution sequence in                                                                                                          -fork mode- for app name:mm id:0
          PM2        | [2019-09-07T14:54:27.383Z] PM2 log: App name:mm id:0 online
          PM2        | [2019-09-07T15:18:47.949Z] PM2 log: Process 0 in a stopped status,                                                                                                          starting it
          PM2        | [2019-09-07T15:18:47.954Z] PM2 log: Stopping app:mm id:0
          PM2        | [2019-09-07T15:18:48.369Z] PM2 log: pid=597 msg=failed to kill - re                                                                                                         trying in 100ms
          PM2        | [2019-09-07T15:18:48.372Z] PM2 log: App [mm] with id [0] and pid [5                                                                                                         97], exited with code [0] via signal [SIGINT]
          PM2        | [2019-09-07T15:18:48.469Z] PM2 log: pid=597 msg=process killed
          PM2        | [2019-09-07T15:18:48.473Z] PM2 log: Starting execution sequence in                                                                                                          -fork mode- for app name:mm id:0
          PM2        | [2019-09-07T15:18:48.493Z] PM2 log: App name:mm id:0 online
          
          /home/pi/.pm2/logs/mm-error.log last 15 lines:
          0|mm       | MESA-LOADER: failed to retrieve device information
          0|mm       | MESA-LOADER: failed to retrieve device information
          0|mm       | ATTENTION: default value of option force_s3tc_enable overridden by                                                                                                          environment.
          0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
          0|mm       | MESA-LOADER: failed to retrieve device information
          0|mm       | MESA-LOADER: failed to retrieve device information
          0|mm       | ATTENTION: default value of option force_s3tc_enable overridden by                                                                                                          environment.
          0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
          0|mm       | MESA-LOADER: failed to retrieve device information
          0|mm       | MESA-LOADER: failed to retrieve device information
          0|mm       | ATTENTION: default value of option force_s3tc_enable overridden by                                                                                                          environment.
          0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
          0|mm       | MESA-LOADER: failed to retrieve device information
          0|mm       | MESA-LOADER: failed to retrieve device information
          0|mm       | ATTENTION: default value of option force_s3tc_enable overridden by                                                                                                          environment.
          
          /home/pi/.pm2/logs/mm-out.log last 15 lines:
          0|mm       | Connecting socket for: MMM-MyCommute
          0|mm       | ====================== Starting node_helper for module [MMM-MyCommu                                                                                                         te]
          0|mm       | Connecting socket for: MMM-GoogleMapsTraffic
          0|mm       | Starting node_helper for module: MMM-GoogleMapsTraffic
          0|mm       | Connecting socket for: MMM-DarkSkyForecast
          0|mm       | ====================== Starting node_helper for module [MMM-DarkSky                                                                                                         Forecast]
          0|mm       | Connecting socket for: MMM-MyCalendar
          0|mm       | Starting node helper for: MMM-MyCalendar
          0|mm       | Sockets connected & modules started ...
          0|mm       | Launching application.
          0|mm       | Create new news fetcher for url: https://api.20min.ch/rss/view/1 -                                                                                                          Interval: 300000
          0|mm       | WatchDog started. Maximum timeout: 10s.
          0|mm       | Create new news fetcher for url: https://api.20min.ch/rss/view/67 -                                                                                                          Interval: 300000
          0|mm       | Working notification system. Notification: MMM-GOOGLE_MAPS_TRAFFIC-                                                                                                         GET payload:  { style: 'standard' }
          0|mm       | Create new calendar fetcher for url: https://calendar.google.com/ca                                                                                                         lendar/ical/XXXXX%40gmail.com/private-b6dbd8fd617ffcffc29ab3478af2b6f1/b                                                                                                         asic.ics - Interval: 300000
          
          
          
          
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @CyruS1337
            last edited by

            @CyruS1337 refresh the logs output… (watch out, your email private url is shown)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            CyruS1337C 1 Reply Last reply Reply Quote 0
            • CyruS1337C Offline
              CyruS1337 Project Sponsor @sdetweil
              last edited by

              @sdetweil

              pi@raspberrypi3:~ $ pm2 reloadLogs
              Reloading all logs...
              All logs reloaded
              pi@raspberrypi3:~ $ pm2 logs
              [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
              /home/pi/.pm2/pm2.log last 15 lines:
              PM2        | [2019-09-07T14:54:18.048Z] PM2 log: pid=17526 msg=failed to kill - retrying in 100ms
              PM2        | [2019-09-07T14:54:18.145Z] PM2 log: pid=17526 msg=failed to kill - retrying in 100ms
              PM2        | [2019-09-07T14:54:18.224Z] PM2 log: App [mm] with id [0] and pid [17526], exited with code [0] via signal [SIGINT]
              PM2        | [2019-09-07T14:54:18.245Z] PM2 log: pid=17526 msg=process killed
              PM2        | [2019-09-07T14:54:27.372Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0
              PM2        | [2019-09-07T14:54:27.383Z] PM2 log: App name:mm id:0 online
              PM2        | [2019-09-07T15:18:47.949Z] PM2 log: Process 0 in a stopped status, starting it
              PM2        | [2019-09-07T15:18:47.954Z] PM2 log: Stopping app:mm id:0
              PM2        | [2019-09-07T15:18:48.369Z] PM2 log: pid=597 msg=failed to kill - retrying in 100ms
              PM2        | [2019-09-07T15:18:48.372Z] PM2 log: App [mm] with id [0] and pid [597], exited with code [0] via signal [SIGINT]
              PM2        | [2019-09-07T15:18:48.469Z] PM2 log: pid=597 msg=process killed
              PM2        | [2019-09-07T15:18:48.473Z] PM2 log: Starting execution sequence in -fork mode- for app name:mm id:0
              PM2        | [2019-09-07T15:18:48.493Z] PM2 log: App name:mm id:0 online
              PM2        | [2019-09-07T16:10:56.689Z] PM2 log: Reloading logs...
              PM2        | [2019-09-07T16:10:56.693Z] PM2 log: Reloading logs for process id 0
              
              /home/pi/.pm2/logs/mm-error.log last 15 lines:
              0|mm       | MESA-LOADER: failed to retrieve device information
              0|mm       | MESA-LOADER: failed to retrieve device information
              0|mm       | ATTENTION: default value of option force_s3tc_enable overridden by environment.
              0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
              0|mm       | MESA-LOADER: failed to retrieve device information
              0|mm       | MESA-LOADER: failed to retrieve device information
              0|mm       | ATTENTION: default value of option force_s3tc_enable overridden by environment.
              0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
              0|mm       | MESA-LOADER: failed to retrieve device information
              0|mm       | MESA-LOADER: failed to retrieve device information
              0|mm       | ATTENTION: default value of option force_s3tc_enable overridden by environment.
              0|mm       | libGL error: MESA-LOADER: failed to retrieve device information
              0|mm       | MESA-LOADER: failed to retrieve device information
              0|mm       | MESA-LOADER: failed to retrieve device information
              0|mm       | ATTENTION: default value of option force_s3tc_enable overridden by environment.
              
              /home/pi/.pm2/logs/mm-out.log last 15 lines:
              0|mm       | Connecting socket for: MMM-MyCommute
              0|mm       | ====================== Starting node_helper for module [MMM-MyCommute]
              0|mm       | Connecting socket for: MMM-GoogleMapsTraffic
              0|mm       | Starting node_helper for module: MMM-GoogleMapsTraffic
              0|mm       | Connecting socket for: MMM-DarkSkyForecast
              0|mm       | ====================== Starting node_helper for module [MMM-DarkSkyForecast]
              0|mm       | Connecting socket for: MMM-MyCalendar
              0|mm       | Starting node helper for: MMM-MyCalendar
              0|mm       | Sockets connected & modules started ...
              0|mm       | Launching application.
              0|mm       | Create new news fetcher for url: https://api.20min.ch/rss/view/1 - Interval: 300000
              0|mm       | WatchDog started. Maximum timeout: 10s.
              0|mm       | Create new news fetcher for url: https://api.20min.ch/rss/view/67 - Interval: 300000
              0|mm       | Working notification system. Notification: MMM-GOOGLE_MAPS_TRAFFIC-GET payload:  { style: 'standard' }
              0|mm       | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/XXXXXXXXX%40gmail.com/private-b6dbd8fd617ffcffc29ab3478af2b6f1/basic.ics - Interval: 300000
              
              
              
              
              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @CyruS1337
                last edited by

                @CyruS1337 got to be more than that

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                CyruS1337C 1 Reply Last reply Reply Quote 0
                • CyruS1337C Offline
                  CyruS1337 Project Sponsor @sdetweil
                  last edited by

                  @sdetweil

                  Here are the logs from /home/pi/.pm2/logs/mm-out.log

                  
                  > magicmirror@2.8.0 start /home/pi/MagicMirror
                  > sh run-start.sh
                  
                  Starting MagicMirror: v2.8.0
                  Loading config ...
                  Loading module helpers ...
                  No helper found for module: alert.
                  Initializing new module helper ...
                  Module helper loaded: updatenotification
                  Initializing new module helper ...
                  Module helper loaded: MMM-WatchDog
                  Initializing new module helper ...
                  Module helper loaded: MMM-Remote-Control
                  Initializing new module helper ...
                  Module helper loaded: MMM-SystemStats
                  Initializing new module helper ...
                  Module helper loaded: newsfeed
                  Initializing new module helper ...
                  Module helper loaded: MMM-MyCommute
                  Initializing new module helper ...
                  Module helper loaded: MMM-GoogleMapsTraffic
                  Initializing new module helper ...
                  Module helper loaded: MMM-DarkSkyForecast
                  Initializing new module helper ...
                  Module helper loaded: MMM-MyCalendar
                  All module helpers loaded.
                  Starting server on port 8080 ... 
                  Server started ...
                  Connecting socket for: updatenotification
                  Connecting socket for: MMM-WatchDog
                  Starting module helper: MMM-WatchDog
                  Connecting socket for: MMM-Remote-Control
                  Starting node helper for: MMM-Remote-Control
                  Connecting socket for: MMM-SystemStats
                  Connecting socket for: newsfeed
                  Starting module: newsfeed
                  Connecting socket for: MMM-MyCommute
                  ====================== Starting node_helper for module [MMM-MyCommute]
                  Connecting socket for: MMM-GoogleMapsTraffic
                  Starting node_helper for module: MMM-GoogleMapsTraffic
                  Connecting socket for: MMM-DarkSkyForecast
                  ====================== Starting node_helper for module [MMM-DarkSkyForecast]
                  Connecting socket for: MMM-MyCalendar
                  Starting node helper for: MMM-MyCalendar
                  Sockets connected & modules started ...
                  Launching application.
                  Create new news fetcher for url: https://api.20min.ch/rss/view/1 - Interval: 300000
                  WatchDog started. Maximum timeout: 10s.
                  Create new news fetcher for url: https://api.20min.ch/rss/view/67 - Interval: 300000
                  Working notification system. Notification: MMM-GOOGLE_MAPS_TRAFFIC-GET payload:  { style: 'standard' }
                  Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/XXXXXX%40gmail.com/private-b6dbd8fd617ffcffc29ab3478af2b6f1/basic.ics - Interval: 300000
                  
                  

                  And here are the logs from /home/pi/.pm2/logs/mm-error.log

                  libGL error: MESA-LOADER: failed to retrieve device information
                  MESA-LOADER: failed to retrieve device information
                  MESA-LOADER: failed to retrieve device information
                  libGL error: MESA-LOADER: failed to retrieve device information
                  MESA-LOADER: failed to retrieve device information
                  MESA-LOADER: failed to retrieve device information
                  ATTENTION: default value of option force_s3tc_enable overridden by environment.
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mieserwicht
                    last edited by

                    Hello,
                    I had a similar problem. Just tried out some module configurations and forks.
                    I now use MMM-GoogleMapsTraffic from here https://github.com/sdetweil/MMM-GoogleMapsTraffic.git (see this thread MMM-GoogleMapsTraffic freezes Magic Mirror)
                    and MMM-MyCommute from here https://github.com/qistoph/MMM-MyCommute.git
                    This seems to work for me.
                    There is also a small error in your configuration. The first destination has a comma after the last configuration endTime. This needs to be removed for a propor JSON file.
                    Regards Dirk

                    1 Reply Last reply Reply Quote 0
                    • CyruS1337C Offline
                      CyruS1337 Project Sponsor
                      last edited by

                      So you suggest that I delete the module and download the specified links as “git”?

                      And sorry for the late reply. Lately there was a lot going on (baby, house building, etc.)

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

                        @CyruS1337 there is a bug in the googlemapstraffic module, I have a fixed version… you can rename the current module folder out of the way, and then git clone the fixed one from my repo.

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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