Create a new Dynamic Icon

Hi

How I can create a new dynamic icon? I already have the 4 .png images with the correct name, but I don´t know how to upload the images.

You need to upload your icons to /icons/classic:

http://docs.openhab.org/installation/linux.html#file-locations

thanks, were is that folder? in the main isn´t
imagen
one thing more… the icon had to have a specific o recomended size?

It depends on your installation, see my link above for the “Site configuration” :

I would make them the same size as all the others:
http://docs.openhab.org/addons/iconsets/classic/readme.html

I see all that locations, but I only found one location “icons” but there no was any classic carpet and the “icons” carpet was empty

root@homer:/etc/openhab2# more /etc/openhab2/icons/classic/readme.txt
Your additional icons go here.
Icons can be provided as png (32x32) or preferably as svg files.
ClassicUI and BasicUI can be configured to accept svg (default) or png icons.

Check out the openHAB documentation for more details:
http://docs.openhab.org/configuration/icons.html
1 Like

Thank you :smiley:

@luisrival please also read up on these documentation sections on icons:

1 Like

(time to PR this ----- into a new docs entry :))

1 Like

Thanks!!

1 Like

Oooh!
That must have ben my mistake long ago -.-

What do you mean? I’ve just recently cleaned up the docs page on icons: http://docs.openhab.org/configuration/items.html#icons Why link the wiki :sweat_smile:

1 Like

oh! ok.
Then we need either a redirect to that docs section or a modification to the /etc/openhab2/icons/classic/readme.txt link.

I’m on the go. Could you do that? https://github.com/openhab/openhab-distro/blob/master/distributions/openhab/src/main/resources/conf/icons/classic/readme.txt

1 Like

505