@robbiet480 Just testing some new flows in Node Red and I've noticed that push messages with image_url no longer show the image...
Example:
image_url: "https://www.test.com.jpg",
image_type: "jpg"
@Swiftnesses That isn鈥檛 a valid URL, maybe that鈥檚 why?
@Swiftnesses That isn鈥檛 a valid URL, maybe that鈥檚 why?
@robbiet480 It was a terrible example, my actual URL is valid 馃憤
@Swiftnesses can you post your full automation/script here, with an reactions you need to make for privacy?
I use node red, but basically I'm passing this:
msg.ios_notification =
{
title: "Duck Coop - Door Opened",
message: "The door has been opened, please check the image.",
image_url: "http://192.168.1.48:8090/webcam/a94df035fc91a158c1f9d7a1c769ca66/a94df035fc91a158c1f9d7a1c769ca66_raw.jpg",
image_type: "jpg",
target: "both"
};
This has worked until a recent build (not sure which!).
Edit, I must point out that the above is sent as:
{
"title": "{{{ ios_notification.title }}}",
"message": "{{{ ios_notification.message }}}",
"data": {
"push": {
"category": "{{{ ios_notification.category }}}"
},
"attachment": {
"url": "{{{ ios_notification.image_url }}}",
"content-type": "{{{ ios_notification.image_type }}}",
"hide-thumbnail": "{{{ ios_notification.hide_thumbnail }}}"
}
}
}
Normal push notifications work fine, including push categories (buttons), it's the image display that's stopped working...
I'm not hugely familiar (ok at all) with node red but are you possibly missing a value for hide-thumbnail anywhere or are this and category defined elsewhere?
Hi @TomBrien this is optional and in my test, I don't pass it...
Ok. I'm seeing that images behind a https url aren't working. Not sure if that's going to prove to be related
None https urls are about 50/50 for me. Literally just pressing call service 4 times back to back gave me two with image to without. I wonder if it is a timeout for HA to grab the image or something?
I'm not entirely sure, but this worked flawlessly before, so something has changed, sadly, I'm not sure what...
The images are also coming via my local network and the grab time is in the milliseconds...
I can confirm image no longer working in notifications after build 55.
I've tested all builds after 55 from 58 downwards. (I upgraded from 54 to 58, then i noticed the pictures not working. I then tried 57and 56 and noticed the same issue. Then installed 55 and all was good again.
This is the json a insert into home assistant.
{"message":"Ding Dong!","data":{"push":{"category":"camera","sound":{"critical":1,"name":"default"}},"entity_id":"camera.voordeur"}}
In build 58 I still have 0 % delivery of https attachments and about 50 % with http
Exactly the same issue here. Build 58 fails a lot. Version 1.5 never fails and the image is always in the notification.
Same here.....
I think i am having the same issue.
I have one node-red automation that sends an image to my phone with the beta and it isn't getting the images. The same notification sent to another phone running the old app is getting the image.
my image is using the duckdns link but have also tried the nabu casa link with no change.
I have also tested with the example from the documentation without success either.
https://www.home-assistant.io/docs/ecosystem/ios/notifications/attachments/
This is a killer, think for now I'm going to roll back to the old mobile build...
I can confirm this issue still exist in build 59
picture notification is one of the best features of the app, just installed version 60 and it doesn't look it is working but I will double check once home
Working on this tonight.
You sir, are awesome
it may be more complicated than thought.
Which was the last working version for notification?
Build 55 works perfectly, 56 doesn't :)
I am back on the 55 and works like a charm! also my apple watch shows the picture
Hi @robbiet480, what can we do to help on the debugging of this issue?
I鈥檝e tried a few different setups but haven鈥檛 concluded anything other than the fact that on https it almost never works, on http it鈥檚 hit and miss.
Could it be some kind of timeout that the app runs into when trying to download the image?
I am also available for help
Still on 55 all works
Same here. Is it related to the stream component?
Same here. Is it related to the stream component?
revert to 55, all works then.
This app should be a paid one like zone ninja for zoneminder, this would allow great people to work on it.
I wouldn't mind paying for it
Fixed! Traced down to a memory leak in Realm, our database. Please let me know if I need to reopen after the next build which should be out in ~3 hours.
@giuarb
You can support Robbie through Patreon
https://www.patreon.com/robbiet480/overview
@giuarb
You can support Robbie through Patreon
https://www.patreon.com/robbiet480/overview
I will
Installed version 60 but notification isn't working at all (of course I did the import push.....)
@giuarb Can you please share the payload you are sending?
@giuarb isn鈥檛 the latest version 61?
Oh good catch @tinglis1, yes, @giuarb, the latest version is 61.
FYI, I have tested it and it is working for me with v61.
sorry it is the 61, I have removed the 55, installed the 61, ,enabled auth for notifications, import push
I don't get any notification at all.
I have installed from remote by entering the duckdns https url
For me the issues seems to be resolved with build 61. Great work Robbie!
I do notice that sometimes the picture that is shown in the banner is not always shown. I had this in build 55 as well. It does not happen often but sometimes and it seems random.
It seems that images are still not always sent in the 2.0 app, where as the same notification always gives an image on the 1.x version. (my girlfriend is still running the 1.x app). I can't say when it happens and when not. seems random. Does the 1.x version also use firebird? Because I see this behaviour also in the zoneminder notification script which also uses firebird.
Exactly the same here as vandalon
I have about 50% succes rate :) (all notifications here should have images).
Maybe it's ok to re-open this issue?

Build 62 and no Images for me
Edit: Downgraded to 61, and then updated back to 62 seems to fix the issue
Since today it seems no image is getting trough and also camera live view no longer works. Both work perfectly in the old (1.5) app.
This is a known bug that sneaked in with b63. Plan is to release a new build in the coming days.
This is a known bug that sneaked in with b63. Plan is to release a new build in the coming days.
Any news on this by any chance ? :)
Since b67 everything seems ok again. But, it seems that since ios 13 (this could be coincidence) that notifications take way longer to arrive, about 30 seconds. This is usually not an issue but I also connected a doorbell to HA (via gpio) and 30 seconds before a notification is a bit long for a doorbell :)
Indeed appears to be working fine - I don't have the issues with the delay however, they arrive pretty much instantly for me
It seems, with the app open , notifications are instant. With iphone unlocked as well, When locked the delay seems to appear.
I just did some testing with latest build (b68) and notifications contains text only are almost instant (never more than 2 seconds delay), notifications with images can take a while longer I've certainly seen 30 seconds. Test scenario was phone locked without HA Companion App running in the background, so should be the worst case client side.
Awesome test. I can also say that with the 1.51 version of the app (the current one in the app store) my doorbell notifications are close to instant. (with image).
2.0 uses a different service for notifications so that could be the root cause. Can you create a new issue for this delay please? I think this issue can be closed and I'd prefer it not to get confused.
Most helpful comment
Working on this tonight.