I'm just thinking about an interval ramping.
With a starry sky you need an interval of about 30s (with Tv = 25s). At this interval, however, the sunset becomes too fast.
My idea:
If Tv Max > interval, the interval ramping should be active.
If the current exposure time > (interval - 2s), then the interval should start ramping.
The interval should then increase continuously up to Tv Max + 2s.
Once started, the ramping should only go in one direction (e.g. with 0.1s per recording).
The other direction (reduction) is only started when the maximum interval has been active for a certain time and the exposure time is below the start interval.
If I've seen that correctly, then you can increase the interval in the following loop, right?
for i=1,ui_shots do
What do you do with the following command before the loop? Set on the maximum interval?
hook_shoot.set(2000+interval)
I would deactivate interval_warn_led and interval_warn_beep in this case.