Take images from motioneye gives me a 0 byte file

Hi all,
I’m trying to create a script that takes a photo when ME detects some movement.

service: camera.snapshot
metadata: {}
data:
  filename: /config/tmp/soggiorno.jpg
target:
  entity_id: camera.camera2

The strange thing is that sometime the picture is taken but most of the time I get a 0 byte file.

Could someone explain me why?

If you watch camera do you hame image loss? Maybe no daya in snapshot frame.

No, if I look the video stream everything seems ok… no frame dropped… :frowning: