sry for this question, but i’m a linux noob
First of all, i’m using OH3.1.0.M4 on Openhabian.
I try to grab a image from my synology surveillance station and save it within a rule to a file to final forward the image via mail.
The variable fdCamURL contains the url of the image as a string (without authentication).
The variable fdCamSnapTmp contains “/etc/openhab/snap/test.jpg”
I created a directory “snap”:
This is the command within the rule:
executeCommandLine("curl -m 10 -o " + fdCamSnapTmp + " " + fdCamURL)
This is the output from the logfile:
When i copy the URL from the logfile and open it into a browser, the image of my webcam appears.
If you have any advise for a me, you are welcome