I don´t know , whether implementing this into meteohub is worth the effort and time, because
gphoto2 has quite a list of supported cameras and if you want to integrate all models into meteohubs GUI, this is a hell of a job.
From my tests I can tell you that Olympus Cams don´t work with gphoto2 and Debian. But on Suse
But: Canon Cams & Debian & ghoto2 works.
I have installed Debian & gphoto2 & imagemagick on a 2nd Alix controlling a Canon Powershot A-620 with it and post-procession the shots also with that unit.
Main reason was, that I had some fears that the additional load from gphoto and imagemagick might not be that easy to handle for the hardware already busy with meteohub.
meteohub is stretched with own tasks on these times <<0,5,10,15,20, ... 60>>. And really then you would normally want your webcam shoot photos as well.
Also keep in mind that the cam needs to be connected via USB cable which limits the distance between meteohub and the cam.
(okay, you could use USB extenders, but still, I don´t know, if it very convenient)
The best solution is the one
Florian Radlherr has proposed:
Use a Netgear router with OpenWRT.
In that case you can place the camera nearly everywhere (ethernet cables can be easily installed on a roof!)
-----
Filippo,
if you want to give gphoto2 a try I can assist you.
Installing it and add a short shell script and crontab entry is done in a couple of minutes ...