Better understanding snapshot camera

Hello, I’m trying to catch some snapshot from a Dahua cam which is registered in motionEye.
I can see the entity in HA correctly.
So I tried to use Nodered to take a snapshot but it doesn’t work. The service node tell “sending” and stucks in that way.
A couple of question:
Where the file is saved? Is it a local path of the camera SSD card or a HA directory?

Thanks

[{"id":"419223117ca1124a","type":"api-call-service","z":"45dd8798.2cfc88","name":"","server":"c6e21e6c.847e8","version":5,"debugenabled":true,"domain":"camera","service":"snapshot","areaId":[],"deviceId":["d73b30e45bdf337a4a4168304b03ee30"],"entityId":[],"data":"{\"filename\":\"/tmp/snapshots/snapshot.jpg\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1210,"y":2460,"wires":[[]]},{"id":"0c844434ab4b5ad1","type":"inject","z":"45dd8798.2cfc88","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":940,"y":2460,"wires":[["419223117ca1124a"]]},{"id":"c6e21e6c.847e8","type":"server","name":"Casa (local https)","version":2,"addon":false,"rejectUnauthorizedCerts":false,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":false,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]

The camera.snapshot call is passed the filename in which to store the image - in your case it looks like you’ve got this set to “/tmp/snapshots/snapshot.jpg”. Getting it out of there might be tricky, so you’d be better off writing it to “/media/snapshot.jpg”, so you can see it under “Media”.

Having said that, I have Eufy cameras, and for them I have to first call camera.turn_on followed by a short delay, or the snapshot does nothing. Then I wait 5 seconds and call camera.turn_off.