besides that key word (btw, there is another variant in core for that too) there is a more fundamental challenge with those served images, and that has more serious implications: HTTP - Home Assistant
the files in www, or /local, are not protected.Thats why I had tried to first serve those from within the folder I save my snapshots in, in the /media share (opposed to the /config share).
But that requires one to always use a secure connection over https://, and I don’t do that locally, so my Frontend shows the broken image placeholder.
For now, Ive moved to the local version instead, but maybe some of the other options allow us to use the /media path and still be on http:// connection.
yes:
camera:
- platform: local_file
file_path: /media/snapshots/camera_oprit.jpg
fles that challenge. It allows to use the protected /media source files, and still have an updated image in the Frontend.
Just thought this could be helpful in the quest for serving those images and keep safe.
(there is ofc another ‘issue’ with the solution for the /media solution: it does not show the date of the taken snapshot as the new image format does, it shows the state of the camera. Why it does that I am not sure, but that is what is does…)