I’m using Asterisk to alert FreePBX via NodeRed when a caller rings. I have about 20 regular callers whose names are linked to a picture on my system. I’m trying to get Home Assistant to display the picture in lovelace when they ring. It has to happen in a timely fashion if it’s to be of any use at all.
At the moment I’m doing it by overwriting an image file stored locally on the same server as Home Assistant. In theory Home Assistant is able to detect the camera image file has changed and update it.
In practice for me at least this is a really slow process. Occasionally it happens within a few seconds (but this is rare). Sometimes flicking from one tab to another prods it into waking up but usually I’m finding I have to reload the page to get the correct (up to date) image to show.
Surely this can’t be right?
Is there a better way?
I’m using the local file camera component
- platform: local_file
file_path: /config/www/images/caller.jpg
name: caller
Cheers!