Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.51 KB

File metadata and controls

33 lines (25 loc) · 1.51 KB

gphoto2-RaspberryPi-weather-cam-script

This script is capable to executed from cron, capturing camera image, copying locally and uploading that to a given FTP server.

Sunset - sunrise follower long time exposure weather cam from a Canon PowerShot.

first install sunwait and gphoto2:

wget http://www.risacher.org/sunwait/sunwait-20041208.tar.gz
tar xzvf sunwait-20041208.tar.gz
cd sunwait-20041208
make
sudo install sunwait /usr/bin/sunwait
sudo apt-get install gphoto2

Then running the script first it calculates sunset and sunrise and decide to run the camera in day mode (Auto) or in long exposure (Tv) mode.

Mine tested with Canon PowerShot IS5, it has Auto and Tv modes, it has to be programmed in gphoto2 --config menu.

Example video:

demo video

Thunderstorm video screenshots:

1 2 3 4 5 7