#Hi Tinkerer I m still stuck with the

1 messages · Page 1 of 1 (latest)

copper socket
#

I'm pretty sure that by this point you should remember that you need to share the YAML too

topaz quartz
copper socket
#

The error however tells us that you continue to randomly change stuff in the hope of finding the answer

topaz quartz
#

It doesn't have to be permission from the Ubuntu right? because in another blueprint I have it does creates a snapshot image

copper socket
#
      filename: http://10.0.0.150:8123/local/tmp/snapshot_living_room_sub.jpg
``` that's a fucking URL, not a filename
#

Do you know what a filename is?

topaz quartz
#

It's after I tried filename as well, with the same error.

copper socket
#

Well, stop randomly changing stuff

#

Banging the rocks together is not going to help you

topaz quartz
#

That's why I need your help, i'm stuck

copper socket
#

I'm pretty sure that yesterday you had the snapshot working... go back to that bit

topaz quartz
#

It never worked.

copper socket
#

I can't help you if you're going to keep playing random chaos monkey

topaz quartz
#
filename: /local/tmp/snapshot_living_room_sub.jpg

I revert to that, still same error

#

Okay I won't change it anymore.

copper socket
#

Never produced an error?

topaz quartz
#

I'm trying hold on

copper socket
#
  - service: camera.snapshot
    data:
      entity_id: camera.front_camera
      filename: "/data/homeassistant/cameras/front_camera_snapshot.jpg"
``` is from an old automation of mine, where I had
```yaml
homeassistant:
  allowlist_external_dirs:
    - /data/homeassistant
#

That worked just fine

#

However... I did make sure that /data/homeassistant/cameras/ existed

#

(don't use that path, it won't work for you)

topaz quartz
#

Well no errors on logs however I'm not getting any photo with the notification msg

#

looks like it did overwrite the file

copper socket
#

Right...

#

So, now you know that the snapshot works

#

I'm glad you finally started checking things

#

Now you know that the problem is with the notification

topaz quartz
#

yeah, is the data I put inside the notification wrong?

copper socket
#

The docs have the answer

topaz quartz
#

should be like that?

copper socket
#

No

#
  service: notify.NOTIFIER_NAME
  data:
    title: Send an images
    message: "That's an example that sends an image."
    data:
      photo:
        - file: /tmp/picture.jpg
          caption: Picture Title xy
``` from the docs
#
  - service: notify.supervisor_telegram
    data:
      message: 🤖 Automation - Main Door is open now!
      data:
        data:
          photo:
            - file: /config/www/tmp/snapshot_living_room_sub.jpg
``` yours, with an added `data:` for ... "good" measure?
topaz quartz
#

oh I did like 3 data's