MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    MMM-MarineTraffic??

    Requests
    4
    9
    450
    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.
    • A
      adrian.k last edited by

      Hi!
      Im working in the shipping industry and follows a lot of vessels sailing to and from some ports in the areas that Im working.

      Is there anyone who can look into making a module for MarineTraffic? It would be cool if you could have a small map on the mirror, and once one vessel (or more) are sailing in the map you have set it to, you can see the vessels name and icon.

      Please see picture for further explanation.

      Skjerm13244bilde.PNG

      1 Reply Last reply Reply Quote 0
      • A
        adrian.k last edited by

        FYI:
        I know that they have an API key available upon request, but I dont know if this is free or not…

        MarineTraffic API

        S 1 Reply Last reply Reply Quote 0
        • S
          sdetweil @adrian.k last edited by

          @adrian-k its not free. Says ‘Request a quote’

          Sam

          Create a working config
          How to add modules

          A 1 Reply Last reply Reply Quote 0
          • thgmirror
            thgmirror last edited by

            @adrian-k . did you see, you can implement a map via HTML in your own webside…create a local one at the folder “modules”…see here: https://www.marinetraffic.com/en/p/embed-map

            1 Reply Last reply Reply Quote 0
            • A
              adrian.k @sdetweil last edited by

              @sdetweil said in MMM-MarineTraffic??:

              @adrian-k its not free. Says ‘Request a quote’

              Yeah I saw that. However, I have sent them a request about the above and have been informed that they will get back to me tomorrow.

              @thgmirror said in MMM-MarineTraffic??:

              @adrian-k . did you see, you can implement a map via HTML in your own webside…create a local one at the folder “modules”…see here: https://www.marinetraffic.com/en/p/embed-map

              Yeah I have seen that as well, but I imagine that it would be hard to hide the “frame” around the map instead of displaying just a map without any other details.

              Mykle1 1 Reply Last reply Reply Quote 0
              • Mykle1
                Mykle1 Project Sponsor Module Developer @adrian.k last edited by

                @adrian-k

                Started playing with the suggestion by @adrian-k.

                Screenshot from 2020-11-18 22-34-09.png

                However, errors galore in the dev console. Module seems to still work. Will play some more tomorrow.

                Screenshot from 2020-11-18 22-35-00.png

                Create a working config
                How to add modules

                S A 2 Replies Last reply Reply Quote 1
                • S
                  sdetweil @Mykle1 last edited by

                  @Mykle1 there are some CORS proxies to work around the rejections

                  Sam

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • thgmirror
                    thgmirror last edited by

                    @adrian-k here an example how it can look, if you store this HTML
                    78938882-fc22-46cb-aeec-79874594315b-image.png
                    in your modules-folder and display it in your mirror:
                    bf882af9-1339-45bb-a387-687fe0ac6233-image.png

                    1 Reply Last reply Reply Quote 1
                    • A
                      adrian.k @Mykle1 last edited by adrian.k

                      @Mykle1 said in MMM-MarineTraffic??:

                      @adrian-k

                      Started playing with the suggestion by @adrian-k.
                      However, errors galore in the dev console. Module seems to still work. Will play some more tomorrow.

                      @thgmirror said in MMM-MarineTraffic??:

                      @adrian-k here an example how it can look, if you store this HTML
                      in your modules-folder and display it in your mirror:

                      That looks really good, I will definitley look more into it and try to implement it into my mirror!
                      Thank you for all the help so far guys.

                      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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy