Is it possible to switch the camera off? - General Help and Assistance on using CHDK stable releases - CHDK Forum supplierdeeply

Is it possible to switch the camera off?

  • 2 Replies
  • 1780 Views
Is it possible to switch the camera off?
« on: 14 / February / 2012, 06:12:25 »
Advertisements
Hello,

I want to do a very long time-lapse program that lasts several months and I guess leaving the camera on for so long is not a good idea.

I am using a G12 and the g12-100g CHDK version.

I was wondering if it's possible to switch the camera OFF and/or ON within an LUA script.

Regards,
Ben.

Re: Is it possible to switch the camera off?
« Reply #1 on: 14 / February / 2012, 08:21:55 »
I was wondering if it's possible to switch the camera OFF and/or ON within an LUA script.
You can use the Lua command shut_down() to turn the camera off.  Turning back on will be trickier as the powered off camera can obviously not run a script to turn itself back on and there is no internal hardware support to do that either.   People have rigged up external timers to the camera battery circuit and then "taped" the On/Off button down so that the camera starts when power is applied.  YMMV.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Is it possible to switch the camera off?
« Reply #2 on: 15 / February / 2012, 10:56:53 »
Thank you very much for your answer, it helps a lot!
Regards,
Ben.

 

Related Topics