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.

    Weather Module Help -- Using weathergov

    Scheduled Pinned Locked Moved Solved Troubleshooting
    12 Posts 4 Posters 3.8k Views 5 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.
    • H Offline
      harmZj @MacG
      last edited by

      @macg so here’s something funny… it decided without me doing anything that my coding was right. So now I’m just working on getting the feels like to disappear haha. Thanks!

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @harmZj
        last edited by

        @harmzj forecast has a problem w timing, set the initialLoafDelay to 150 or above to get around that.

        otherwise it will wait for the 15 refresh cycle

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          harmZj @sdetweil
          last edited by

          @sdetweil Sounds good thank you. The whole thing is very weird… now my current weather outside is way off. It says 32 degrees actual temp and that’s way off by like almost 20 degrees, and I’ve double check my coordinates everything matches up and even shows right city state.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @harmZj
            last edited by

            @harmzj sounds like u have units:metric set

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            H 1 Reply Last reply Reply Quote 0
            • H Offline
              harmZj @sdetweil
              last edited by

              @sdetweil Nope I double checked that. 32 degrees (Celsius) would be nearly 90 degrees Fahrenheit. It was more like 51 degrees.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @harmZj
                last edited by sdetweil

                @harmzj any chance u have lat/long without the leading minus sign? will put u on another part of the planet.

                I am -97 (west of England)
                97 would be the other side of the world(Tibet not Texas!)

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                H 1 Reply Last reply Reply Quote 0
                • H Offline
                  harmZj @sdetweil
                  last edited by

                  @sdetweil Made sure I got the leading minus sign correct. Just very weird so last night it was like 20 degrees off and I came back today and it has right current temperature.

                  I use WeatherGov so the set up is a little different, but the reason I went with weathergov is b/c their forecast was more accurate.

                  Like looking at OpenWeather on their actual website their forecast was showing around 10 degrees higher temp than any other provider (i.e. Weather Channel, AccuWeather, WeatherGov, etc).

                  I think the solution might be to use OpenWeather for Current weather, and then utilize WeatherGov for the forecast.

                  1 Reply Last reply Reply Quote 0
                  • ankonaskiff17A Offline
                    ankonaskiff17 @harmZj
                    last edited by ankonaskiff17

                    @harmzj Here are my weathergov config.js components.
                    You might want to read this post I did regarding weathergov.
                    Once I read through API a few times I figured out how to make it work.
                    They say it on api page but be aware that weather.gov resolves back to certain National Weather Service sites. That is explained in gridpoint discussion.
                    Don’t use tableClass: 'medium',unless you are doing this on big TV.
                    One last thing. Every now and then you might see an unusual number for the current temperature. Mine will show 32 F but it comes back. Pretty sure it is due mine and the NWS updates crossing paths at same time so I get that 32F number but on next update it will be correct.

                    Getting weathergov to work

                    Current
                    Current.jpg

                    Forecast
                    Forecast.jpg

                    H 1 Reply Last reply Reply Quote 0
                    • H Offline
                      harmZj @ankonaskiff17
                      last edited by

                      @ankonaskiff17 Gotcha yea that’s what mine was doing is showing an unusual current temp. It was actually showing 32 degrees F when it was like 51 degrees. Some reason it just bothers me haha… so I actually went Current weather using OpenWeather, and then using WeatherGov for the forecast (because forecasted temps were higher using OpenWeather)…

                      Anyway I think I got this figured out now I’m on to working on my calendar information!

                      ankonaskiff17A 1 Reply Last reply Reply Quote 0
                      • ankonaskiff17A Offline
                        ankonaskiff17 @harmZj
                        last edited by

                        @harmzj that 32F threw me for several days before I made assumption that module was fine, it was somehow connected to data refresh (imo).
                        I generally try to stick to “official” sites like NWS/NOAA to avoid things like when Wunderground pulled plug on their data. I have NWS national radar coverage in MMM-SmartWebDisplay and on big TV project that image covers bottom half of US and display not crowded.
                        Similar deal with MMM-Jast using Yahoo data. Unlikely they pull plug on that data feed any time soon .

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