In DBv1, I included the Open Weather Map icons in some of my flows which I developed for weather data. I’ve attempted to do the same in DBv2 without success.
In DBv1, I use this string (along with other hmtl) within the text: i class="wi wi-owm-03d"
When I attempt to use the same string as payload sent to the DBv2 text node, it does not display the icon. Any ideas how to fix this?
Probably the icons are not installed in your setup.
open your browser log console, refresh the page and look for an error on loading the icons.
If you see such an error, it means that indeed the icons are not loaded. Then, either load them from a template node, e.g.
Like the original poster, I am attempting to move my DBv1 flows over to DBv2; specifically, the ones which use Open Weather Map & its icons. I followed your instructions and attempted to use this in a DBv2 Text node:
<i :class="wi wi-owm-03d"></i> <i :class="fa fa-arrow-up"></i> 8:00 am
Only the time was displayed, not the OWM icon. I am using OWM icons on the NR server in DBv1, so I know they are available. Am I formatting the string correctly, so the icon is inserted into the text?