Weather module displaying inaccurate data



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



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



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



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


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.