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

    Scheduled Pinned Locked Moved Utilities
    25 Posts 9 Posters 8.4k Views 10 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.
    • B Offline
      boivinmi @grena
      last edited by

      @grena : Sorry no luck, I removed every config except latitude, longitude et appid and it still shows Loading…

      G 1 Reply Last reply Reply Quote 0
      • G Offline
        grena Module Developer @boivinmi
        last edited by

        @boivinmi
        With your MMM-MarineWeather configuration, it works fine! Did you restart the magic mirror?

        {
           module: "MMM-MarineWeather",
           header: "Marine Weather",
           position: "top_right",
           config: {
              latitude: 46.829853,  // Latitude 
              longitude: -71.254028, // Longitude
              appid: "414492aa-c717-11e9-a3da-0242ac130004-4144953e-c717-11e9-a3da-0242ac130004"
           }
        },
        

        magicmirror.png

        Since I can’t reproduce your bug, you have to see if there are any error messages in the console!

        1 Reply Last reply Reply Quote 0
        • D Offline
          Deckard99 @grena
          last edited by

          @grena I am by the Pacific Ocean…not a lake…not that I don’t like lakes :)

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            grena Module Developer @Deckard99
            last edited by

            @Deckard99 said in MMM-MarineWeather:

            latitude: 32.7157,
            longitude: 117.16,

            For me, the place associated with this coordinates is located near a lake in China! You may be able to verify that the coordinates are correct: www.latlong.net

            1 Reply Last reply Reply Quote 0
            • D Offline
              Deckard99
              last edited by

              Google says this is San Diego…where I live…

              v2 is up an working, great job!

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                grena Module Developer @Deckard99
                last edited by

                @Deckard99 said in MMM-MarineWeather:

                Google says this is San Diego…where I live…

                I think you forgot the - for the longitude (to the west of Greenwich) !

                With these coordinates, you’re in San Diego!

                latitude: 32.7157,
                longitude: -117.16,
                
                1 Reply Last reply Reply Quote 0
                • G Offline
                  grena Module Developer
                  last edited by grena

                  Hello everyone,

                  MMM-MarineWeather 0.2.0 has just been released, you can now:

                  • Display additional information (pressure, cloud cover, visibility, sea level) with API v2.
                  • Customize displayed information (except water temperature and air temperature).

                  MMM-MarineWeather 0.2.0 ScreenShots

                  To update:

                  cd ~/MagicMirror/modules/MMM-MarineWeather
                  git pull
                  

                  I hope you like this new version.
                  Please inform me of any problems.

                  Grena

                  1 Reply Last reply Reply Quote 0
                  • uros76U Offline
                    uros76
                    last edited by

                    Thanks for this module, it works great!

                    My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      andymassey
                      last edited by

                      @grena Nice little module!

                      I have the full thing working (like the graphic on the left), but was hoping to use the simpler version (like the graphic on the far right) – but using params causes an error… Maybe I’m getting the syntax wrong – could you provide an example of how that line of the config should appear please?

                      Thanks.

                      G 1 Reply Last reply Reply Quote 0
                      • G Offline
                        grena Module Developer @andymassey
                        last edited by

                        @grena Nice little module!

                        Thanks ;)

                        I have the full thing working (like the graphic on the left), but was hoping to use the simpler version (like the graphic on the far right) – but using params causes an error… Maybe I’m getting the syntax wrong – could you provide an example of how that line of the config should appear please?

                        The parameters requested from Storm Glass must be kept to a minimum, i.e., airTemperature and waterTemperature like this:

                        modules: [
                        	{
                        		module: "MMM-MarineWeather",
                        		position: "top_right",
                        		config: {
                        			latitude: 0, // Latitude 
                        			longitude: 0, // Longitude
                        			appid: "abcde12345abcde12345abcde12345ab", // StormGlass API key (docs.stormglass.io)
                        			params: ["airTemperature", "waterTemperature"]
                        		}
                        	}
                        ]
                        
                        R 1 Reply Last reply Reply Quote 1
                        • 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