Print( "config.py.bak will contain your previous settings") Print( "copy new config.py per commands below. Print( "pi-timolo.py ver 12.0 or greater requires an updated config.py") # Check for config.py variable file to import and error out if not found.ĬONFIG_FILE_PATH = os. "SPACE_MEDIA_DIR": "/home/pi/pi-timolo/media", "PANO_IMAGES_DIR": "./media/pano/images", "PANTILT_SEQ_RECENT_DIR": "media/recent/pt-seq", "PANTILT_SEQ_IMAGES_DIR": "media/pantilt_seq", "MOTION_RECENT_DIR": "media/recent/motion", "TIMELAPSE_RECENT_DIR": "media/recent/timelapse", "CONFIG_TITLE": "No config.py so using internal dictionary settings", This happens after config.py variables are initialized Note: plugins can override default and config.py values if plugins areĮnabled. Change dictionary values if you want differentĪ message will be displayed if a variable is Not imported from config.py. If you don't want to use a config.py file these will create the required This is a dictionary of the default settings for pi-timolo.py Print( " Camera images will be missing exif meta data") Print( "WARN : Could Not import python3 pyexiv2 due to an Operating System Error") " If Running under python3 then Install pyexiv2 library for python3 per" Required for Saving Image EXIF meta data") # pyexiv2 Transfers image exif data to writeTextToImage # Disable get_sched_start if import fails for Raspbian wheezy or Jessie Print( " Disabling TIMELAPSE_START_AT, MOTION_START_AT and VideoStartAt") Print( "WARN : Could Not Import dateutil.parser") Print( "%s %s written by Claude Pageau" % ( PROG_NAME, PROG_VER)) # get the path location only (excluding script name)īASE_FILENAME = os. abspath( _file_) # Find the full path of this python script WARN_ON = False # Add short delay to review warning messages _version_ = PROG_VER # May test for version number at a future time PROG_VER = "ver 12.65" # Requires Latest 12.5 release of config.py Oct 2020 Added panoramic pantilt option plus other improvements. This release uses OpenCV to do Motion Tracking. Written by Claude Pageau Jul-2017 (release 7.x) Pi-timolo - Raspberry Pi Long Duration Timelapse, Motion Tracking, PiVideoStream Class _init_ Function start Function update Function read Function stop Function shut2sec Function showTime Function showDots Function checkConfig Function displayInfo Function getLastSubdir Function createSubdir Function subDirCheckMaxFiles Function subDirCheckMaxHrs Function subDirChecks Function makeMediaDir Function checkMediaPaths Function deleteOldFiles Function makeRelSymlink Function saveRecent Function filesToDelete Function freeSpaceUpTo Function freeDiskSpaceCheck Function getCurrentCount Function writeTextToImage Function writeCounter Function postImageProcessing Function getVideoName Function getImageFilename Function showBox Function takeMotionQuickImage Function takeDayImage Function getShutterSetting Function takeNightImage Function createSyncLockFile Function getMotionTrackPoint Function trackMotionDistance Function getStreamPixAve Function checkIfDayStream Function timeToSleep Function getSchedStart Function checkSchedStart Function checkTimer Function takeMiniTimelapse Function takeVideo Function pantiltGoHome Function addFilepathSeq Function takePantiltSequence Function takePano Function videoRepeat Function timolo Function
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |