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

Scheduled Pinned Locked Moved Transport
26 Posts 12 Posters 11.3k 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.
  • J Offline
    JamesFargus
    last edited by Mar 17, 2019, 12:38 AM

    @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 Aug 4, 2019, 10:05 AM

      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 Aug 16, 2019, 9:02 AM

        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
        • J Offline
          JerryP
          last edited by Nov 21, 2020, 10:07 AM

          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 Nov 27, 2020, 8:06 PM

            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.

            J 1 Reply Last reply Dec 4, 2020, 6:50 AM Reply Quote 0
            • J Offline
              JerryP @maxs
              last edited by Dec 4, 2020, 6:50 AM

              @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 Dec 12, 2020, 5:20 PM

                @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”]
                }
                },

                J 1 Reply Last reply Dec 12, 2020, 6:35 PM Reply Quote 0
                • J Offline
                  JerryP @maxs
                  last edited by Dec 12, 2020, 6:35 PM

                  @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 Dec 20, 2020, 10:51 AM Dec 20, 2020, 10:50 AM

                    @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.

                    J 1 Reply Last reply Dec 20, 2020, 12:11 PM Reply Quote 0
                    • J Offline
                      JerryP @maxs
                      last edited by Dec 20, 2020, 12:11 PM

                      @maxs
                      Thanks, Yes that works fine. But now it’s not tracing not anymore. Only if I zoom out bij VNC connection and sure for the device on the map.
                      When I use the mmm-taccar module i’t was tracing bij i’ts self.

                      M 1 Reply Last reply Dec 27, 2020, 9:11 AM 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