Issue with known_devices image + www folder + local images

Hello there - I’m struggling to solve an issue that I just cannot seem to crack.

I would like to use custom local images for known_devices. I have hass.io installed, and in the “config” folder, I have created a new “www” folder. I placed two test images there.

When I navigate to http://homeduckdnsaddress:8123/local/test.jpg, I get a “404: not found” error (I do not have LetsEncrypt set up so it’s not a https issue). I cannot get the image to show up for my known devices either.

I have read everything I can find on the topic around here and cannot seem to find a solution. Did I create the www in the wrong location? Is there something special that I need to do in Samba/SSH to get it to point to the right image or location.

Below is the path of the images:

Capture

I have tried resetting my HA instance - no luck.

Much appreciated!

It doesn’t work like that for me either but I can use local images in the frontend… what are you actually trying to do with the images?

Just to be sure: did you restart Home Assistant after creating the www folder? From the documentation:

If you’ve had to create the www/ folder for the first time, you’ll need to restart Home Assistant.

I did restart HA after creating the “www” folder. Tried that a few times. Still no dice.

David - thanks, but still no luck using the images in the frontend.

Do you have SSL enabled? try https://homeduckdnsaddress:8123/local/test.jpg

No SSL enabled - not an HTTPS issue.

I can navigate to:
http://ip-address:8123/local/icons/MoonPhases/SFirstQuarter.jpg

so I think you want
http://ip-address:8123/local/test.jpg

Using local IP address also does not work.

so try http://myduck.duckdns.org:8123/local/test.jpg

Yes - I have tried both of those and continue to get the 404 error as described above.

Doh! I see that was what you originally tried. No idea why it’s not working for you - it works for me.

So you definitely don’t use ssl - no LetsEncrypt?? or https://

just checked… I can go to:

https://my-duck.duckdns.org:9123/local/icons/dark_sky/clear-day.png as well with no issues

Also moved graphic to /local/ and it worked there as well

Nope - no SSL! Have used HassIO for about 6 months and have done a lot of configuration work - everything works fine. This is just some weird issue I can’t seem to figure out. Read a lot of stuff out there and - like you - folks seem to not have any issues with the steps you describe. Not sure why it’s not working for me!

On my hassbian, to navigate http://homeduckdnsaddress:8123/local/test.jpg .

the test.jpg is in www folder which www is inside homeassistant direct folder.

You can try move your www folder inside config folder out to HASSIO direct folder and restart ha then navigate to http://homeduckdnsaddress:8123/local/test.jpg

In hassio the config/www folder IS the local folder.

“In hassio the config/www folder IS the local folder.”

This!! This is the golden piece of information I’ve spent hours searching for!
Thank you so much!

Is there some official documentation where I should have found this information already?