• 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

Scheduled Pinned Locked Moved Transport
5 Posts 5 Posters 1.4k Views 6 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.
  • B Offline
    bendardenne
    last edited by bendardenne Mar 20, 2020, 7:39 AM Mar 20, 2020, 7:35 AM

    This is a module I wrote a little while ago to show a map using the free TomTom traffic API.

    MMM-TomTomTraffic example

    https://github.com/bendardenne/MMM-TomTomTraffic

    It uses leaflet and mapbox as background, which has a lot of flexibility to customize the styling.

    L 1 Reply Last reply Sep 25, 2020, 11:15 PM Reply Quote 3
    • M Offline
      mickecarlsson
      last edited by Apr 4, 2020, 6:55 PM

      Thanks for the module. I just installed it and I love it.

      1 Reply Last reply Reply Quote 0
      • P Offline
        Plainbroke 0
        last edited by Apr 5, 2020, 5:40 PM

        I am enjoying you module too.
        9.25 zoom and centered close to home.
        Really interesting module. ```
        code_text

        1 Reply Last reply Reply Quote 0
        • E Offline
          emrah_asl
          last edited by emrah_asl Sep 11, 2020, 5:43 PM Sep 11, 2020, 5:41 PM

          Hi, I’m trouble about that module.

          It’s works with Tom Tom and MapBox ApiKey, but when I wait up to 20 minutes, all the green lines and traffic ticks has removed.

          {
          		module: "MMM-TomTomTraffic",
          		header: "YOGUNLUK HARİTASI",
          		position: "bottom_left",
          		config: {
          		  location: [41.02905572019998,29.04429195055218],
          		  size: 320,
          		  zoomLevel: 12,
          		  tomtom: {
          			apiToken: "tom tom token",
          			thickness: 2,
          		  },
          		  mapbox: {
          			apiToken: "pk.mapbpx token",
          			mapId: "mapbox/light-v10"
          		  }
          		}
          	  }
          

          First Run :

          first.PNG

          —Running-- I did’nt touch.

          After 20 minutes later :

          20m.PNG

          1 Reply Last reply Reply Quote 0
          • L Offline
            lucallmon @bendardenne
            last edited by Sep 25, 2020, 11:15 PM

            @bendardenne yeah, that didn’t work at all. It’ just blank. nothing shows up on my mirror.

            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