SUIx, comprehensive long duration intervalometer. Something for you? - page 5 - Completed and Working Scripts - CHDK Forum

SUIx, comprehensive long duration intervalometer. Something for you?

  • 64 Replies
  • 24078 Views
*

Offline reyalp

  • ******
  • 14125
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #40 on: 28 / June / 2021, 13:01:25 »
Advertisements
well, yes reboot is in the 4.1, but that's still close to the version from reyalps' Ultimate Intervalometer.
Waterwingz, not  me :)

Quote
most of my 'off grid' cams run away by 1-2 minutes a month, most too fast, some too slow. (even withing same model versions there is a lot of difference)
For me, this time correction (with a lot of testing) makes it close to 30 seconds every 3-4 month. so i still have to reset the clock manually every now and then.
FWIW, if it's that consistent, you could apply a manually calibrated correction automatically (that is, make the script add user specified X seconds per months or whatever)
Don't forget what the H stands for.

*

Offline Mlapse

  • *****
  • 584
  • S95 S110
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #41 on: 30 / August / 2021, 10:29:27 »
yes, sorry, waterwingz UI.

and reyalp, it already has the setting that manually entered correction is automatically used when rebooting....
after that i'm still left with something like 30 seconds in 4 month.
that is a lot harder to solve than you might expect because that includes variables, like temperature.

However, i'm now thinking about changing the way this works by correcting the interval time as basis for the reboot time correction.

but i really have to give it some more thought before I start mucking up things.
 
« Last Edit: 30 / August / 2021, 10:35:09 by Mlapse »
frustration is a key ingredient in progress

*

Offline Mlapse

  • *****
  • 584
  • S95 S110
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #42 on: 23 / September / 2021, 03:11:19 »
ND just for fun/max. flexibility?

As I was busy cleaning up the code and testing some next release dynamic changes I came across this request.

SUIx is designed to be an easy to understand intervalometer.
I want it to be a powerfull, yet low threshold program for people without in depth photography knowledge.
That is one of the reasons it is optimised for use with P and AUTO.

Because of that I have been looking at ways to make a menu with even less choice without losing functionality.
And/or a different page for setting specific values.
Alas my idea of creating a second script that would contain an extended menu and saves settings to the file SUIx.0 failed....but maybe i'll figure that out this winter.

At this point adding ND would be yet another menu item while I think it is something for advanced users.
Since rawopint already caters people who have that knowledge and the ambition to go further I do not see the added value for SUIx.

So, at least for now, I've decided that SUIx will not get a ND setting in the menu.
« Last Edit: 23 / September / 2021, 08:10:24 by Mlapse »
frustration is a key ingredient in progress

*

Offline jonemo

  • *
  • 7
  • time lapses
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #43 on: 22 / October / 2021, 13:39:52 »
Figured I'd follow up after nearly 5 months after my questions above. My camera has been taking a photo every 20 seconds with SUIx almost non-stop during that time, 700GB so far. I'm super happy about the photo set I have collected and have started writing scripts to create interesting content beyond the daily time lapses.

I ended up needing daily automatic reboots after all, but for a completely different reason than mentioned above: I use a Wifi-SD card (Flashair) to get the photos off the camera continuously. But the get_jpg_count() counter doesn't know that I am deleting photos in the background and keeps decrementing the counter of how much space is left. The daily reboot serves the purpose to reset that counter and make the camera realize that there are, in fact, many GB free. Maybe there is a more elegant way to work around this?

A nice side effect of daily reboots is that the two clocks to sync daily, so one source of time drift is gone. However, I still get approximately 20 seconds drift per months which I measure with a manual process (move an accurate clock into the photo frame once a week) and correct in post-processing. Next time I build a setup like this I will definitely figure out how to automate this process :)

One issue I've found is that when the script shuts down due to disk full, it erases the "autostart" setting. That leads to this sequence of events:
  • The camera incorrectly concludes that the SD card is full and shuts down
  • I confirm that the SD card does actually have space and press the power button to start the camera back up
  • SUIx doesn't auto-start
  • I remove the camera from the fixture, go into the SUIx settings, re-activate autostart
  • Put camera back into fixture, power off, power on again
  • SUIx auto-starts, operation resumes

Would it be possible to have the autostart setting retained even when the scripts shuts down due to a problem?

Oh, if you want to see the results, the daily videos are on Youtube https://www.youtube.com/channel/UCfgbxOCayX3p8vCILXH9T1g/videos. I've started tinkering with scripts to generate other formats (see attachment) but there's more work needed there to deal with annoying problems such as birds and the wall we mounted the camera to buckling when exposed to direct sunlight...

*

Offline Mlapse

  • *****
  • 584
  • S95 S110
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #44 on: 22 / October / 2021, 14:45:23 »
well, actually when the card is full it should not set autostart, since there is no space it should shut down without starting up again, and again, and again, and...

