No image from generic camera in Android notification

Hello!

I have set up a generic camera (I only configured the still_image) that works fine.

Now I tried to attach an image to my notification:

action:
  - service: notify.mobile_app_s23
    data:
      message: Doorbell
      data:
        image: /api/camera_proxy/camera.192_168_178_48

But the image doesn’t show up in the notification

I tried this which works fine:

action:
  - service: notify.mobile_app_s23
    data:
      message: Doorbell
      data:
        image: https://github.com/home-assistant/assets/blob/9b782fe562cbd4e6139f9be17d8e7befafa5f945/logo/logo.png?raw=true

Do you see any mistakes in my Code?

Link (image) must be web accessible

The working image was accessible from web.
You may save file to www folder then send that link. Be aware that link will have NO password. I think you can use token to allow login access but dont have example to share.

1 Like