Hi Guys,
I'm having a little trouble on a fresh install of Multilapse (the newest version with the extended config file).
I've a fresh, Raspbian Lite, set up on my Raspberry Pi Zero, controlling my IXUS160 and it's verified working with manual chdkptp control.
I've also implemented the Raspberry Pi GPIO output to control a relay to supply the camera with power (button held down method).
However, although it's correctly supplying power and connecting to the camera I'm getting this error:
Reloading config file!
Making sure camera is OFF
Waiting 5s...
Turning camera ON
Waiting 5s for boot...
Connecting
connected: Canon IXUS 160, max packet size 512
Unpressing power button
Going into rec mode
Setting P mode
Setting zoom: 0
Disabling display
sh: 1: cannot create /sys/class/leds/led1/brightness: Directory nonexistent
Temperature: sensor = 43 optics = 34
SSTT,20171220-124020,43,34
ERROR: call failed:/root/multilapse-CHDK/multilapse.lua:39: attempt to index global 'config_night' (a nil value)
stack traceback:
/root/multilapse-CHDK/multilapse.lua:168: in main chunk
[C]: in function 'dofile'
[string "dofile("/root/multilapse-CHDK/multilapse.lua"..."]:1: in main chunk
[C]: in function 'xpcall'
/root/chdkptp/lua/cli.lua:726: in function </root/chdkptp/lua/cli.lua:717>
(...tail calls...)
[C]: in function 'xpcall'
/root/chdkptp/lua/cli.lua:285: in function 'execute'
/root/chdkptp/lua/main.lua:210: in function 'do_execute_option'
/root/chdkptp/lua/main.lua:247: in function 'do_no_gui_startup'
/root/chdkptp/lua/main.lua:282: in main chunk
[C]: in function 'require'
[string "require('main')"]:1: in main chunk
Seems related to the night shutter function which I see, differs in it's implementation in the config file.
Bye the way I tried both the new chdkptp-r785 AND the 'special' chdkptp that you supplied along with multilapse the first time.
Any suggestions?
I'd also appreciate any pointers on how to bash script a schedule for weekdays between 7:30 am and 4:30 pm, as the camera is in place now and I'm doing testing prior to the construction of the new school rooms to commence.
PS. I'm SSHing in to the machine via an online proxy system called Remot3.IT, which is working nicely.
Thanks in advance for your consideration
Seasons Greetings too
Sdack