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

    Scheduled Pinned Locked Moved Transport
    47 Posts 7 Posters 23.8k Views 7 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 @KI6UVE
      last edited by

      @KI6UVE he was showing you WHERE it went… NOT the whole thing

      a module defintion is { to }

      inside the modules: [] list

        {
            module: "MMM-Flights",
            position: "top_left",
            config: {
              laMin: 50.0,
              laMax: 50.21,
              loMin: 8.4,
              loMax: 8.8,
            },
          },
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      K 1 Reply Last reply Reply Quote 0
      • K Offline
        KI6UVE @sdetweil
        last edited by

        This post is deleted!
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @KI6UVE
          last edited by

          @KI6UVE as I said, a (every) module entry starts with { and ends with }

          read and practice the topics in my signature below, others wrote the posts, but they are super helpful for beginners

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            KI6UVE @sdetweil
            last edited by

            This post is deleted!
            S 2 Replies Last reply Reply Quote 1
            • S Offline
              sdetweil @KI6UVE
              last edited by

              @KI6UVE which pi os are u running
              Show output of

              uname -a
              lsb_release -a

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              K 1 Reply Last reply Reply Quote 0
              • K Offline
                KI6UVE @sdetweil
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @KI6UVE
                  last edited by sdetweil

                  @KI6UVE said in MMM-Flights:

                  MESA-LOADER: failed to open kms_swrast: /user/lib/dri/kms_swrast_dri.so: cannot open shared object file

                  this seems to be related to the new default user setup on pi…

                  another user said this worked

                  sudo usermod -a -G render pi 
                  

                  (add user pi to the render group)

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  K 2 Replies Last reply Reply Quote 0
                  • K Offline
                    KI6UVE @sdetweil
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      KI6UVE @sdetweil
                      last edited by KI6UVE

                      This post is deleted!
                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @KI6UVE
                        last edited by

                        @KI6UVE turn off using the gpu

                        set environment variable

                        export ELECTRON_DISABLE_GPU=1

                        in the script used to launch mm…

                        if using my install script and pm2,.
                        that file is MagicMirror/installers/mm.sh

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        K 1 Reply Last reply Reply Quote 0
                        • K Offline
                          KI6UVE @sdetweil
                          last edited by

                          This post is deleted!
                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil @KI6UVE
                            last edited by

                            @KI6UVE no, just restart mm

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              KI6UVE @karsten13
                              last edited by

                              @karsten13

                              Is there a way to configure the flight data output to make the units Imperial instead of metric?

                              karsten13K 1 Reply Last reply Reply Quote 0
                              • karsten13K Offline
                                karsten13 @KI6UVE
                                last edited by karsten13

                                @KI6UVE

                                no, but should not be a big thing to implement this.

                                I see the m for the height and km/h for speed, so what are the correct imperial units?

                                ft for m?
                                mph for km/h?

                                K 1 Reply Last reply Reply Quote 0
                                • K Offline
                                  KI6UVE @karsten13
                                  last edited by

                                  @karsten13
                                  Yes, ft and mph

                                  Thanks!!

                                  karsten13K 1 Reply Last reply Reply Quote 0
                                  • karsten13K Offline
                                    karsten13 @KI6UVE
                                    last edited by

                                    @KI6UVE

                                    new version is released with new config option units, see https://gitlab.com/khassel/MMM-Flights/-/blob/master/MMM-Flights.js#L41

                                    update instructions for the module: https://gitlab.com/khassel/MMM-Flights#update-to-new-versions

                                    K 1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      KI6UVE @karsten13
                                      last edited by

                                      @karsten13

                                      Awesome!! vielen Dank

                                      1 Reply Last reply Reply Quote 0
                                      • S sdetweil referenced this topic on
                                      • L Offline
                                        lif
                                        last edited by

                                        I have MMM-Flights working well except mapFixedArea: true, seems to be ignored.

                                        The map changes width depending upon the ac in the area.

                                        a20cd758-3d80-48ea-a85a-27ed2fb9fe83-image.png

                                        663449c8-671d-42c4-8c18-74c65bc38a68-image.png

                                        Also the map shows even with no traffic and showMap: “ifTraffic”,

                                        b582dc48-864d-429a-a27b-331cdf05973f-image.png

                                        Any ideas or thoughts?

                                        S karsten13K 2 Replies Last reply Reply Quote 0
                                        • S Offline
                                          sdetweil @lif
                                          last edited by

                                          @lif can u show the config for this module

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          L 1 Reply Last reply Reply Quote 0
                                          • karsten13K Offline
                                            karsten13 @lif
                                            last edited by

                                            @lif said in MMM-Flights:

                                            The map changes width depending upon the ac in the area.

                                            yes, the map changes width because of the length of the flight data in the table below, the area inside the map does not change. You can test this with setting mapFontColor: "red", so you see the area points.

                                            But I have to rethink this behavior or provide an option for a fixed width.

                                            Also the map shows even with no traffic and showMap: “ifTraffic”,

                                            will look into this, I did a rewrite of the module so maybe this was lost …

                                            L 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
                                            • 3
                                            • 3 / 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