GithubHelp home page GithubHelp logo

intervalometer-gphoto2's Introduction

Intervelometer-gphoto2

This is an intervelometer using the gphoto2 software. It is designed to be used to take pictures on an all day or multiday basis. It can also be used for shorter intervals that you specify.

I was unable to get the gphoto2 python library to load on my system, so I installed the software and I'm running the os command from the python program. This means you'll need to have the gphoto2 software installed on your host for this to work.

Prerequisites:

  • Python 3.x is required to use this program.
  • The astral python package is required.
  • The paramiko and scp python packages are required in case of backup.

Usage:

usage: intervalometer.py [-h] -i ### -p project [-s HH:MM HH:MM] [-o #] [-m #] [-d directory] [-t xx.yyy -g xx.yyy] [-b hostname destination_directory] [-f] [-v]

optional arguments:
  -h, --help                       show this help message and exit
  -i ###, --interval ###           REQUIRED:  Time between pictures in seconds.
  -p project, --project project    REQUIRED: Name of the project you are taking pictures for. This directory will be created if it doesn't exist.
  -s HH:MM HH:MM, --startstop HH:MM HH:MM
                                   List start and stop time in 24 hour format. If not used, the default is to start at dawn and stop at dusk.
  -o #, --offset #                 How many hours before dawn to start, and after dusk to stop.  Cannot be used with --startstop.
  -m #, --multiday #               How many days to run the program for. Default is 1.
  -d directory, --dir directory    Full directory path to save the project to. Defaults to /data.
  -t xx.yyy, --latitude xx.yyy     Latitude to calculate dawn and dusk. Default is 35.78
  -g xx.yyy, --longitude xx.yyy    Longitude to calculate dawn and dusk. Default is -78.64
  -b hostname destination_directory, --backup hostname destination_directory
								   Hostname and Destination directory to backup to. Must have passwordless scp setup to the host.
								   Hostname can be in the form user@host
								   Destination can be unix or windows style paths.  c:\\path\\to\\files  or  /path/to/files
  -f, --faux                       Use the gfauxto2 command to simulate taking pictures. Will create empty files instead of taking pictures.
  -v, --verbose                    Show debugging messages on the command line

Need to add:

Add a light sensor (TSL2591) to the pi and camera settings to the program based on the light levels.

intervalometer-gphoto2's People

Contributors

scottstanton avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.