Pictures in portrait mode? I have managed to get my camera snapshot into the notification using below, but when expanding full size, I only get half of the picture. My security cam create portrait picture and it seems the “full size” image is expanding by width, not height. Is there a way to get the “full, portrait mode” picture in the notification?
If your Home Assistant instance is available externally you should use the external url, otherwise the image will only be displayed when you are on your home network.
Thanks. I managed to find a workaround. By using “ClickAction”, I now get the full image on my phone. As the new image overwrites, I sometimes need to refresh to get the latest image, but it works OK.
I had this working great last week and receiving notifications to my phone no problem. Then then I tested it last night notifications no longer work and I am also having the same error message.
So I just tested the cached image issue you were talking about. I have a simple script setup that will take a picture from a camera and it uses the same name. Calling the script shows the updated image in the notification, and not the old one that was sent. I can tell its a new image by the timestamp taken from the camera. Is it maybe cached if you send them back to back or something?
Also, I had this issue with html5 platform, not yet tested it with these notifications… But if I read other user comments about refresh issue, I think it’s the same issue i had with html5… It was always a cached image if I used the url link…
Same behaviour if you browse to a website with chrome… It displays the cache
So i just turned on the lights in the room to see if the image would change when I called my script and the updated image showed up immediately so it does not appear to be a cached issue here.
Yeah, testing it also, seems indeed better with priority and ttl setup…
But as I said, I had it with html5 , with this platform not tested yet… But it seems logical if it’s based on html5 , no? It’s an expected behaviour to show cache if the image comes from an http link…?