Giter Site home page Giter Site logo

pi-lttl's Introduction

Pi-LTTL

Long term time lapse for Raspberry Pi with HQ camera 1.0

Python 3

*under construction, Scheduler_x.py can be executed manually

There will be a master scipt to start all in the same time StartTimelapse_1.py

The structure:

  • Create_folders.py.................... run ones to create file tree (100% Completed)
  • StartTimelapse_1.py.................. edit for chosing a preset (0% Completed)
    • Scheduler_x.py................... don't edit (100% Completed)
    • Picame_preset-x.py............... edit preset options (90% completed)
    • Sim_upload_x.py.................. don't edit, or only for manualy executing uncomment the presset, or set the desidered time (80% completed)
    • Restart_gdrive.py................ (95% completed)

Folders:

    • gdrive/.......................................folder mouted remote cloud storage
    • Local/........................................folder where script save the images
    • uploaded/.....................................folder of uploaded files movef from Local/

_x are versions of the files
-x preset index

This script is made for using with the pi camsera, however the Scheduler-x.py is calling take_picture() function form Picame_preset_x.py witch can be also defined with with gphoto2 commands, only make a new Picame_preset_x.py file and don't forget to define in the min script StartTimelapse_1.

Modules used:

import pytz

import tzlocal

import datetime

import time

import os

import sys

import socket

import shutil

import subprocess

from picamera import PiCamera

Before startind with uploading, rclone must be installed and configured. The curren version Sim_upload is made for gdrive use, can be edited for any cloud storage, rclone is a powerfull tool. For checking if the cloud is mounted the script check if a specific directory on the cloud exsist like a Test folder. Create the Test folder localy in the pool folder, rclone will do the rest. Keep this folder otherwise rclone will delete it from the drive. Looking for a better solution.

pi-lttl's People

Contributors

istrapano360 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.