HELP! Snapshot to mobile notification

Hi guys,

I recently transitioned from Smartthings and doing my first steps in yaml; right now trying to keep it as simple as possible, since I have no programming background.

Basic lighting and sensor automations are done, but now I am trying to get a snapshot from a camera pointing at the frontdoor (triggered by the door’s contact sensor change of state) to be sent to my iphone as a notification.

I created a folder at /config/snapshots and, in the config.yaml, I pointed the external_dirs to that folder. This worked well because the folder is filled with snapshots from my recent tests.

However, somehow, I am not beeing able to send the image to the iphone after the snapshot is taken.

My current automation is like this:

I mean, I receive the notification, but the image I receive is like a media player, all black, without any media to play. Is the data section in the notification part not well written?

Any help will be very appreciated :slight_smile:

Thank you very much!

Filipe

I think you need to place the snapshot in the /config/www directory (or a subfolder within that location) and then the notification should refer to /local (plus whatever subfolder you used, if any).

https://www.home-assistant.io/integrations/generic/#local-image

Thanks for the suggestion, but didn’t work…

This is the result after changing to the www folder:

Any idea?