MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

Current Weather



  • So I have 2 different API keys from OpenWeatherMap one for current weather and one for weather forecast. However I can’t seem to get the currentweather module to show up. I’ve tried swaping the API keys between the currentweather and weatherforecast modules and can’t seem to get it to work. I’ve even tried disabling the weatherforecast module all together to get it to work but haven’t had any luck. I haven’t done much with the config to this point but have the following.

    FYI Using RPi 2

    modules: [
                    ...
    		{
    			module: "currentweather",
    			position: "top_left",
    			config: {
    				location: "",
    				locationID: "my location id from city list",  //ID from http://www.openweathermap.org/help/city_list.txt
    				appid: "My API Key 1",
    				updateInterval: 10000 // note: i set this to try to get it to update
    			}
    		},
    		{
    			module: "weatherforecast",
    			position: "top_right",
    			header: "Weather Forecast",
    			config: {
    				location: "",
    				locationID: "Same as currentweather",  //ID from http://www.openweathermap.org/help/city_list.txt
    				appid: "My API Key 2",
    				showRainAmount: true				
    			}
    		},
                    ...
    


  • This seems to be the thread that relates to this… Ignore this and reply to the link below.

    https://forum.magicmirror.builders/topic/6878/changing-units-from-metric-to-imperial-breaks-currentweather-module