pato
New Member
Posts: 8
|
Post by pato on Apr 23, 2017 11:41:49 GMT
Hi all
Maybe somebody has this already solved. I'm running a fresh openhab2 installation and have installed the classicUI, so that the My.xxxx templates work.
In the PaperUI -> Configuration -> Services -> Classic UI -> Configure - I've switched the Icon format from Vector to Bitmap.
Then I downloaded some of the template icons, for example the nodes.png one, into the /etc/openhab2/icons/classic/ folder and restarted openhab2 (important). Sadly the icons don't get shown.
Any further ideas?
Thanks pato
|
|
pato
New Member
Posts: 8
|
Post by pato on Apr 23, 2017 13:14:57 GMT
Stupid me, found the error. It seems the wget didn't pull the right file. After correctly getting the icon url and downloading it, it works now
|
|
|
Post by papa on Apr 23, 2017 21:11:42 GMT
Yes, downloading such things works better than using wget. Be patient with yourself. Like all of us, you make errors & (I hope as you're doing) learn from them.
You can make your own icon files by downloading or screen capturing pics, editing & sizing them as necessary, & saving in the expected format. That's how I've added desired icons.
|
|
|
Post by jimkernsjr on May 10, 2017 2:12:32 GMT
Hi everyone... I put my personal extensive collection of OpenHAB icons on Github. github.com/jimkernsjr/openhabiconsFor each icon you will find both SVG and PNG! I spent alot of time on it, and hope it benefits someone else.
|
|
|
Post by papa on May 10, 2017 19:34:54 GMT
Thanks for sharing, Jim.
|
|
pato
New Member
Posts: 8
|
Post by pato on May 13, 2017 11:21:36 GMT
Little note to your openhab templates.
For whatever reason, in openhab2, the %d in the .items file doesn't anymore work (which renders the Humidity broken and to only show ERR) and must be replaced by %s. The correct line for the My.items must now be:
Number Humidity_Node02 "Humidity_Node02 [%s %%]" <humidity> {mqtt="<[mosquitto:home/rfm_gw/nb/node02/dev49:state:default]"}
|
|
|
Post by papa on May 14, 2017 0:41:10 GMT
Thanks, pato, for catching how OpenHAB2 needs that change in the Number Humidity_Node02 item.
I've put an update about that in various posts.
|
|