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
tom_l
February 18, 2019, 10:08pm
2
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
PapaLanc
(Grey Lancaster)
January 15, 2024, 6:19pm
4
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
OzGav
(Oz Gav)
January 16, 2024, 2:38am
5
Sounds like you aren’t on the latest version of HA where they reverted the naming of that directory to config
PapaLanc
(Grey Lancaster)
January 16, 2024, 1:51pm
6
Thanks, latest and greatest ?
* Core 2024.1.3
* Supervisor 2023.12.0
* Operating System 11.4
* Frontend 20240104.0
www was already there, and I added this
tom_l
January 16, 2024, 8:56pm
7
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
).
PapaLanc
(Grey Lancaster)
January 17, 2024, 5:09pm
8
A vm on synology using the ova file
Install Home Assistant
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
OzGav
(Oz Gav)
January 19, 2024, 8:05am
9
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?
PapaLanc
(Grey Lancaster)
January 19, 2024, 8:25pm
11
yes it appears to be case sensitive
Like I said image:
works
OzGav
(Oz Gav)
January 19, 2024, 11:00pm
12
If you have something that works then what is the problem?