Camera - Send & Save snapshot to mobile device when motion is detected with Conditions. Now with Custom Triggers!

@TheRealFalseReality I updated my HA today and now the camera snapshots are not saving to my media folder. It’s erroring out in trace.

Executed: December 19, 2024 at 8:48:19 PM
Error: Error generating content: 400 Provided image is not valid.
Result:
choice: default

Good morning. Any update on these issues? Thanks @TheRealFalseReality

It seems like it’s defaulting to the HA app. Are you SURE the you got the app slug correct for the REO app? I tested with an Android Phone Calculator app and it worked. app://com.google.android.calculator

No, Been trying to duplicate the results without any luck

What can I help with? I can send you log files, you can remote into my machine. Let me know. Thanks

Hi @TheRealFalseReality,

I want to pull the trigger on the 2025.5.x update but I’m worried that the configuration.yaml is being depreciated/removed, I need the following for some funtionality to work:

homeassistant:
  allowlist_external_dirs:
    - /config/www
    - /media
    - /media/snapshots/

camera:
  - platform: local_file
    file_path: /media/snapshots/last_motion_front_door.jpg
    name: Front Door Last Motion

Where would this YAML be configured when configuration.yaml is gone?

Thanks.

Hi, @TheRealFalseReality, everything is working fine and was easy to configure.

I’m just struggeling to execute my “script.door_open” for the experimental feature “action”.
Maybe you or someone can help me.

1 Like

Those are kinda more involved and I am not sure how to do all that yet…

@TheRealFalseReality
Hi, and at the begginng thanks much for a blueprint.
I’m struggling to see the saved pics (on external drive) during notification pop-up.
I’ve created a folder on one of NAS disks, shared with HA and I can access there.
I’ve added in configuration.yaml this line:

homeassistant:
allowlist_external_dirs:
- “/media/Snapshots/video_doorbell”
- “/media/Snapshots/”

On this step - no errors.

I also modified the line 452 in your blueprint
snapshot_access_file_path: ‘{{ snapshot_create_file_path }}’" (to avoid transfer to media/local)

No errors, issues.

I’ve added path in automation itself like this:
/media/Snapshots/{{ states[camera].object_id }}/last_motion.jpg

And here I’ve encountred an issue the file, the snapshot itself saves on given path, also in archive, BUT during notification I receive only text message without any media no snapshot.

What might be the issue here?

It’s been almost a month…any update or anything I can assist with? At this point, I cannot use this. If this in not working for me, do you have a suggestion on another blueprint or something similar? I just need a current picture from the same camera to send me an AI generated description. As a reminder, the problem is the picture does not save to the destination as it errors out and when it does, the AI generates the description from the previous pic, not the new one. It’s always 1 pic behind.

If you can, test to see if you can send a notification with an image via actions Notifications: send a notification with.... from here we can narrow it down weather or not it is the blueprint or something on your end.

send the errors and I can see but I can promise a fix for this.

any possiblity to show an example of the settings for this blueprint to show a snapshot on a Android tv via notifications for Android tv? currently I’m receiving a notification but no snapshot

I just downloaded this Blueprint and am now testing. On my Iphone i get a notification but no shapshot. When clicking on the notification it goes to my dashboard which was created. The trigger is a motion sensor which works and the condition is when Alermo is set, this works because the notification is received on the Iphone. Camera is set in the actions tap, however do not get a notification. I do not use Frigate and have minimal knowledge off Yaml.

I would like to get a snapshot and also would like to alter the sound in the notification to my own sound.
Found the sound option, but its not working. I also cannot find the media folder nor a folder beneath www. Using the file editor addon it comes automatically in Homeassistant folder where also automations.yaml etc. are but no media folder?

and above i see text like:
homeassistant:
allowlist_external_dirs:
- /config/www
- /media
- /media/snapshots/

camera:

  • platform: local_file
    file_path: /media/snapshots/last_motion_front_door.jpg
    name: alert

but where do i put these text are is this automatically done thru the Blueprint?