• 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-TomTomTraffic blank circle

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 3 Posters 531 Views 3 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
    Stardyze
    last edited by Jul 4, 2021, 10:35 PM

    Hello I’ve been having some issues with the MMM-TomTomTraffic module, I’ve tried both MMM-TomTomTrafficIncidents as well as this one and both do not work. With the config below, the only thing I get is a blank black circle with no streets or traffic or anything inside of it, all my other modules work except for this one. Has anyone else had this same issue?

          {
            module: "MMM-TomTomTraffic",
            position: "top_right",
    	classes: "1",
            config: {
              location: [-88.158592, 42.966492],
              size: "350",
              zoomLevel: "5",
              tomtom: {
                apiToken: "uFqZBswnFWpg7WRHEkRFwcmMur5nvmt7",
                thickness: "4",
              },
              mapbox: {
                apiToken: "pk.eyJ1Ijoic3RhcmR5emUiLCJhIjoiY2txbWIxYW04MGVubjJubm4wcmg4aXlieSJ9.ArytlzgM4WMc5tfGszkvIA",
              }
            }
          },
    
    S 1 Reply Last reply Jul 5, 2021, 12:51 AM Reply Quote 0
    • S Away
      sdetweil @Stardyze
      last edited by sdetweil Jul 5, 2021, 12:52 AM Jul 5, 2021, 12:51 AM

      @stardyze you have size, thickness and zoomLevel as strings, not numbers. remove the quotes

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Jul 5, 2021, 5:39 PM Reply Quote 0
      • S Offline
        Stardyze @sdetweil
        last edited by Jul 5, 2021, 5:39 PM

        @sdetweil I removed the quotes and it still shows the same black circle. I tried using nothing surrounding the numbers and with colons and it still doesn’t seem to show.

        S 1 Reply Last reply Jul 7, 2021, 2:47 AM Reply Quote 0
        • S Away
          sdetweil @Stardyze
          last edited by sdetweil Jul 7, 2021, 2:48 AM Jul 7, 2021, 2:47 AM

          @stardyze I loaded your config and looked in the dev console and see

          Load script: modules/MMM-TomTomTraffic/MMM-TomTomTraffic.js
          module.js:501 Check MagicMirror version for module 'MMM-TomTomTraffic' - Minimum version:  2.1.0 - Current version: 2.16.0
          module.js:509 Module registered: MMM-TomTomTraffic
          loader.js:155 Bootstrapping module: MMM-TomTomTraffic
          loader.js:184 Load script: modules/MMM-TomTomTraffic/vendor/circletype.min.js
          loader.js:160 Scripts loaded for: MMM-TomTomTraffic
          loader.js:203 Load stylesheet: modules/MMM-TomTomTraffic/MMM-TomTomTraffic.css
          loader.js:162 Styles loaded for: MMM-TomTomTraffic
          loader.js:164 Translations loaded for: MMM-TomTomTraffic
          module.js:44 Starting module: MMM-TomTomTraffic
          MMM-TomTomTraffic.js:21 leaflet.js loaded
          
          
          31:1 GET https://api.mapbox.com/styles/v1/bendardenne/ck7zw0fl90ptz1ikx97gvb6zb/tiles/5/19/31?access_token=pk.eyJ1Ijoic3RhcmR5emUiLCJhIjoiY2txbWIxYW04MGVubjJubm4wcmg4aXlieSJ9.ArytlzgM4WMc5tfGszkvIA 404 (Not Found)
          
          31:1 GET https://api.mapbox.com/styles/v1/bendardenne/ck7zw0fl90ptz1ikx97gvb6zb/tiles/5/20/31?access_token=pk.eyJ1Ijoic3RhcmR5emUiLCJhIjoiY2txbWIxYW04MGVubjJubm4wcmg4aXlieSJ9.ArytlzgM4WMc5tfGszkvIA 404 (Not Found)
          

          looks like the mapbox apiToken is wrong, or

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • E Offline
            eprostko
            last edited by Dec 30, 2023, 8:36 PM

            I had this problem and discovered I had my longitude and latitude reversed, putting me in the middle of the ocean, where traffic is pretty light. :)

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