I am trying to get dynamic icons for weather conditions depending on the state of the item that represents the condition.
Looking at the logfiles, this item changes the state e.g:
Weather_Current_Condition changed from UNDEF to Bedeckt
I have two icons within the icons/classic folder (SVG):
weather-Bedeckt.svg
weather.svg
But i only get the weather.svg displayed. The other one not.
I tried to change it also to weather-bedeckt.svg (assuming there are problems with upper/lowercase) but even that did not work.
BasicUI icons are configured to Vector.
Does anybody have an idea why this is not working?
I have the same setup but with png-files working. To be honest I don’t see anything wrong here…You can maybe switch temporary to png files and UI-Setting just to be sure that there is no bug.
for one thing, it needs to be all lowercase, you did try that, but it might well be that tha cache wasnt updated. I suggest you make it lowercase and restart openhab
Yes I just read that (RTFM…sorry ). Changing icons to PNG and all lowercase definitely works.
I think I will go with that since it’s pretty hard to find a nice free SVG icon set for weather.
Is there a way to use these by replacing the .png icons or some other configuration is also required somewhere that should not point the image to .png and instead should point to .svg?