Help Needed: Automation for Eufy Doorbell Camera Notifications with Image

Hi everyone,

This is my first time posting here, and I’m stuck on an automation issue. I have a Eufy E340 Video Doorbell Camera, and I’m trying to set up an automation that does the following:

  • Detects when a person is at the door.
  • Sends me a notification with an image of the person.

The problem? The image I receive is from the event before the one that triggered the person detection. Essentially, the automation isn’t sending the correct image.


What I’ve Tried (Without Success)

  1. Adding Delays: No improvement.
  2. Taking Two Snapshots (image.snapshot): Didn’t resolve the issue.
  3. Using /api/image_proxy/image.front_door_event_image/entity_picture: Didn’t work.

Automation Code (Current Version)

Below is the automation I’m working with. The action using the /api/… does not send an image and the action that generates a snapshot is the previous image.

alias: "Notify: Doorbell On Person Detection With Image and Summary"
description: "Notify: Doorbell On Person Detection With Image and Summary"
triggers:
  - entity_id: binary_sensor.front_door_person_detected
    to: "on"
    trigger: state
conditions: []
actions:
  # This doesn't send an image at all.
  - action: notify.mobile_app_android
    metadata: {}
    data:
      data:
        image: /api/image_proxy/image.front_door_event_image/entity_picture
      message: Someone Is At The Front Door
  # This gets the previous image - even when called multiple times
  - action: image.snapshot
    metadata: {}
    data:
      filename: /config/www/snapshots/door_bell.jpg
    target:
      entity_id:
        - image.front_door_event_image
  # This works
  - metadata: {}
    data:
      image_filename: /config/www/snapshots/door_bell.jpg
      prompt: >-
        Briefly describe what you see in this image, only if the image has a
        person in it. Don't describe stationary objects or the house.
    response_variable: generated_content
    action: google_generative_ai_conversation.generate_content
  # This works put I receive the previous image
  - action: notify.signal
    data:
      title:  Front Door Camera
      message: " {{ generated_content.text }} "
      data:
        attachments:
          - /config/www/snapshots/door_bell.jpg
mode: single

What I’m Looking For

Does anyone else have experience with Eufy Doorbell Cameras and can help me figure out why the snapshot is not syncing correctly with the person detection?

Specifically, how can I ensure the image sent in the notification matches the actual detection event and is not outdated?

Any tips or examples would be greatly appreciated!

I’ve recently experienced same problem. Had been fine since initial automation created over a year ago, then about a month ago I get the wrong images. Any advice appreciated.

Did you ever get a resolution to this? I’m trying to get image notifications too. Grok insists that the only way is forcing it this way:

actions:
  - service: eufy_security.start_p2p_livestream
    target:
      entity_id: camera.doorbell
  - delay: "00:00:03"
  - service: eufy_security.generate_image
    target:
      entity_id: camera.doorbell
  - service: eufy_security.stop_p2p_livestream
    target:
      entity_id: camera.ingalara_doorbell
  - service: notify.parents
    data:
      title: Human Detected
      message: There is motion at the door!
      data:
        image: /api/camera_proxy/camera.doorbell

For me the image.doorbell_event_image entity does seem to contain the last image. The camera.doorbell image seems stale though.
But now even the text notifications have stopped working for some reason.

Same issue here. “Event Image” does contain an image that I could use but the resolution is very low. Someone found a solution for this?