Icons as button labels Basic UI

Hi openHab Community,

I’m a relatively new openHab user and I was working on my first sitemap when something really bothered me in Basic UI. My buttons looked dull and only had text in them.

I am unsure if there is already something around that does this, however, I still wanted to share it. (Maybe someone knows a better solution). I managed to include Font-Awesome and Material Icons.

The result

The only downside as of now is that I somehow disabled the ripple effect.

If someone wants to use it you can find my script on GitHub (I will probably keep improving it) https://github.com/MaxvandeLaar/OH2-BasicUI-Icons


That’s pretty nice! Did you consider contributing the addition as a BasicUI improvement?

I would love to be a part of the community and use my skills to help improve the UI. However, I cannot find how to do that yet. I still need to find my way around the openHab components and how to contribute. If you could point me into the right direction I would be very thankful.

I totally understand your problem. It takes a few minutes to understand how the openHAB world is characterized.
The Basic UI is developed under the Eclipse Smart Home project and I’d suggest to present your idea there.Specifically I’d suggest to present your current solution and ask for guidance on how to implement this as a native function in an Issue Ticket here:

Please post the link to the created issue here, so we can follow along :wink: Thanks

Be sure to make your vision and open questions clear. It is often easy to understand a new idea wrong and you don’t want the discussion sidetracked because one commenter understood e.g. you want to introduce a totally new sitemap element… :wink: Defining open questions helps to start a discussion in the right direction.

Welcome to the openHAB developer commuity!! :beers: :tada:

1 Like

Thank you, I will definitely do that!


So what happened to this? I am currently looking for a way how to get icons on my buttons…

There has been no such development in BasicUI.

Sometimes this cab be used instead

@Bernd_Ritter, I actually switched from openhab to Homey. This made more sense to me as I am a JS developer and my Java development skills are limited to same basic back-end and api work. I found it too complicated to contribute to openHab but I am unsure if this still is the case.

I just thought about the same thing and stumbled upon this post.

Too bad it did not get integrated. :frowning:

I actually thought it would be cool if you could use fontawesome icons as item icons as well.

Where should I create a feature request for this?

I am confused about the different openhab repositories every time. :confused:

Came to that one as well. It would be awesome if we could get fontawesome integrated. The basic icons are just ugly.