Read the statement by Michael Teeuw here.
Header missing for Current weather (MMM_OpenMapWeather)
-
Sorry, my example was not explained properly. It was basically how not to put the Location/LocationID name in the header. In my example you would just edit the header to say header: “Weather Forecast for New York”, or in your case just “New York, USA”. With the appendLocationNameToHeader: false, I put this in to stop the the appid city ID being populated as my location because it wasn’t my village name but a nearby city. So in your instance, if I remember correctly, your don’t need header: it should be fine with appendLocationNameToHeader: true,
The default config for openmapweather
modules: [
{
module: “MMM-OpenmapWeather”,
position: “top_left”, // This can be any of the regions.
// Best results in left or right regions.
config: {
// See ‘Configuration options’ for more information.
location: “Phoenix,USA”,
locationID: “”, //Location ID from http://openweathermap.org/help/city_list.txt
appid: “abcde12345abcde12345abcde12345ab”, //openweathermap.org API key
colorIcon: true
}
}
]should just be location:“New York”,
locationID: “5128581”,
appid: “xxxxxxxxxxx”,If you want the USA, location “New York, USA” that might work. It may not like the USA part because it might conflict with the returned locationID of just New York - I can’t remember. If you want USA you’ll have to create the header “New York, USA” using my example. I hope your config.js file has a comma at the end of your appid".
Cheers, hope this helps.
-
Thank you so much for your time. Doing research on this, I never see a header on the openmapweather mmm. Only with the default current weather module is there a header.
Perhaps I should investigate why the default current weather mmm wont work. Thanks again for your help
-
Just figured I would let you know. I nixed the openmapweather mmm, and found a way to get the default current weather module working AND displaying a New York header. Thanks again for the support.
-
@nneuland said in Header missing for Current weather (MMM_OpenMapWeather):
Just figured I would let you know. I nixed the openmapweather mmm, and found a way to get the default current weather module working AND displaying a New York header. Thanks again for the support.
how did u solve this?
-
@eltonnascimento
Hi. Apologize for the late response.
Not sure I would call this a fix. I reverted back to the default Current Weather module and avoided the Openmapweather module all together. For the life of me I couldn’t figure a way to show a header with the Openmapweather. However, the default Current weather worked.Hope this helps