[SOLVED] Images with /local/ doesn't work - help

Hi. I have a problem with images (maybe a noob question but I don’t know the structure of files with docker etc.). Hassio is running on Raspberry pi3.

Everytime I use /local/ patch for images - they are unavaliable. When I use full patch f(eg http://www.server.com/image.png) everything works well.
For example:

type: picture-glance
entities:
- switch.living_room_light
- light.desk_light
- script.tv_power_toogle
- script.soundbar_power_toogle
image: /local/living_room.jpg

I put images to my /config directory in HA. Maybe I need to put the images somewhere else? Please help

Put your images in /config/www/

If the www folder does not exist, create it and restart HA.

1 Like

Works like a charm - thank you :slight_smile:

well I cannot figure this local out

you say /config/www mine is actually homeassistant/www

this works

image:
  - file: http://192.168.1.50:8123/local/dad2.PNG
    id: my_image
    resize: 150x150
    type: RGBA

have tried “/local/dad2.PNG” and diff variations no luck

Thanks,
Grey

edit made a folder config the www and rebooted, still no joy

Sounds like you aren’t on the latest version of HA where they reverted the naming of that directory to config

Thanks, latest and greatest ?

* Core   2024.1.3
* Supervisor   2023.12.0
* Operating System  11.4
* Frontend   20240104.0

image

www was already there, and I added this

image

What install method did you use?

Is it some weird supervised / container install of HAOS?

https://www.home-assistant.io/docs/configuration/#editing-configurationyaml

If you use Home Assistant Container, you can find configuration.yaml in the config folder that you mounted in your container.

If you use Home Assistant Operating System, you can find configuration.yaml in the /config folder of the installation.

If you use Home Assistant Core, you can find configuration.yaml in the config folder passed to the hass command (default is ~/.homeassistant).

A vm on synology using the ova file

System information

Version core-2024.1.3
Installation Type Home Assistant OS
Development false
Supervisor true
Docker true
User root
Virtual Environment false
Python Version 3.11.6
Operating System Family Linux
Operating System Version 6.1.71-haos
CPU Architecture x86_64
Timezone America/New_York
Configuration Directory /config

Sorry I’m not clear what the problem is in relation to ha-floorplan

Why is your extension in png in CAPS?

Is that how the file is represented?

yes it appears to be case sensitive

Like I said image:

works

If you have something that works then what is the problem?