Iconify icon provider [3.0.0.0;4.0.0.0)

logo

Iconify is project delivers more than 150 000 icons for further use.

Since there are lot of icons best way to look them is official iconify browser: https://icon-sets.iconify.design.
This addon is a third party extension which packs some of icons and make them available for later use by all openHAB user interfaces.
For complete readme and examples please check addon README.adoc.

Version 2023-02-11

First release.

Resources

https://connectorio.com/CFHi_iconify.jar

https://github.com/ConnectorIO/connectorio-addons/tree/master/bundles/org.connectorio.addons.ui.iconify

2 Likes

Thanks for this addon! With the latest release of the Android app you can use the new icon syntax to display these icons in the Sitemap. The icons are also colored based on the background color, i.e. white in the dark theme and black in the light theme.

Hello @mueller-ma,
Thank you for information. The iconset addon does deliver SVG files which are available for offline use. If android app attempts to request icons from icon servlet both will work fine together! :wink:

1 Like

Hi, are there any plans to update this binding for openHAB 4?

I recall there were some changes in handling of icons in basicui, however they did not affect IconProvider contract/interface. Is there any issue with iconify under OH 4?

I installed the addon, but I cannot see the icons, e.g. oh:mdi:palette should display palette - Material Design Icons - Pictogrammers, right?
The Readme says that the addon is for openHAB <4, so I thought that some update is required: https://github.com/ConnectorIO/connectorio-addons/blob/master/bundles/org.connectorio.addons.ui.iconify/README.adoc

When I open https://openhab/settings/addons/marketplace:144508 I see the following log line: [nity.CommunityMarketplaceAddonService] - Could not determine bundle name from url: https://connectorio.com/CFHi_iconify.jar
And when I install it: [arketplace.MarketplaceBundleInstaller] - The marketplace bundle was successfully installed but doesn't start: Could not resolve module: org.connectorio.addons.ui.iconify [290] Unresolved requirement: Import-Package: org.openhab.core.i18n; version="[3.0.0,4.0.0)"

All right, I see where issue comes from. I’ll update it to work with OH4, probably its just a manifest tweak.

According to the docs, shouldn‘t this be

oh:mdi_palette

Dumb question, is this addon still needed with openHAB 4 ?
AFAIK, BasicUI had been updated to support Iconify icons….

Edit, sorry, it was support for f7 and material icons which has been added.

For Basic UI, iconify and material icons are supported in 4.0. F7 icons arr supported in 4.1

I think I saw that iconify support was added to iOS app.

The problem is the Android app that supports none of these icons. The workaround is to rely on an addon providing some of these icons as an OH icon set.

I don’t think so. It’s <icon source>:<icon set>:<icon> => oh:mdi:palette.

The mdi icon set bundled with this addon has way more icons than the material icons: Material Design Icons - Icon Library - Pictogrammers

This addon stores icons on the server, so there’s no need for all clients to make web requests to arbitrary servers. All UIs need to maintain a mapping (icon pack => icon url) for F7, material and maybe more in the future.

Hmm, the bundle readme shows different example….

I see. This is some addon-specific syntax as it merges all icons in the classic icon set.

1 Like

Indeed, there was some hacky way getting iconsets working with OH 3.x, hence delimiters used to separate real iconset. I have to check, cause with 4.x changes we got a chance to share same syntax everywhere.

I’ve just deployed build for OH 4.0: Iconify icon provider [4.0.0.0;5.0.0.0).