Camera Snapshot in Lovelace not updating

Hi I have just setup a node red flow that takes a snapshot of a camera when someone presses the front door. Now I am trying to get a card in lovelace to show this snapshot JPG. The idea then is to cast it to a google smart screen (which I am hoping will become more reliable in future HA releases).

I have made a card which shows the jpg but it does not update when you grab a new snapshot it still shows the old one. If i navigate to the URL directly in the browser and clear the browser cache it works and updates in lovelace too. p.s. I have tried making an iframe in hopes that is would update the jpg.

any ideas???

P.s. this is my lovelace card.

hold_action:
  action: none
image: 'https://######.org:8123/local/snapshots/doorbell_latest.jpg'
tap_action:
  action: none
type: picture

You have to make a camera entity. That image won’t update, it will be cached.

camera:
  - platform: generic
    still_image_url: 'https://######.org:8123/local/snapshots/doorbell_latest.jpg'

And use a picture entity card, picture cards do not update.

Thanks Petro. I knew it would be something simple like this.

1 Like