Read the statement by Michael Teeuw here.
Can"t get wind speed shown in KMPH why?
-
Hi,
I can get my MM to show me wind speed in KMPH.
I is also not showing rain.
What do I do wrong?
Thanks for the help!
Carl{ module: "currentweather", position: "top_right", header: "Byron Bay", config: { location: "Byron Bay,Australia", locationID: "2172880", //ID from http://www.openweathermap.org/help/city_list.txt appid: "XXX", useKMPHWind: "true", roundTemp: "true", showRainAmount: "true", degreeLabel: "true" } },
-
@carlderdritte said in Can"t get wind speed shown in KMPH why?:
Remove the quotes from true
useKMPHWind: true, roundTemp: true, showRainAmount: true, degreeLabel: true
-
@mykle1 no changes without the quotes :(
-
Sry, if this thread is too old to answer but I had the same question and had problems to find a solution for this. But it seems like I have one.
In my config I only set useKMPHwind to true and that didn’t work but after I also changed the useBeaufort from its default true value to false it seems to work.
At this moment openweathermap shows 1,5m/s and magicmirror shows 5 as windspeed. 1,5m/s are actually 5,4km/h so I think its an rounded value.
-
I’ll have to dig up this old thread again. I too do not get the wind speed displayed in km/h.
My config says:
{ module: "currentweather", position: "top_right", config: { location: "Berlin, DE", locationID: "2950159", //Location ID from http://bulk.openweathermap.org/sample/city.list.json.gz appid: "***MYKEY***", //openweathermap.org API key. useBeaufort: false, useKMPHWind: true } },
-
Hi @MajorC,
without using this module, I saw you wrote
seBeaufort: false, instead of
useBeaufort: false,May be that is the reason.
Greetings from Bonn
Thomas -
Thank you, this was just a copy & paste error. On the MM I have use with a u.
@carlderdritte or @thisistheplace have you guys found a solution?
-
Re: Can"t get wind speed shown in KMPH why?
Turns out the variable (useKMPHWind) in your “config.js” should be with a lowercase w for useKMPHwind.
{ module: "currentweather", position: "top_right", config: { location: "Zaandam", locationID: "2744118", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "12345678901234567890", roundTemp: true, useBeaufort: false, useKMPHwind: true, } },
-
Thank you @MaXi-XCeL that was the problem. Case sensitive variables? Come on… :-(
And you need the useBeaufort: false to have it work.
useBeaufort: false, useKMPHwind: true,
Thank you again, on step closer.