kugelsicha
(@HerzScheisse ~ Holger)
187
I do it with a MAP transformation…
f.e.: (you need to install the map transformation service in PaperUI
create openweathermap.map in folder openhab2-conf/transform
601=snow
OWM_WEATHER_CONDITION_ID_NUMBER=YOUR_IMAGE
and in your .items file you have something like this:
String owmCurrentConditionId "Current Condition ID [MAP(openweathermap.map):%s]"
EDIT:
Or another way to do it…