A smart time-lapse driver for Raspberry PI / raspistill