however since it seems chdk still thinks the card is full it might work for you if you set "action if card is full' to delete.
it will, when space is low, remove the fist 5 frames from the series and repeat that until you stop the cam.
i am not sure however if it can't find the 5 oldest available on the sd card what will happen, i have no wifi card to check this idea.

you can also remove lines 1023-1031 and it will disable a shutdown due to low jpg count.

will share a neater solution as soon as i've come up with it ;)

Does the free disk space indicator (top, left of mid screen) give the right free space?
« Last Edit: 23 / October / 2021, 10:25:45 by Mlapse »
frustration is a key ingredient in progress

*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #45 on: 23 / October / 2021, 09:45:26 »
well, actually when the card is full it should remove autostart, since there is no space it should shut down without starting up again, and again, and again, and...

Seems similar to  :-[
https://chdk.setepontos.com/index.php?topic=14361.msg146217#msg146217

No way around rebooting to synchronize Canon´s & CHDK´s filesystem information ever seen...

All lifetime is a loan from eternity.

*

Offline Mlapse

  • *****
  • 584
  • S95 S110
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #46 on: 23 / October / 2021, 10:31:34 »

No way around rebooting to synchronize Canon´s & CHDK´s filesystem information ever seen...

are you to say that get_free_disk_space() is a calculation rather than an actual call of how much space there is left on the sd card?
frustration is a key ingredient in progress

*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #47 on: 23 / October / 2021, 11:36:26 »
                      :-[
Code: [Select]
--[[
@title delete test
*** GESTARTET ***
11124672
11176672
11189344
11196864
*** BEENDET ***
--]]
print_screen(-9870)
for i=1,4 do
print(get_free_disk_space())
sleep(2000)
dir=file_browser(get_image_dir()) or "" --- press <left> to delete some files manually.
end
get_free_disk_space() is updated / growing, after deleting files in file_browser(),
but in playback they are still counted & displayed as non diasplayable.
=> Canon doesn´t know the recent state until reboot & keeps all it´s index data.

I expect a longer rebooting (LED blinking) because each deleted file needs to be deleted in every table cAnon uses, but it should work here.
Edit:
Maybe it needs a sleep(until_done) ... or a get_led() statement  :-*?
Code: [Select]
until_done=get_led(boot)==off Edit2:
To save bat & keep sensor cool some scripts switch to playmode to sleep...
 ;) How about deleting sended file with scripted keystrokes?
Edit3: Would look like this for Sx600. (.jpg only).
Code: [Select]
function erase_recent_jpg(Sx610)
  click("set")
    sleep(500)
  click("set")
    sleep(500)
  click("right")
    sleep(1000)
  press("set")
 --   sleep(1000)--switches to big clock
    sleep(500)
  release("set")
    sleep(3000)
-- "Busy" -- :)
end

dir=file_browser(get_image_dir()) or "" --- press <left> to delete some files manually.
erase_recent_jpg()
print(get_exp_count(),get_jpg_count(),get_raw_count()) --
print(get_free_disk_space()) --
    sleep(3000)

( Edit4: If this works, then receiver-side needs own filecounter and rename,   ??? but it doesn´t.)

EDIT5: IT DOES WORK WITH LONGER SLEEP;
Edit6: ... or optimized settings: https://chdk.setepontos.com/index.php?topic=14302.msg147262#msg147262
« Last Edit: 20 / November / 2021, 10:48:40 by Caefix »
All lifetime is a loan from eternity.

*

Offline Caefix

  • *****
  • 948
  • Sorry, busy deleting test shots...
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #48 on: 27 / October / 2021, 16:32:43 »
but there's more work needed there to deal with annoying problems such as birds ...
Well, for Screensavers & a calendar the birds are nice...  :)
Maybe a "inverted md_detect_motion" could clean for timelapse a bit, delaying shooting some 1/10 of seconds, finetuning recommended.
Code: [Select]
--   repeat hh=md_detect_motion(8,6,1, 90,30,3, 3,hh,2, 0,0,4,6, 0,2,30) until hh==0  -- right/2
      repeat hh=md_detect_motion(8,6,1, 80,20,3, 3,hh,2, 1,4,8,6, 0,2,30) until hh==0  -- upper/2
All lifetime is a loan from eternity.

*

Offline c_joerg

  • *****
  • 1251
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #49 on: 28 / October / 2021, 15:49:03 »
more work needed there to deal with annoying problems such as birds

The best method to avoid this is as long as possible exposure times with an additional ND filter. This then also protects the sensor.
M100 100a, M3 121a, G9x II (1.00c), 2*G1x (101a,100e), S110 (103a), SX50 (100c), SX230 (101a), S45,
Flickr https://www.flickr.com/photos/136329431@N06/albums
YouTube https://www.youtube.com/channel/UCrTH0tHy9OYTVDzWIvXEMlw/videos?shelf_id=0&view=0&sort=dd

 

Related Topics


SimplePortal © 2008-2014, SimplePortal