Hi all,
I used to have a script that sent a picture from a IP camera to my telegram. Then I changed my cameras to Hikvision cameras and it doesn’t work anylonger. I have read lots of threads here but none of the suggestions work for me.
I have figured out that the url to the picture is here, and I can see the picture in Firefox if I use that url:
http://user:[email protected]/ISAPI/Streaming/channels/101/picture
my script is like this:
'send_picture_via_telegram':
alias: test to send picture
sequence:
- service: notify.telegram
data:
title: Picture from camera 1
message: 'message'
data:
photo:
- url: http://user:[email protected]/ISAPI/Streaming/channels/101/picture
-
If I trigger the script from home assistant, I only get a message but without the picture. Sometimes I don’t even get the message at all.
-
If I remove the three last rows, so the message will be without the image, it never fails.
-
The image size from the camera is 2560*1440 px. In some thread someone suggested to use another channel e.g. 201 instead of 101 to get a lower resolution. I tried that but then nothing happens when I trigger the script. I also tried to set the camera to the lowest resolution, but it still doesn’t work.
If anyone can help me with this, it would be great!
/p