• 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-MarineTraffic??

Scheduled Pinned Locked Moved Requests
9 Posts 4 Posters 1.3k Views 4 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.
  • A Offline
    adrian.k
    last edited by Nov 17, 2020, 10:40 AM

    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 Offline
      adrian.k
      last edited by Nov 18, 2020, 8:16 AM

      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 Nov 18, 2020, 12:35 PM Reply Quote 0
      • S Away
        sdetweil @adrian.k
        last edited by Nov 18, 2020, 12:35 PM

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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Nov 18, 2020, 10:41 PM Reply Quote 0
        • T Offline
          thgmirror
          last edited by Nov 18, 2020, 6:52 PM

          @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 Offline
            adrian.k @sdetweil
            last edited by Nov 18, 2020, 10:41 PM

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

            M 1 Reply Last reply Nov 19, 2020, 3:41 AM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @adrian.k
              last edited by Nov 19, 2020, 3:41 AM

              @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 Nov 19, 2020, 4:32 AM Reply Quote 1
              • S Away
                sdetweil @Mykle1
                last edited by Nov 19, 2020, 4:32 AM

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

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thgmirror
                  last edited by Nov 19, 2020, 8:32 AM

                  @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 Offline
                    adrian.k @Mykle1
                    last edited by adrian.k Nov 19, 2020, 1:55 PM Nov 19, 2020, 1:27 PM

                    @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
                    1 / 1
                    • First post
                      9/9
                      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