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…
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
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.
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
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.