I have noticed that HomeAssistant does not recognize that an existing image has been replaced or deleted. (In config/www)
Even if I delete the file and go to the link again (cache cleared even tried other browser) the same image is still displayed. For me this is a problem because I have an automation that sends a notification to the phone with a screenshot of the camera, the screenshot is stored in config/www before and replaces the old image.
Does anyone know how to clear this internal Home Assistant cache?
?
Ok you opened a picture over as example: /local/test1.jpg
Replaced test1.jpg with a different picture than it was before, cleared the cache of your browser
and opened the /local/test1.jpg again? Well for me this is not working instantly, it takes a long time until it changes to the new picture.
Ok Im not exactly sure what you mean with that one.
The screenshots are saved in /local/go1984/garage.jpg as example.
Every time go1984 reports movement, go1984 instantly saves a screenshot to /www/go1984/garage.jpg and calls an event in HomeAssistant.
Do I have to create a camera from the local file cause there is no MJPEG stream of the camera? And what do I have to call in the automation then?
This is still happening, and responses such as clear the cache or restart homeassistant don’t address the issue or are workable - I have both html and png files that are in the homeassistant/config/www directory, one main html page which is pointed to from the left menu via a panel_iframe in configuration.html is very hard to refresh - refreshing in chrome doesn’t help. Has this been a constant (unsolved) problem since '21?