You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Example Action under Notifications / Attachments / Standard Attachments / Example action does not seem to work.
automation:
- alias: Notify Mobile app attachmenttrigger:
...action:
- action: notify.mobile_app_<your_device_id_here>data:
message: "Something happened at home!"data:
# an example of an absolute urlimage: "https://www.home-assistant.io/images/default-social.png"
When I tried this, I do get the mobile notification, however, I don’t see a thumbnail, and when I expand it, it says, “Failed to load attachment - URLSessionTask failed with error: The internet connection appears to be offline”.
It appears that your home assistant server needs to be exposed to the internet, even if you want to only use absolute public URLs to another server. If this is the case, I would suggest noting this in the documentation as it feels misleading.
It appears that your home assistant server needs to be exposed to the internet, even if you want to only use absolute public URLs to another server. If this is the case, I would suggest noting this in the documentation as it feels misleading.
Hello on the same page you have linked we actually have a note about attachments requiring internet.
Attachments are required to be accessible from the internet
However for a full public URL (that is accessible in a browser) it should work as is. On Android the URL is accessed directly so this may be a iOS only issue as you describe. Have you tested the URL in a browser to make sure it loads without authentication? Authentication is only added with relative URLs.
The Example Action under
Notifications / Attachments / Standard Attachments / Example action
does not seem to work.When I tried this, I do get the mobile notification, however, I don’t see a thumbnail, and when I expand it, it says, “Failed to load attachment - URLSessionTask failed with error: The internet connection appears to be offline”.
It appears that your home assistant server needs to be exposed to the internet, even if you want to only use absolute public URLs to another server. If this is the case, I would suggest noting this in the documentation as it feels misleading.
Also see https://community.home-assistant.io/t/ios-notifications-with-public-images-on-a-private-server/
The text was updated successfully, but these errors were encountered: