Hi dear openhabers,
I have configured the openweathermap add-on to get the current wind speed. As a result I get a value which seems to be in m/s. I’d prefer to get in km/h but I cannot find any way of doing that.
Question 1:
Is there a configuration to retrieve the speed as km/h?
Question 2:
I found a very similar issue in OH1 :
Should the default value not be in km/h also in OH2 openweathermap add-on?
Here is my configuration:
.things:
Bridge openweathermap:weather-api:api "OpenWeatherMap Account" [
apikey="xxx",
refreshInterval=15,
language="fr"] {
Thing weather-and-forecast lyon "Lyon Weather" [location="45.77,4.82", forecastHours=0, forecastDays=0]
}
.items:
Number:Speed WindSpeed_LYO "Vitesse vent" <wind> (WeatherGroup) { channel="openweathermap:weather-and-forecast:api:lyon:current#wind-speed" }
As I want to reuse the existing “WindSpeed_LYO” item (previously used with the Weather binding) I’m not interested in any solution that only change the displayed value.
Any advice?
Thanks