Thumbnail in notification

I just have a notification on my mobile with a thumbnail when I am at home with the same wifi as the home assistant. When I am at 5G or another wifi network, I have only the notification without the thumbnail.

I saw that I can solve this to get the images in the www of the config folder.

Is that right?

And if it is right I have two questions:

  1. how and where can I set the settings of the eufy camera that the images will be stored at /config/www?
  2. what is the link I have to set in the automation in stead of /api/image_proxy/image.garage_event_image?
alias: Save doorbell snapshot to file
description: ""
trigger:
  - platform: state
    entity_id: binary_sensor.doorbell_person_detected
    to: "on"
action:
  - delay:
      seconds: 2
  - service: downloader.download_file
    data:
      url: >-
        http://192.168.6X.18X:8123{{ state_attr('image.doorbell_event_image', 'entity_picture') }}
      filename: doorbell_snapshot.jpg
      overwrite: true

It waits for a person detected event from the doorbell.
Then it waits 2 seconds (to make sure the image is fully updated).
After that, it uses the downloader integration to save the snapshot to /config/www/.

The final file will be saved to: ( * )
/config/www/doorbell_snapshot.jpg (Downloader -the path)

Which is accessible from any network (even from outside your home) at:
https://<your-homeassistant-url>/local/doorbell_snapshot.jpg - (Downloader- the path)

Thank you very much! I tried it, but if I do http://homeassistant.local:8123/local/doorbell_snapshot.jpg or http://192.168.XXX.XX:8123/local/doorbell_snapshot.jpg, I do only get the image if I use the wifi of the homeassistant.

If you have Nabu Casa remote access:
https://.ui.nabu.casa/local/doorbell_snapshot.jpg

DuckDNS
https:// “your-home”.duckdns.org/local/doorbell_snapshot.jpg

(HTTPS)