In the old days, the 1.x weather binding provided a “common ID” numeric value. This was in the 1 to 50 range, and encoded a general description where “25 = stormy” etc.
The great advantage of this was that you could set up a Weather Number Item to put on the sitemap. The numeric value selecting from a preloaded set of simple weather icons, and a MAP transformation producing a text description in the language of choice.
A one-line weather forecast with dynamic icon + text.
With Yahoo weather becoming unavailable, I’ve moved to OpenWeatherMap - very nice thankyou
OWM allows us to retrieve an icon for a forecast, but that is difficult to use in a sitemap line.
OWM provides a numeric condition, but these can be value “523” and so on, which are not suitable for openHAB dynamic icons (limited to 1-99)
OWM provides a textual description, but it would be really nice to have a matching icon with that.
It should be possible to use some transform map to convert incoming OWM ID numbers into Common ID numbers.
Perhaps someones already done that, and would share?
Alternatively, if the “Common ID” idea is still something of use with other 2.x weather services, perhaps the OWM binding could be enhanced to provide a suitable channel?
Thoughts welcome.