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

SUIx, comprehensive long duration intervalometer. Something for you?

  • 47 Replies
  • 6114 Views
*

Offline Mlapse

  • ****
  • 324
  • S95 S110
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #30 on: 16 / August / 2020, 16:15:18 »
Advertisements
nice, saves me from solving that in script :)
i've already downloaded 5552, going to test that this week.

Code: [Select]
t=os.date('*t', os.time() + 10)
set_clock(t.year,t.month,t.day,t.hour, t.min, t.sec)
« Last Edit: 16 / August / 2020, 16:49:45 by Mlapse »
frustration is a key ingredient in progress

*

Offline reyalp

  • ******
  • 13399
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #31 on: 16 / August / 2020, 23:17:52 »
FYI, there was a bug in 5552 that set seconds to the minute. Fixed in 5553
« Last Edit: 16 / August / 2020, 23:25:33 by reyalp »
Don't forget what the H stands for.

*

Offline Mlapse

  • ****
  • 324
  • S95 S110
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #32 on: 17 / August / 2020, 02:17:14 »
luckely i hadn't implemented it yet...downloaded 5553

After sifting through 2 years of data I can confirm that OS time is most accurate.
I'm testing 0.4.3 now that has the capability to set the RTC before reboot.

Although it doesn't make the clock 100% accurate.
For long stand-alone runs I think it has it's advantages to be able to correct the clock close to real world time with every reboot.
« Last Edit: 19 / September / 2020, 12:44:28 by Mlapse »
frustration is a key ingredient in progress

*

Offline jonemo

  • *
  • 4
  • time lapses
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #33 on: 26 / June / 2021, 20:47:30 »
Hi Mlapse, I came across this thread when just starting out with CHDK and looking for a time lapse script. Been having lots of fun with it and made a few short (less than one day) time lapses with it. Thank you for creating this script!

I came back here to see if there may be a new version. Could you clarify what the latest published version is and where to find it?

In the messages above you are referencing version 0.4.3. If I understand correctly, there is an earlier 0.4.2 that contains the daily reboot feature but not yet clock adjustment. The one linked at the top of this forum thread is 0.4.1 (but is in a file named "SUIx-v0.26").


*

Offline Mlapse

  • ****
  • 324
  • S95 S110
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #34 on: 27 / June / 2021, 02:02:59 »
Hi Jonemo, so YOU are that other user  :D

the latest published version is the one at the top of this thread...and yes, that is 4.1 at this moment

the clock adjustment combined with cam software stability is in my IMPB rig and that is long term use.
thus every script change takes a lot of time....at least 1 month per test
and other projects needed my attention too. so, i just haven't come around to publish it.
if you have a project where it would be nice to have these features, nudge me back to working on SUIx  8)

a DAILY reboot? that is something between need and want.....
although it is possible to set it once a day, I never thought of using it every day.
the reboot is only needed to keep the software happy and once every 3 weeks is enough for that.
So, I was actually thinking of removing the setting to clean up the settings page and make it automatic every 3 weeks.
The only disadvantage would be that you could only adjust time every 3 weeks...but how often do you want to reset the clock anyway?

and yes, sorry for the name that refers to version number v0.26...it is where my provider started to bug me and my quick solution was overwriting the existing one....i'll put that on some TODO list.

I think shorts are usually more interesting anyway. have you published them or was it just to test this feature packed script?  :)


« Last Edit: 27 / June / 2021, 03:17:45 by Mlapse »
frustration is a key ingredient in progress

*

Offline jonemo

  • *
  • 4
  • time lapses
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #35 on: 27 / June / 2021, 20:56:01 »
Got it, thank you for clarifying!

I phrased the "daily reboot" wrong: I did mean "reboot after x days". And it makes sense that testing this features requires time! I honestly don't know how often I want to adjust the clock. Before reading this forum thread I didn't even realize that clock drift could be fixed automatically. I also don't know how much the clock on my camera actually drifts. I basically just assumed that the camera clock will eventually be wrong and I have to fix the EXIF datetimes later. This thread now has me wondering if I could have "accurate enough" EXIF timestamps with zero effort via the reboot feature :D The reason why I want somewhat accurate timestamps in the files is that I eventually want to be able to search for specific events like "10 min before sunset for all days in May".

One thing that confused me (but now I understand it) is that the "reboot after x days" is already in 0.4.1 but it's in the "Primairy Start-Stop Setup" section, whereas the PDF manual shows it under a separate "Extreme Long Run Setup" section. I now realize that this is the same thing, just moved to its own section in newer versions.

