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

WeatherForecast reporting incorrect weater

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 2.9k Views 2 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.
  • M Offline
    maesterjay
    last edited by Sep 28, 2016, 1:55 AM

    It seems that the weatherforecast is giving incorrect temperatures. Looking at Wed Forecast shows one of the biggest differences (70.7 to 65.8). I have tried changing it to many different local city names and local city location ids and it does not change (still off). I did change it to something far away to ensure the temp would change at some point. I have been working on this for many nights trying to figure out whats wrong. The closest explanation I could come up with is the Days are mislabeled (or pulling from wrong spot in data). I find it ironic that how far off Wednesdays temperatures are and how Wednesday temperature is exactly what the 14:00 temperature is on the graph. Anyone else have a clue what could be wrong? Any things to try to correct this issue?

    alt text

    1 Reply Last reply Reply Quote 0
    • J Offline
      Jopyth Moderator
      last edited by Sep 28, 2016, 8:33 AM

      I experienced a similar issue, my mirror showing me regularly 7 degrees celsius, although it was 30 degrees outside. This happened every 2nd update, then it jumped to the normal amount again. At that time I found a post, which basically said, they use data from private weather stations (which can produce unreliable data) and a sophisticated model, which might sometimes be wrong. Sounds like nothing we can change, except try different weather APIs.

      Helpful sticky: How to troubleshoot

      1 Reply Last reply Reply Quote 0
      • M Offline
        maesterjay
        last edited by Sep 28, 2016, 11:54 AM

        @Jopyth I would understand a difference if I was comparing my mirror display and another weather provider. BUT the pictures are from the openweathermap website. So I am very confused why the source of our data (openweathermap) does not match the mirror’s output. Why doesn’t input match output? I’m unfortunately no programmer by any means. So Im wondering if there are some misselections of what data to pull and where to place it. Because like I said it’s very odd how off it was for Wednesday and how that exact number is at 14:00 on openweathermap’s weather chart.

        J 1 Reply Last reply Sep 28, 2016, 1:17 PM Reply Quote 0
        • J Offline
          Jopyth Moderator @maesterjay
          last edited by Sep 28, 2016, 1:17 PM

          @maesterjay I am not saying I can explain what you found. Again, I experienced a similar thing, I had the 7 degrees on my mirror (and also checked the API output manually - which also said 7 degrees). At the same time I went on to the website (as you did) and there everything was ok. I do not know where this mismatch between API and website comes from.

          But at the time I found the issues I described, I went through the code myself and had a detailed look into the API, the endpoints of the API are definitely the correct ones chosen, it is just, that they output different data, than the website does for whatever reason. Maybe they are calculated separately, or are refreshed at different times? It might be worth a shot, and ask the openweathermap guys.

          I think the exact number matching is a coincidence, since the three hourly data is not even pulled from the API in the magic mirror source code, also there are different endpoints for the current weather, the daily forecast, and the three hourly forecast, they can not be mixed up, and the latter does not even appear in the source code.

          Helpful sticky: How to troubleshoot

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