I’m quite new to the whole openhab topic and i’m stuck on a very specific topic related to icons.
I am using the “Weather Underground” binding to receiver weather information, this binding has a channel which provide the current “weather icon” (sun,cloud,fog,etc.) as an image:
Image WeatherIcon "Icon" {channel="weatherunderground:weather:NNN:current#icon"}
Number Temperature "Temperature [%.1f °C]" {channel="weatherunderground:weather:NNN:current#temperature"}
Now I would like to use that “Image” as an “Icon” in the sitemap like this, which does not work:
Text item=Temperature label="Temperature" icon=WeatherIcon
Shows how to download the icons and set up Rules to copy the icon returned by the icon field to a named dynamic icon which will then show up in your sitemap. I’ve run this way since writing that posting and it has worked great.
One word of warning, I think Wunderground has changed their JSON a bit. I’m getting periodic errors when I need to parse the forecast JSON. You might need to make adjustments.
Wondering if this has ever made it to a feature request. Unfortunately I am not that skilled to contribute. Is there a wish list somewhere? Greetings & THX