Home Assistant Notification with image

Hey guys,

I’m using Home Assistant and a reolink camera. I’m also able to test with a regular iPhone and Android Smartphone. There my settings works just fine. The Fairphone 5 I’m using is my daily use phone. So I want to have a screenshot as notification when somebody is ringing my doorbell. This isn’t possible with the Fairphone. Do you have any tips for me to get this working? As mentioned, the exact same setting is working with a regular Android and iPhone.

The automation in Home Assistant is simple as that


alias: Jemand hat geklingelt!
description: ""
triggers:
  - entity_id:
      - binary_sensor.klingel_besucher_2
    to:
      - "on"
    trigger: state
actions:
  - action: notify.mobile_app_fp5
    data:
      message: 🔔 Jemand hat geklingelt!
      data:
        entity_id: camera.klingel_schnappschusse_in_hochauflosung
mode: single

The screenshot is missing then, I only receive the text.

Best regards and thank you. :slight_smile:

I save a snapshot image to a folder that is accessible within HA, rather than using a camera device, and it displays.

data:
  message: "{{ now().strftime('%H:%M') }} :- Somebody at the door."
  title: Front Door
  data:
    image: >-
      https://ha.myserver.example/local/reolink/0/reolink_front_latest.jpg
    visibility: public
    actions:
      - action: URI
        title: Open Cameras
        uri: /dashboard-security-cams
action: notify.mobile_app_fp3

(This is just the notification part of a much larger automation)

Do you have maybe configured something else?

I added that this to my automation:

alias: Jemand hat geklingelt!
description: ""
triggers:
  - entity_id:
      - binary_sensor.klingel_besucher_2
    to:
      - "on"
    trigger: state
actions:
  - action: camera.snapshot
    metadata: {}
    target:
      entity_id: camera.klingel_schnappschusse_in_hochauflosung
    data:
      filename: www/reolink/reolink_front_latest.jpg
      message: 🔔 Jemand hat geklingelt!
  - action: notify.mobile_app_fp5
    data:
      message: "{{ now().strftime('%H:%M') }}: Jemand hat geklingelt."
      data:
        image: https://mypublicurl/local/reolink/reolink_front_latest.jpg
        visibility: public
        actions:
          - action: URI
            title: Open Cameras
            uri: /dashboard-security-cams
      title: Haustür
mode: single

I can see that there is the screenshot in the www-Folder. Still I don’t see any screenshot in my notification. Wether I’m in wifi or not.

Now it works, just changed the url to

/local/reolink/reolink_front_latest.jpg
1 Like

Yes, pretty sure the path has to be under /local for it to work.