mainsail-crew / moonraker-timelapse

Timelapse Plugin for moonraker
GNU General Public License v3.0
345 stars 81 forks source link

DSLR gphoto2 #138

Open skyeshadow94 opened 10 months ago

skyeshadow94 commented 10 months ago

I understand there has been some discussion about this prior, but I've not come across a definitive solution.

I'm trying to use a DSLR connected to my pi4 via USB with the Moonraker timelapse plugin, I'm not very Linux fluent. I'm using a shell script to trigger gphoto2 triggering the camera, and then downloading it to the pi.

I want to ask if there is any way to set it so that those photos are saved to the correct directory so that the Timlapse plugin can be used to render those images.

I realise that this would require to either overwrite the images that were being captured by any installed webcam that was specified in the plugin or prevent the webcam from actually taking a stream snapshot but still triggering the capture macro,

as well as I assume, needing the same file name format for the render to work correctly. would appreciate any help on this.

boecko commented 6 months ago

Hi,

i've made a pull request for that https://github.com/mainsail-crew/moonraker-timelapse/pull/155

This allows me to use my Canon EOS R6 or 70D via gphoto2 for that job.