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

    Scheduled Pinned Locked Moved Transport
    26 Posts 12 Posters 13.4k Views 12 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.
    • I Offline
      iwaldrum @maxs
      last edited by

      @maxs @justjim1220 I was looking for the samething… zoom level in the map… any luck or options for this?

      1 Reply Last reply Reply Quote 0
      • J Offline
        JamesFargus
        last edited by

        @iwaldrum hey I know this is really old, but if you comment out the lines in the .js file:

        self.map.fitBounds(self.bounds);
        self.map.panToBounds(self.bounds);
        

        the map will not change zoom based on the object locations anymore. Hope this helps!

        1 Reply Last reply Reply Quote 2
        • B Offline
          bl4ck4dd3r
          last edited by

          This is a great plugin but for me it would be better if it didn’t rely on Google maps but instead used something like Leaflet

          I may have a go at converting the map element of MMM-TracCar myself but my js coding is primative at best

          :smirking_face:

          1 Reply Last reply Reply Quote 0
          • T Offline
            tangougou
            last edited by

            hey i want to know how to change the time to refresh the map ,the marks ont the map was static,i want it change faster.
            by the way ,i want to know your googlemapapi load type was synchronizing load or async loading.i was a Chinese,My English is not well ,So sorry about this . Thanks for your object.

            1 Reply Last reply Reply Quote 0
            • JerryPJ Offline
              JerryP
              last edited by

              Hulp gevraagd…
              Goodmorning,

              I’m Jerry from Holland.
              First I like to say: great module!
              I woul’d like to use the module on my magic mirror to track and show my Carbagrun roadtrip at Home on my mirror.

              View questions I would like to ask
              *can you use openstreetmaps?
              *or maybe Google satelliet
              *google keeps showing errors (see pictures)
              *Is it possible to show the track line (route of the car)
              *the zoom level settings in the config does not work.

              Please help?!?!!

              -![0_1605953189378_4C8EE9DD-6B4D-4719-BB34-74C7243035D2.jpeg](Uploading 4%)

              1 Reply Last reply Reply Quote 0
              • M Offline
                maxs
                last edited by

                i hat also a lot of thinks I din’t like. So my solution is to run MMM-SmartWebDisplay, a internet page in your mirror and configure it to browse your traccar website. This is for me perfect working. So what you do on your traccar webpage is also possible on your mirror.

                JerryPJ 1 Reply Last reply Reply Quote 0
                • JerryPJ Offline
                  JerryP @maxs
                  last edited by

                  @maxs

                  Hi, thanks for your reply. Can you send me your config?? So I can see what you mean, and how you did it.
                  It would be great and super easy if that is the solution.

                  Thanks again

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    maxs
                    last edited by

                    @JerryP
                    See my part of the config. Hope you have also success.
                    Install the module MMM-SmartWebDisplay. Chance your config file, just put the right address of your traccar server.
                    Wen all is ok, you get your login from the traccar website on your mirror.

                    {
                    “module”: “MMM-SmartWebDisplay”,
                    “pages”: {“main”: “bottom_left”},
                    //position: “bottom_left”,
                    “config”: {
                    “height”:“320px”,
                    “width”:“420px”,
                    “updateInterval”: 0,
                    “scrolling”: “no”,
                    “displayStateInfos”: false,
                    “NextURLInterval”: 0,
                    “displayLastUpdate”: false,
                    “url”: [“http://traccarserver.com”]
                    }
                    },

                    JerryPJ 1 Reply Last reply Reply Quote 0
                    • JerryPJ Offline
                      JerryP @maxs
                      last edited by

                      @maxs
                      O Yes, it’s alive.

                      Do you know if it’s possible to remove the borders ( “map” (kaart) above ) & (“appliances” (apparaten) below)
                      And how do I process the login in the URL???

                      Mij Config
                      {
                      module: ‘MMM-SmartWebDisplay’,
                      disabled: false, //false, true
                      position: ‘bottom_right’, // This can be any of the regions.
                      config: {
                      logDebug: false,
                      height:“420px”,
                      width:“520px”,
                      updateInterval: 0,
                      scrolling: “no”,
                      displayLastUpdate: false,
                      NextURLInterval: 0,
                      url: [“http://demo.traccar.org”],
                      }},

                      alt text

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        maxs
                        last edited by maxs

                        @JerryP
                        I get login by making a vnc connection to the mirror. Then it is possible to set user name / password on the mirror in the traccar window.
                        I don’t remember how it was exactly. Wass playing whit it. but mark the remember me. than next time you loggin is automatic.

                        The borders I don’t know.

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