Can't load custom images

I’ve got a few images I ported over from my old HASS instance on a RasPi AIO to a new hass.io

I’ve made a directory in /config called pics and placed them there.

To my known_devices.yaml file, for example, I’ve added picture: /config/pics/steph.png and so on.

The picture does not load, nor produce an error message in the log.

I am unsure of how to troubleshoot this, beyond stating that this is pretty much identical to how I did it in the old AIO instance.

Any ideas?

1 Like

Try clearing your cache or accessing HA in incognito mode (whatever your browser calls it) and see if they load. Sometimes the browser cache can cause issues like this.

Negative.

example

Not sure, but i think you have to use another folder/path.

Also negative. I created /www/ and placed files there. after confirming the files were there I restarted HASS but still no icons. I decided to reboot the RasPi, but that seems to wipe out the www directory. It’s gone completely.

I repeated this to make sure it wasn’t a fluke. Surely enough the www directory is scrubbed from the drive root upon startup.

:-/

Create the www folder in the config folder
/config/www will be available as “local”

So /config/pics/steph.png should be /local/steph.png

2 Likes