dayzman
I just thought that the shutter speed control logic in your script would be useful. If I have just CHDK loaded and run chkptp rs then the shutter speed would have to be handled manually. I might be missing something though.
FWIW, if you want to have the exposure and interval control from a camera side script have the images saved over USB with remote shoot, it should be possible using the remoteshoot -script option and a glue script to set the menu options, like what is described in
https://chdk.setepontos.com/d/13386/7
To make the glue script, you need to go through the script header and set all the menu options as lua variables. See
https://chdk.setepontos.com/d/12695/30 for a description.
I have not tried this with kap_uav.
For completeness, the "USB" options in kap_uav refer to the hardware remote (
https://chdk.fandom.com/wiki/USB_Remote). Combining this with remoteshoot probably isn't what you want, but should be technically possible.