Skip to content

Customize Configuration

Claude Pageau edited this page Jan 2, 2018 · 20 revisions

How to Manage Settings

Editing config.py

The config.py File stores pi-timolo.py configuration settings. At run time config.py variables are imported into pi-timolo.py. Use nano editor to customize settings.

cd ~/pi-timolo.py
nano config.py

Use nano editor to modify any pi-timolo.py script settings per comments then ctrl-x y to save changes and exit.

If settings get really messed up and you want to return to a stock configuration you can rename or delete the existing config.py and run ./pi-timolo.py and a new version will automatically be downloaded if there is an internet connection. You can also download a new config.py manually per commands below.

cd ~/pi-timolo
cp config.py config.py.bak
wget -O config.py https://raw.github.com/pageauc/pi-timolo/master/source/config.py

This will download a new copy of config.py from the GitHub repo.

Tuning config.py Settings

The most common config.py settings to change will be flipping or rotating the camera image, Changing camera mode(s) such as motion, timelapse, dashcam, text overlay settings, For more detail see How to Tune config.py Settings

Change config.py using Plugins

You can also implement plugins to overlay specific variables and override the config.py ones. This allows creating configurations for specific tasks. There are a number of pre-configured plugins to choose from.

Change config.py Remotely

Config.py settings can also be managed from a remote storage service directory that is How to Setup config.py for Remote Configuration

How to Run on Boot

Clone this wiki locally