My intended use of SUIx is for a long-term recording setup we've been building for our balcony. Nothing published yet, but here is a very early prototype (with window reflections and other problems):

I wouldn't want to "nudge you back into working on SUIx", you've already put plenty of time into this and it's working really well! However, if there is any way I can help, let me know!

*

Offline reyalp

  • ******
  • 13399
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #36 on: 27 / June / 2021, 22:38:14 »
I phrased the "daily reboot" wrong: I did mean "reboot after x days". And it makes sense that testing this features requires time! I honestly don't know how often I want to adjust the clock. Before reading this forum thread I didn't even realize that clock drift could be fixed automatically.
AFAIK, what mlapse fixed was drift between the camera OS clock and the RTC that initializes the OS clock when the camera is (re)booted.  This does not truly fix drift relative to real time, although mlapse reports that the OS clock drifts less than the RTC so it may be good enough in practice.

Really fixing drift would require an external source, which can be done with chdkptp, but would need some code to integrate with a script, and requires something like a PC or raspberry pi connected to the camera. This probably isn't worth it for the clock alone, but the PTP driven approach may be interesting if you want to be able to access the images quickly. See this thread https://chdk.setepontos.com/index.php?topic=14302.msg145502#msg145502 and the escursionisticivatesi.it project linked in my reply for some examples of this approach.

Note I don't mean to suggest that those options are *better*, they are just examples of other ways people have approached related projects.

Quote
My intended use of SUIx is for a long-term recording setup we've been building for our balcony. Nothing published yet, but here is a very early prototype (with window reflections and other problems):
That's quite nice already :)
Don't forget what the H stands for.

*

Offline Mlapse

  • ****
  • 324
  • S95 S110
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #37 on: 28 / June / 2021, 02:41:32 »
Good that you mention it, i wanted to make the menu more comprehensive.
the manual is already for the 4.3 software. sorry about that  :)

well, yes reboot is in the 4.1, but that's still close to the version from reyalps' Ultimate Intervalometer. So it might or might not work, depending on cam model, run time and some other settings....and i cannot tell when it will or won't finish reboot.

if it is about the clock, reyalp is right if you want an exact time, you should use an external clock with chdkptp or a cam that has an internet connection.

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. the difference that remains changes seasonal with temp and maybe other external influences.

If a few minutes a year is no reason to go for the external clock synchronization and you like the limited hardware setup....i'll put the launch of 4.3 beta to alpha on my todo list.

I love the one you made, what is it? every 10 seconds? soooo, that would create 60.000 a week.....I hope you have enough HDD space prepared for that, because it piles up quickly ;)

i don't make as much and already i would really like some software that sorts out 'change' or specific events and would be willing to train some AI for that.
but i'm out of my league there, so i think that will remain a dream.

about the window reflection: a double box around the cam against the glass will suffice, otherwise you could try to place the cam on your balcony in a box, like this one I made from an electrical junction box:



« Last Edit: 28 / June / 2021, 03:41:25 by Mlapse »
frustration is a key ingredient in progress


*

Offline jonemo

  • *
  • 4
  • time lapses
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #38 on: 28 / June / 2021, 03:22:41 »
Thank you for the pointers to both of you! I think I was on the wrong track with trying to use this reboot for clock adjustments. I'll find another way...

Iirc the video I posted above was 10s interval. We've now settled on capturing at 20s intervals. That gives me just under 7GB worth of JPGs per day. Not trivial, but not too much to handle either. The scene is part of the Port of Oakland with the skyline of San Francisco in the background.

*

Offline Mlapse

  • ****
  • 324
  • S95 S110
Re: SUIx, comprehensive long duration intervalometer. Something for you?
« Reply #39 on: 28 / June / 2021, 04:44:49 »
I think I was on the wrong track with trying to use this reboot for clock adjustments.

your idea works perfectly and it is one of the functions the reboot can do, but not on an atomic-clock scale.
just a bit closer to reality than original.

the real reason that I'm happy about the clock setting at reboot is that it solves other long-term issues related to reboot.
even if time should not be changed. in my experience it still has to go through setting the clock at reboot to keep the Canon firmware long-term stable.
Only if the cam runs for about a month or more, failing to set time at reboot leads to lost shots and eventually ends with a failed reboot.
« Last Edit: 28 / June / 2021, 05:05:11 by Mlapse »
frustration is a key ingredient in progress

 

Related Topics