Find addon slug

Hi everybody,

Is anybody can tell me whats the simplest way to find an addon slug please ?

Thanks

docker ps

then you’ll see a list of docker containers, with names like addon_a0d7b954_zerotier

The slug is a0d7b954_zerotier

2 Likes

Though the simplest way is to visit the supervisor / addon page. The slug in in the URL:

https://mydomain.duckdns.org/hassio/addon/15ef4d2f_esphome/info
                                          ^^^^^^^^^^^^^^^^
                                          ||||||||||||||||
3 Likes

Thanks a lot !!

I ve got it too with glances !!

Just in case you did not realise, each addon has a different slug.

Hi,

some addon have the same slug for me, like glances, ssh, phpmyadmin, vscode or nodered.
Is it normal situation or a bug in my installation ?

thanks a lot

if that slug is core_<addon_name> no, that is normal.

How is (eg) a0d7b954_appdaemon the same as a0d7b954_esphome?

Hi,

Look with glances

Does someone know how this addon slug prefix is calculated?
To me it looks like an CRC32 hash.
Maybe from the github repo?

It is partially set up in the addon config.yaml, as the docs say Add-On Configuration | Home Assistant Developer Docs

Where the preceding bit comes from, i haven’t discovered.

This describes the slug generation

1 Like

Thanks for your hint @nickrout.

So for completness its simply the first 8 characters of the SHA1 hash of the repository.

Example:

  • Given Github repo
  • https://github.com/brenner-tobias/ha-addons.
  • Paste the url into http://www.sha1-online.com/ and you will get:
  • 9074a9fa42d37d9e5aebe73c2cc8ba027572da23
  • First 8 characters are:
  • 9074a9fa
1 Like