Cameras used :
- Canon EOS 5D Mark II
- Canon Powershot G10
Software used :
- Linux, ksh, sendmail, cron, curl
- gphoto2
This project involved mounting a full frame digital SLR on my bathroom window sill, 2 storeys up, protected by a wooden box, with a fine view along Bristol Harbour to the M-shed Museum and Prince Street Bridge.
The camera could be operated in 3 ways :
- By anyone anywhere in the world by sending an email to a specific email address with a specific subject line.
- Automatically from "cron" running on a linux host in the room below. This method used sunrise timetables to reduce shooting frequency at night and increase it around sunrise.
- Manually from the linux host in the room below (eg. while watching bungee jumpers, rainbows or fireworks etc.).
Example photos :
Camera activation via Email (by anyone anywhere in the world)
This worked by "cron" running a script, say every 30 seconds, to check a specific email account and check the subject lines of any new emails. If the Subject line contained the required text (eg. "takephoto") the script would take a photo (controlling the camera using "gphoto2"), save the full size image on the local server and email a reduced size copy back to whoever sent the email. With the Canon Powershot G10 it was also possible to specify the zoom level in the email Subject line.