Doorbird - Last ring Image attached to HA Push Notification

Hi guys,

when someone rings my Doorbird I receive a push notification from HA. I want to add the current image of the Doorbird to the push notification, so I directly see which person rang.

Problem: It seems difficult to retrieve the “last ring” image - Although the Doorbird integration provides a specific entity for it (camera.doorbird_last_ring). I cannot integrate it. I also dont find any absolute URL that I could add.

Any ideas how my config must look like to attach the most recent image (last ring) to the push?

Current setup:

action:
  - service: notify.mobile_app_pixel_6
    data:
      message: Doorbird - Klingel
      data:
        image: "camera.doorbirdhaustuer_last_ring"
mode: single

You can just do something like this:

        sequence:
          - service: camera.snapshot
            target:
              entity_id:
                - camera.front_door_bell
            data:
              filename: /config/www/last-doorbell.JPG

Create a snapshot. Then:

              - service: notify.phone_notifications
                data:
                  title: Doorbell Ring
                  message: Someones at the door.
                  data:
                    tag: Doorbell-general
                    group: Doorbell
                    channel: Doorbell
                    timeout: 180
                    ttl: 0
                    priority: high
                    notification_icon: mdi:doorbell-video
                    actions:
                      - action: URI
                        title: Live
                        uri: "{{ linkurl }}"
                      - action: URI
                        title: All Cameras
                        uri: /my-home/cams
                      - action: front-door-unlock
                        title: Unlock

The link would be https://URL:/local/last-doorbell.JPG

Sounds great! I will try it tomorrow!

Have you tried it? Was it the solution for you?

If anybody finds this via googling like I did, here’s a much simpler solution (maybe this wasn’t available when the original post was written).

  - alias: "Doorbird Klingel 1"
    trigger:
      platform: event
      event_type: doorbird_doorbird_klingel1
    action:
      - service: notify.mobile_app_aarons_iphone
        data_template:
          title: "Türklingel"
          message: "Es hat bei Aaron geklingelt!"
          data:
            push:
              badge: 0
              interruption-level: time-sensitive
            presentation_options:
              - alert
            entity_id: camera.doorbird_live

The relevant part is entity_id: camera.doorbird_live. This will automatically create a snapshot from the live feed and attach it to the push notification.

Tried it and works great.

See Dynamic attachments | Home Assistant Companion Docs

For Android, it reads:

Android users can also use /api/camera_proxy/camera.name where camera.name is replaced by the entity ID of the camera you wish to use.

Haven’t tried this, but this also sounds pretty straight-forward. Maybe one of the Android users here wants to try and report back?