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 displaying inaccurate data

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 2 Posters 5.7k 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.
    • F Offline
      falkon114
      last edited by

      Hey everyone, I just started building my Mirror this week and things are going rather well so far! Thanks to everyone who has contributed to the open source project, super helpful.

      I have noticed that my weather forecast/current weather module displays temperatures that are close to the weather for my city in openweathermap, but not really accurate. Some of the temperatures match what the website has, but most don’t.
      This is my location:
      https://openweathermap.org/city/5781004

      Currently, my mirror says it’s 35.5* F, but the website says 44.5*F, which is more accurate. I have changed the module to update every minute instead of the default 10, but it doesn’t seem to be changing. Here is what it looks like right now:
      Mirror Weather
      and on the website:
      Website Weather
      Here’s my config:

      			module: 'currentweather',
      			position: 'top_right',
      			config: {
      				location: 'Cottonwood Heights',
      				locationID: '5781004',  //ID from http://www.openweathermap.org
      				appid: ''
      			}
      		},
      		{
      			module: 'weatherforecast',
      			position: 'top_right',
      			header: 'Weather Forecast',
      			config: {
      				location: 'Cottonwood Heights',
      				locationID: '5781004',  //ID from http://www.openweathermap.org
      				appid: ''
      			}
      		},
      

      And module defaults config:

      	defaults: {
      		location: false,
      		locationID: 5781004,
      		appid: "",
      		units: config.units,
      		updateInterval: 10 * 60 * 100, // every 10 minutes
      		animationSpeed: 1000,
      		timeFormat: config.timeFormat,
      		showPeriod: true,
      		showPeriodUpper: false,
      		showWindDirection: true,
      		useBeaufort: true,
      		lang: config.language,
      		showHumidity: false,
      
      		initialLoadDelay: 0, // 0 seconds delay
      		retryDelay: 2500,
      
      		apiVersion: "2.5",
      		apiBase: "http://api.openweathermap.org/data/",
      		weatherEndpoint: "weather",
      

      Let me know if any more information is helpful. Thanks!

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by

        I had a similar issues where A) the weather forecast data on the mirror was different to my city data on the openweather site; and B ) the data for my city on both the mirror and the openweather site were about 10 degrees celsius off the actual forecast!

        I used the 3rd party module MMM-forecast-io, which uses the Drak Sky weather API instead. Easy to setup and better data!
        https://github.com/dmcinnes/MMM-forecast-io

        Hope this helps.

        1 Reply Last reply Reply Quote 0
        • F Offline
          falkon114
          last edited by

          Thank you! This one does seem more accurate. At least, it’s pulling the same temps from the website, though I still think they’re off compared to my own thermometer… haha.

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by

            Mine can be up to about 3 degrees off but it’s better than the openweather data

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