My Snapshot are allways the same capture?!

Hello everyone
Lisen to this scenario:

Having Hikvision Intercom 8003 - Via Http, I obtain the most recent capture and everything is fine.
When I use the snapshot action on my automation, however, I receive the same image that he took for the first time… it takes the same image that I took for the first time every time. (even though it is now daytime, the image was taken at night)
Even if this is a different file generated for each capture, it still produces the same capture…

What did I do wrong?
Thank you guys,

Asaf

More info from my Generic Camera:

http://admin:@192.168.1.192/ISAPI/Streaming/channels/101/picture

And the automation:

id: ‘1691258970627’
alias: New Automation
description: ‘’
trigger:

  • platform: state
    entity_id:
    • sensor.primary_intercom_gate_entrance_1_call_state
      from: idle
      to: ringing
      condition: []
      action:
  • service: media_player.volume_set
    data:
    volume_level: 0.1
    target:
    device_id: f98a0914d114c0106fa458ae22f6f3a2
  • service: notify.alexa_media_echo_master_bedroom
    data:
    message: Hey God someone at the entrance
  • service: notify.alexa_media_echo_kitchen
    data:
    message: Hey God someone at the entrance
  • service: camera.snapshot
    data:
    filename: >-
    /config/www/tmp/intercom_entrance_{{ now().strftime("%Y%m%d-%H%M%S")
    }}.jpg
    target:
    entity_id: camera.intercom_entrance
  • service: notify.mobile_app_iphone_x
    data:
    message: There is someone in the front Door
    title: Door Bell Rings
    data:
    image: >-
    /config/www/tmp/intercom_entrance_{{ now().strftime("%Y%m%d-%H%M%S")
    }}.jpg
    entity_id: camera.intercom_entrance
    actions:
    - action: URI
    title: Open Cameras
    uri: https://SomeURL.com/dashboard-intercome
    mode: single

Using RtsptoWebRTC
And FriGate

I don’t know the exact problem of your setup, but if you are taking snapshot for the purpose of using inside notification, you can directly mention camera entity and it will generate the snapshot without any file system mess.

Further on, frigate or rtsptowebrtc are also producing snapshots available to you.

So i dont need to save capture at all it will display the latest without saving it to a folder in www ?

Can you please explain me what to wrote in the automation in order to trigger snapshot via figate or webrtc?
Since i dont know how to do that :confused:

The all idea is to get snapshot to my phone or watch as soon as some one ring the doorbell

Have you go through the link i shared?

Im not sure I completely understood how to do that…
I tried to disable the snapshot and under notification, I created the following (data):

image: /config/www/tmp/intercom_entrance.jpg
entity_id: camera.intercom_entrance
actions:
  - action: uri
    title: Open Camera
    uri: /dashboard-intercome

But yet again the picture is sent with old capture that keeps repeating with the same old view:confused:

service: notify.notify_service
data:
  data:
    image: /api/camera_proxy/camera.intercom_entrance

Thank you, but it’s still not working …

The logs display that the password is not correct and I get 401 unauthorized but when I check the link in browser, it displays the latest while inputting the exact admin password

update:
If i reload the page the picture get refrashed but if i click enter on the url it does not let me see the capture, and i get invalid operation :confused:
It looks like that might be the reason why i get 401… and nothing get updated

But this is supposed to be used inside mobile app notification context, you cannot use this as an external link.

Inside notification automation, home assistant would take care authorization, but if you are using this externally, it requires tokens and other stuff.

Did you successfully solve your problem? I have the exact same intercom and exact same problem.
Seems to be kind of caching problem related to the camera snapshot service. When I save snapshots to the www folder with timestamp in filename I get several files, all with the same picture.