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-Traffic

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 3 Posters 1.5k 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.
    • G Offline
      Gr1dL0ck @Gr1dL0ck
      last edited by

      @gr1dl0ck

      in my Mapbox account i see there have been 11 API requests (from 100,000 free) using the ‘default public token’ in the account page.

      so i think its using the data, but my MM is just sitting on :

      (car icon) Loading …

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

        @gr1dl0ck can u look at the terminal window where u start mm to see the messages.

        if you use pm2, then the pm2 logs --lines=???
        command,
        where ??? is a number, default 15,
        will show this info

        also open the developers window, ctrl-shift-i on the mm keyboard, and select the console tab

        you can filter messages by module, by putting part of the module name in the filter field,
        traff should be enough.

        show any errors (usually red text)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          Gr1dL0ck @sdetweil
          last edited by Gr1dL0ck

          @sdetweil

          The console logs display this, sorry dont know what it means

          Uncaught TypeError: console.log is not a function   MMM-Traffic.js.135
               at Class.socketNotificationRecieved (MMM-Traffic.js.135)
               at module.js.250
               at socket. <anonymous> (socketclient.js.39)
               at Socket../node_modules/component-emitter/index.js.Emitter.Emit (index.js.145)
               at Socket.emitEvent (socket.js.253)
               at Socket.onevent (socket.js.240)
               at Socket.MMSocket.self.socket.onevent (socketclient.js.33)
               at Socket.onpacket (socket.js.204)
               at Manager.<anonymous>  (index.js.21)
               at Socket../node_modules/component-emitter/index.js.Emitter.Emit (index.js.145)
          
          
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            SamLewis0602 @Gr1dL0ck
            last edited by

            MMM-Traffic author here, just wanted to post here on the forum that this was resolved in a Github issue here: https://github.com/SamLewis0602/MMM-Traffic/issues/95

            This is caused by a different module, the MMM-GoogleMapsTraffic module, as seen in this unmerged PR here: https://github.com/vicmora/MMM-GoogleMapsTraffic/pull/24

            Anyone using both that module and my module in their mirror would see MMM-Traffic stuck on loading. Judging by the activity on that other module, it looks to be unsupported. See the issue I linked on my repo above for a manual fix if you wish to use both modules together.

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

              @samlewis0602 I have the fixed Googlemapstraffic module on my github

              https://github.com/sdetweil/MMM-GoogleMapsTraffic

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil Good to know, I’ll point people this way if I see it again.

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