MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-MarineWeather

    Utilities
    9
    25
    1952
    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.
    • R
      ryanbeljan last edited by

      @grena this is a super cool module! I noticed that there are quite a few other weather parameters that the StormGlass API offers (i.e. gust, cloudCover, seaLevel, visibility, etc.) that aren’t yet built into your module. Do you have any tips/guide for how I would go about adding them in?

      https://docs.stormglass.io/#/weather

      G 1 Reply Last reply Reply Quote 0
      • B
        boivinmi @minomit last edited by

        @grena I also have the same behavior. Here is my config :

        {
           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",
              dataSource: "sg",
              params: "airTemperature,windSpeed,windDirection"
           }
        },
        

        And result is :
        2020-05-19 13_28_11-MagicMirror².png

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

          I’m having the same issue where it just displays “Loading”…….

          {
          module: “MMM-MarineWeather”,
          position: “top_right”,
          config: {
          latitude: 32.7157,
          longitude: 117.16,
          appid: “XXXXXXXX-9a15-11ea-b3e2-0242ac130002-9be8a7f6-9a15-11ea-b3e2-0242ac130002” //StormGlass API Key (docs.stormglass.io)
          }
          },

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

            @ryanbeljan : Thank you for your positive feedback. I will work on a new version of the module to use the new information of API v2 (currently the module uses API v1) 😉

            @boivinmi : Currently, it’s not possible to choose the information displayed with params. By removing this line from your configuration, it works fine!

            @Deckard99 : Indeed, there is a problem with waveHeight at your location (probably because it is a lake and not the sea). In the next version, I will integrate a better detection of this type of error to avoid the total blocking of the module!

            B D 2 Replies Last reply Reply Quote 0
            • B
              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
                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
                  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
                    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
                      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
                        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
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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