New set of icons in new Release?

Dear Contributors :slight_smile:

Do you plan to extend set of default icons for further version of OH?

The set of icons (OH default set of icons) it’s very basic. Even though it uses the same graphic style (maybe it’s a bit outdated), I’m thinking of more devices, such as cars, smartphones, routers, computers, smartwatches, etc., etc.

  1. Material Design Icons - Icon Library - Pictogrammers
  2. search for icon
  3. switch to home assistant
  4. copy code, e.g.: mdi:something or other
  5. paste in OpenHAB icon field but add “if:” like so: if:mdi:something or other

I know, I know, there is many posibility to use ‘other’ resource. I see it in the description:

“Use oh:iconName (openHAB icon), f7:iconName (Framework7 icon), material:iconName (Material icon) or iconify:iconSet:iconName (Iconify icon, requires being online if not in cache)“

but! The graphics in ‘other resources’ are completly in different graphic-style, so (in my humble opinion) finally we get the Picasso-style view of our Main page in OH.

Maybe someone like such a mixed-style by Picasso, but for me it looks nicer when the icons are in one style, even if they are ‘oldies but goldies’.

On the other hand - what happen if the ower of such a ‘external graphics resurces server’ mentioned by you abowe, finally decided to close the service with additional icons? Sa far I understand oryginal icons in OH are build-in into distribution (maybe am I wrong)?

The icons don’t disappear when my server is offline so nothing will happen.
I don’t see the issue. You can go the other way, don’t use the stock icons at all, instead only use the icons from another provider which follow the same pattern … if you check the marketplace I’m pretty sure that there’s also icon packs there. At least I remember one being there.

You win! :slight_smile:
https://community.openhab.org/t/iconify-icon-provider-4-0-0-0-6-0-0-0/149990

Thank you!

F7 Icons come with the framework upon which MainUI is built.
Material Icons are actually a font and not a bunch of separate image files. This font comes with OH I beleive.

Only iconify relies on an external service. But of course you can find icons there and download them to be used same as classic OH icons so you are not relhying on an external service.

You don’t need an add-on for this any more. Iconify has been built in to MainUI for some time now. Just find the icon you like there and use if:<id of the icon> any place in OH that you would define the icon. For example, if:simple-icons:youtubemusic.

Note, SVG icons will come over as black. You’ll need to use an expression to set the color in your widgets as appropriate.

Could you give an example of such an “expression”?

Thank you very much for the detailed information and explanation. All my questions have been answered, so I don’t think I’ll be afraid to use a different icon set anymore :slight_smile:

Have a nice day!

My understanding is that the purpose of this addon is to actually bundle the icon resources into the addon, so that you can use (a subset of) iconify icons offline without even having to make that first request to the public server.

So this addon still serves a purpose for those who have a completely offline installation.

Sitemaps: Sitemaps | openHAB
MainUI: Widget Expressions & Variables | openHAB

Example widget:

uid: rlk_temperature_list
tags:
  - list
  - marketplace:126594
  - temperature
props:
  parameters:
    - description: Widget title
      label: Title
      name: title
      required: false
      type: TEXT
    - context: item
      description: Item to display
      label: Item
      name: item
      required: false
      type: TEXT
  parameterGroups: []
timestamp: Aug 16, 2021, 11:24:52 AM
component: oh-label-item
config:
  action: analyzer
  actionAnalyzerCoordSystem: time
  actionAnalyzerItems: =[props.item]
  icon: f7:thermometer
  iconColor: '=(#props.item > 75) ? "red" :
    (#props.item > 55) ? "orange" :
    (#props.item > 32) ? "blue" : "purple"'
  item: =props.item
  title: =props.title

There are tons of examples on the marketplace. Changing icon coloring based on the Item’s state is one of the fundamental steps in custom widgets.