I have some picture cards on my dashboard reading pictures (produced by camera snapshots) in the www local folder.
The camera snapshots ARE updating the snapshot files in the www local, but the dashboard’s picture cards are not updated, keeping the old pictures in it.
Is that normal bevior ? I use that on a tablet running Fully Kiosk, but how Can I force the picture card to re-read the latest pictures posted on the www local folder ?
I assume it has to do with cache memory but … ??
exact … not a live camera, but a picture (same filename) which is updated every time a new camera snapshot is taken.
So not in a picture card you mean ?
I checked the docs …
but I think you are talking about this below, but my picture is not a camera or picture entity, but a snapshot which was taken via doorbell :
As I said - use “image” entity.
If you do not have it - it should be created for a particular file path.
Try this way, may be then you will get an automatically updated picture on a card.
I appreciate you r help but do not get you.
I SEE this option of image entity … but in that case I need to use one of the available entities, which is NOT what I want to do.
I want to display a calera snapshot (file) saved every time someone rings the bell.
My files are located here :
If it works, I’d like to be able to do so … but It is the first time I hear I can create an image entity from a snapshot.
How can I do that ?
For the moment, the only image entities I see are for the persons of my family …
ok - now got it - sorry English to French translation … “Picture entity card”, and not “Picture card” which I was using.
I will give it a try tomorrow, many Thanks !!
Sometimes the browser have a say too.
In this case the browser might read the html code and see that the URL is the same as before, so it decides to use a caches picture instead of wasting bandwidth getting the picture again.
With URLs you usually add ?tine=, where timestamp is the actual timestamp inserted dynamically through your code.
This will make sure that the browser thinks it is a new file every time.
However, I do not know if the image path you provide us actually an URL, so I am not sure if that trick works here. The issue might still be the same though. It is just the solution that does not work.
Another way is to turn off browser caching completely, but that have to be done in the browser and on all devices and browsers then.
In general I would advise to at least turn off browser caching for your primary browser used for editing the dashboards. It will prevent you from the same issue there.
Exact Wally, and I am investigating this solution with adding a variable at the end of my URL.
For the moment I try this :
/local/Camera-snapshots/doorbel-snapshot1.jpg?v=‘{{now().strftime(’%Y/%m/%d %H:%M:%S’)}}’
… but it doesn’t translate into the timestamp being added to the URL, instead the URL that is send is just the same :