Announcing OpenWeatherMap binding for Eclipse SmartHome / openHAB

Thank you very much @Nanna_Agesen. I have done something similar. But my scale transformation looks a little bit different (rotated by 11.25° counterclockwise). Why? In your case 181° - 202° will be transformed to South. But from my point of view South should be valid for 180° ± 11.25°.

windDirection.scale:

[0..11.25[ = N
[11.25..33.75[ = NNE
[33.75..56.25[ = NE
[56.25..78.75[ = ENE
[78.75..101.25[ = E
[101.25..123.75[ = ESE
[123.75..146.25[ = SE
[146.25..168.75[ = SSE
[168.75..191.25[ = S
[191.25..213.75[ = SSW
[213.75..236.25[ = SW
[236.25..258.75[ = WSW
[258.75..281.25[ = W
[281.25..303.75[ = WNW
[303.75..326.25[ = NW
[326.25..348.75[ = NNW
[348.75..360] = N
3 Likes