OH3 OpenWeatherMap displays Wind Speed incorrectly

RPi 4 running 3.2.0.M2

Apparently OWM returns all wind speed values as m/s and they are converted in the Items to km/h

However it looks like the values for “current” are not converted.

Here are logs taken around the same time

17:08:07.927 [DEBUG] [enWeatherMapWeatherAndForecastHandler] - Update channel 'wind-speed' of group 'forecastHours03' with new state '2.81 m/s'.
	Line 63: 17:08:07.986 [DEBUG] [enWeatherMapWeatherAndForecastHandler] - Update channel 'wind-speed' of group 'forecastHours06' with new state '2.11 m/s'.
	Line 89: 17:08:08.084 [DEBUG] [enWeatherMapWeatherAndForecastHandler] - Update channel 'wind-speed' of group 'forecastHours09' with new state '1.69 m/s'.
	Line 117: 17:08:08.184 [DEBUG] [enWeatherMapWeatherAndForecastHandler] - Update channel 'wind-speed' of group 'forecastHours12' with new state '1.4 m/s'.
	Line 133: 17:08:08.233 [DEBUG] [enWeatherMapWeatherAndForecastHandler] - Update channel 'wind-speed' of group 'forecastHours15' with new state '1.53 m/s'.
	Line 154: 17:08:08.322 [DEBUG] [enWeatherMapWeatherAndForecastHandler] - Update channel 'wind-speed' of group 'forecastHours18' with new state '2.13 m/s'.
	Line 191: 17:08:08.437 [DEBUG] [enWeatherMapWeatherAndForecastHandler] - Update channel 'wind-speed' of group 'forecastHours21' with new state '1.91 m/s'.
	Line 220: 17:08:08.510 [DEBUG] [enWeatherMapWeatherAndForecastHandler] - Update channel 'wind-speed' of group 'forecastHours24' with new state '2.06 m/s'.
	Line 254: 17:08:08.940 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:current#wind-speed, groupID current
	Line 255: 17:08:08.945 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'current' with new state '0.89 m/s'.
	Line 284: 17:08:09.022 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastHours01#wind-speed, groupID forecastHours01
	Line 285: 17:08:09.025 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastHours01' with new state '4.21 m/s'.
	Line 323: 17:08:09.133 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastHours02#wind-speed, groupID forecastHours02
	Line 324: 17:08:09.137 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastHours02' with new state '4.02 m/s'.
	Line 357: 17:08:09.246 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastHours03#wind-speed, groupID forecastHours03
	Line 358: 17:08:09.251 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastHours03' with new state '3.27 m/s'.
	Line 392: 17:08:09.340 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastHours04#wind-speed, groupID forecastHours04
	Line 393: 17:08:09.346 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastHours04' with new state '2.81 m/s'.
	Line 429: 17:08:09.438 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastHours05#wind-speed, groupID forecastHours05
	Line 430: 17:08:09.456 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastHours05' with new state '2.79 m/s'.
	Line 464: 17:08:09.579 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastHours06#wind-speed, groupID forecastHours06
	Line 465: 17:08:09.584 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastHours06' with new state '2.43 m/s'.
	Line 504: 17:08:09.706 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastHours07#wind-speed, groupID forecastHours07
	Line 506: 17:08:09.712 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastHours07' with new state '2.11 m/s'.
	Line 543: 17:08:09.836 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastHours08#wind-speed, groupID forecastHours08
	Line 544: 17:08:09.839 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastHours08' with new state '2.13 m/s'.
	Line 579: 17:08:09.952 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastHours09#wind-speed, groupID forecastHours09
	Line 580: 17:08:09.954 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastHours09' with new state '1.96 m/s'.
	Line 612: 17:08:10.115 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastHours10#wind-speed, groupID forecastHours10
	Line 613: 17:08:10.119 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastHours10' with new state '1.69 m/s'.
	Line 643: 17:08:10.213 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastHours11#wind-speed, groupID forecastHours11
	Line 644: 17:08:10.216 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastHours11' with new state '1.49 m/s'.
	Line 683: 17:08:10.331 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastHours12#wind-speed, groupID forecastHours12
	Line 684: 17:08:10.336 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastHours12' with new state '1.42 m/s'.
	Line 735: 17:08:10.503 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastToday#wind-speed, groupID forecastToday
	Line 736: 17:08:10.507 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastToday' with new state '6.89 m/s'.
	Line 783: 17:08:10.670 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastTomorrow#wind-speed, groupID forecastTomorrow
	Line 784: 17:08:10.685 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastTomorrow' with new state '3.92 m/s'.
	Line 831: 17:08:10.860 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastDay2#wind-speed, groupID forecastDay2
	Line 832: 17:08:10.862 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastDay2' with new state '9.32 m/s'.
	Line 879: 17:08:11.009 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastDay3#wind-speed, groupID forecastDay3
	Line 880: 17:08:11.011 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastDay3' with new state '5.66 m/s'.
	Line 927: 17:08:11.205 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastDay4#wind-speed, groupID forecastDay4
	Line 928: 17:08:11.211 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastDay4' with new state '3.32 m/s'.
	Line 975: 17:08:11.396 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - OneCallHandler: updateChannel openweathermap:onecall:bridge:local:forecastDay5#wind-speed, groupID forecastDay5
	Line 976: 17:08:11.398 [DEBUG] [.handler.OpenWeatherMapOneCallHandler] - Update channel 'wind-speed' of group 'forecastDay5' with new state '4.48 m/s'.
Search "windspeed" 

Has anyone noticed this?

Include the unit that you want in your Items state presentation ‘pattern’ metadata.

Obviously I could add some configuration to convert those values but why do all the others just work?

I don’t know, how did your Items get on your system?

Decided the real problem here is the data for current wind speed seems unreliable. the value received by the binding in m/s is properly transformed into km/h (*3.6)

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.