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.

    Traffic Maps (Any recent users?)

    Scheduled Pinned Locked Moved Transport
    8 Posts 2 Posters 714 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
      sdetweil @awwbaker
      last edited by

      @awwbaker don’t know anything about the tomtom modules.

      there are two places to look for debug info

      in the output of npm start

      if you are using pm2, then

      pm2 logs --lines=xxxx

      where xxxx is tye number of most recent lines to display, default 15

      the second place is in the browser log
      cttl-shift-i, then select the console tab, and put a unique part of the module name in the filter field

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @awwbaker I put this on my system , and only had one problem

        there is a syntax error in the sample, a missing trailing comma

         {
                    module: 'MMM-GoogleMapsTraffic',
                    position: 'top_right',
                    config: {
                        key: 'my key',
                        lat: 37.8262306,
                        lng: -122.2920096,
                        height: '300px',
                        width: '300px'   // <------  here 
                        styledMapType: "transparent",
                        disableDefaultUI: true,
                        backgroundColor: 'hsla(0, 0%, 0%, 0)',
                        markers: [
                            {
                                lat: 37.8262316,
                                lng: -122.2920196,
                                fillColor: '#9966ff'
                            },
                        ],
                    },
                }
        

        now, I DID you my fork of this module which fixed a couple problems, since the author has not updated in quite a while… I am still 3 changes up from that code…

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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          awwbaker @sdetweil
          last edited by

          Mr @sdetweil,
          Thank you so much your help. Had put the module in the lower right. On your suggestion I saw a warning message for “this module cannot be in that location.” Not an exact quote, but that was the flavor. Moved the module to center bottom and GoogleMap version worked. Really cool, thank you. I too found the comma issue! Do you know the syntax to “update” a module versus installing fresh??? I am going to try the TomTomIncident module and see if that was a similiar issue. If useful I will report out here on findings. Again, thank you for yout time, be safe Anthony

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

            @awwbaker to update a module that has changes is exactly like for MagicMirror

            go to the module folder, and enter this command

            git pull

            then do
            ls package.json

            if you do NOT get an error, then do
            npm install

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              awwbaker @sdetweil
              last edited by

              @sdetweil Roger wico will give update a try…btw, installed and tested TomTomIncident module. That one is working too! Thank you! Anthony

              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