supplierdeeply

Selective Intervalometer (days, days of week, hours/min, intervals min/sec)

  • 88 Replies
  • 15126 Views
*

Offline SkyWalker9

  • ****
  • 301
  • SX20 IS (fw 1.02b)
  • Publish
    Advertisements
    ...If you have a test case that shows otherwise, then please post it, because that would be a bug...
    @reyalp
    Unfortunately, this situation occurred quite a while ago (during the first rendition of the script), so it may not even be an issue anymore. I'll see if I still have a copy of the old script that gave me the problem.

    @hillbille
    I'm attaching a Day of Month (DOM) script that you requested. The script is a "stripped down" version with NO messages being printed to the LCD nor any inputs requested. You will need to set the default values for the Interval, Start and Stop times, and 'rem' out the days of the month that you do not want to shoot photos (in the 'check_day' section) - before transferring the script to your camera. The script will stop when you reach the number of shots you set in the parameter OR if you prematurely stop the script by pressing the shutter button.

  • Publish
    Fantastic!! I really appreciate the effort you guys put in to these and also the fact you are so willing to work on the suggestions of us novices!!

    Just a simple (are they ever?) input line for the DOM or DOW would do for me. That way it could all be set in the PC before saving to the card and when run it would start "on time" on the first day and then run normally.

    My not having an LCD is my one drawback. I like setting up the camera in out of the way places and it starts and shoots at the selected times until it reaches the selected "off" time. That is one sweet deal! Thanks for starting this and especially a big THANK YOU for continuing to work on it!

    Hillbille

  • Publish
    Great script! But I have a problem.

    I need to have my camera on for a very long time. A couple of months. It's has an eye-fi card that uploads images to an FTP server and it should take one picture every day of the week at 11:00 am.

    I've done a test drive; The camera works for one week, but it when the week is over, it doesn't take anymore pictures.

    Is the script supposed to shut down when the week is over?

    I am thankful for your help :)

    My settings in the script are:

    Number of Shots: 500
    Interval (mins): 0
    Interval (secs): 60
    Starting hour (24 hr): 11
    Starting Minute: 20
    Ending Hour (24 hr): 11
    Ending Minute (24 hr): 21
    DOW: 1

    [EDIT] Sorry, it was not the script that stopped taking pictures. It was the Eye-fi card that stopped uploading them.
    [/b]
    « Last Edit: 03 / August / 2012, 14:08:12 by algoritm »

  • Publish
    Re: Selective Intervalometer (days, days of week, hours/min, intervals min/sec)
    « Reply #83 on: 08 / February / 2013, 21:55:58 »
    Hi,

    I need some help please. I'm new to CHDK. Everything is installed ok, I've run another script without problems, but Im not able to run this one. If I press the shutter it shows "Start" "Finished", so I don't know how to start it.

    Help please.

    [EDIT] I got it, it was the text file format or something. I just copied again the script and created the file in another note pad.
    « Last Edit: 08 / February / 2013, 22:49:16 by luisarguellesm »


    *

    Offline lapser

    • *****
    • 1022
    • SX50_100b / SX260_101a / G1X_100g / D20_100b
  • Publish
    Re: Selective Intervalometer (days, days of week, hours/min, intervals min/sec)
    « Reply #84 on: 09 / February / 2013, 08:56:02 »
    [EDIT] I got it, it was the text file format or something. I just copied again the script and created the file in another note pad.
    There's a really good, free text editor here:

    http://notepad-plus-plus.org/

  • Publish
    Re: Selective Intervalometer (days, days of week, hours/min, intervals min/sec)
    « Reply #85 on: 09 / February / 2013, 10:01:24 »
    There's a really good, free text editor here:
    http://notepad-plus-plus.org/
    I've found the compare plugin for Notepad++ to be is essential for CHDK  firmware porting.   So good that I even use it in Linux under Wine (and I have real Linux tools that can do the same job).

  • Publish
    Re: Selective Intervalometer (days, days of week, hours/min, intervals min/sec)
    « Reply #86 on: 10 / February / 2013, 15:59:46 »
    Applause for building such a flexible tool!

    But,  I am running into some problems implementing this on a SX40hs.   I have been running tests  using various  intervals... BUT, usually the run stops...  I will return to the camera and find that it is shut down... either the camera or the script is shutting down after running for awhile.  The amount of time at which the run stops has not been consistent.  (The shut downs have happen between 20 minutes and 2.5 hours into a run.) 

    I can report, that in the cameras regular menu (Non-CHDK menu) I have set the "Auto Power Down" to "Off".  I have tried the "Lens Retract" camera setting at several positions with no apparent change. the choices are either "0 Sec" or  "1 min."


    I can also confirm that the time of day settings in the script were 7am to 11pm,   while I was running tests in teh middle of the day.


    ANY help any users can offer would be greatly appreciated!   As a relatively new chdk user, I'm hoping that there may be a setting somewhere that I am neglecting.

    Best,
    mk


  • Publish
    Re: Selective Intervalometer (days, days of week, hours/min, intervals min/sec)
    « Reply #87 on: 10 / February / 2013, 16:45:18 »
    But,  I am running into some problems implementing this on a SX40hs.   I have been running tests  using various  intervals... BUT, usually the run stops...  I will return to the camera and find that it is shut down... either the camera or the script is shutting down after running for awhile.  The amount of time at which the run stops has not been consistent.  (The shut downs have happen between 20 minutes and 2.5 hours into a run.) 
    There are only so many things that can cause this and they can be categorized as follows (sorted in order of decreasing likelihood) :
    • incorrect configuation of Canon options
    • incorrect configuration of CHDK
    • bug in the script
    • hardware issue with camera
    • bug in CHDK

    Quote
    I can report, that in the cameras regular menu (Non-CHDK menu) I have set the "Auto Power Down" to "Off".  I have tried the "Lens Retract" camera setting at several positions with no apparent change. the choices are either "0 Sec" or  "1 min."
    Sounds like you have option 1 covered.

    Quote
    I can also confirm that the time of day settings in the script were 7am to 11pm,   while I was running tests in teh middle of the day.
    Not much you can do wrong with option 2 at this point.   Please post a link / code for the script you are using so we can consider option 3.

    Options 4 is possible - can you try a simple script that just loops and prints to the console and see how long that will run. 

    Option 5 is possible too -  there is a long standing issue with the sx130 running Lua that was never resolved.  But if its option 5,  fixing this could take a long time.

    We will also will need to figure out if the camera is shutting down normally or crashed. You can use the debug menu item to produce a ROMLOG after a shutdown to determine if it crashed or shutdown normally. Please post it here.
    « Last Edit: 10 / February / 2013, 16:47:48 by waterwingz »


    *

    Offline SkyWalker9

    • ****
    • 301
    • SX20 IS (fw 1.02b)
  • Publish
    Re: Selective Intervalometer (days, days of week, hours/min, intervals min/sec)
    « Reply #88 on: 10 / February / 2013, 17:15:10 »
    ...The amount of time at which the run stops has not been consistent...
    Since the results have been inconsistent, this could be a timing problem. I noticed that some Canon models need a little more delay after "shoot" commands. Around line 200 (depending on which version of this script you are using) there is a "shoot" command followed by "delay 600". You might try increasing the delay from 600 to around 1000 to see if that helps. Good luck!

    edit:
    1. The time sensitive portion of the script is from around line 170 (:check_day) to the end of the script.
    2. There are two "shut_down" command lines that you could change to a print message to locate where the script is terminating. The locations are:

    line 176  if V>J then shut_down
    line 205  if n=a and J=0 then shut_down
    « Last Edit: 10 / February / 2013, 17:33:50 by SkyWalker9 »

     

    Related Topics