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 15.7k 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.
    • justjim1220J Offline
      justjim1220 Module Developer @maxs
      last edited by

      @maxs @iwaldrum you can add zoom: 75; to your custum css file
      Or you can use your keyboard and press Ctrl > - to zoom out or ctrl >Shift > + to zoom in

      "Life's Too Short To Dance With Ugly People"
      Jim Hallock - 1995

      1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @maxs
        last edited by

        @maxs

        https://forum.magicmirror.builders/topic/5619/how-to-find-and-use-key-commands-in-mm-for-absolute-beginners

        Create a working config
        How to add modules

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

          @justjim1220 said in MMM-TracCar:

          zoom: 75;

          Sorry to tel, but that’s not what I meen. I just want to zoom out the traccar map window. I can’t find any think in the traccar.js file. I just don’t know. I’m absolute beginner.:smiling_face_with_halo:
          @Mykle1 Thanks for sharing the link.

          I 1 Reply Last reply Reply Quote 1
          • 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
                              • JerryPJ Offline
                                JerryP @maxs
                                last edited by

                                @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 Reply Quote 0
                                • M Offline
                                  maxs @JerryP
                                  last edited by

                                  @JerryP
                                  This you can set. just loggin to you traccar server by pc. and in go to your settings, there you can set the zoom level, and other stuff.
                                  Hoof you can find it.

                                  1 Reply Last reply Reply Quote 0

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  • 1
                                  • 2
                                  • 2 / 2
                                  • 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