-
Notifications
You must be signed in to change notification settings - Fork 102
How to Install or Upgrade
Instructions for Easy curl or Manual Install
- Quick Install
- Test Run pi-timolo
- How to Upgrade
- Upgrade Selected Files
- Manual Install
- Turn Off Camera LED
- Optional RPI Firmware Update
Will perform a New Install or Upgrade Existing Install. Note: Existing Configuration and plugin Files will Not be overwritten. Most recent config's will have .new extension to avoid loosing customization settings.
Step 1 Highlight curl command in code box below using mouse left button. Right click mouse in highlighted area and Copy.
Step 2 On RPI putty SSH or terminal session right click, select paste then Enter to download and run script.
curl -L https://raw.github.com/pageauc/pi-timolo/master/source/pi-timolo-install.sh | bash
Command above will perform the following
- Create a ~/pi-timolo folder if it Does Not Exist
- wget required pi-timolo files from GitHub Repo
- Update executable permissions
- Install/upgrade Required Dependencies
- Install plugins if not already installed. Note: Delete/Rename plugin(s) to download a fresh copy.
- Install rclone into /usr/bin/rclone if not already installed
- Note: You should run sudo apt-get update and sudo apt-get upgrade prior to install/upgrade since this is not longer included with the pi-timolo-install.sh script
To Test Run pi-timolo and view logging perform the following commands.
cd ~/pi-timolo
./pi-timolo.py
Verify motion (per screen log entries) then ctrl-c to exit pi-timolo.py. This will create any required image storage folder(s) per settings in config.py (default motion Track HD image and timelapse HD image at 5 min interval enabled)
Edit config.py file using nano editor to change desired settings per variable comments.
nano config.py
ctrl-x y to Save changes, Then Test and review logging and images output for desired operation.
./pi-timolo.py
To upgrade an existing pi-timolo installation you can
- Run Menubox.sh and select UPGRADE option from Main Menu Recommended.
- Rerun Quick or Manual Install or Upgrade Selected Files
Note An upgrade will Not overwrite existing configuration files. Latest GitHub configuration files will be copied with new in the filename. If there are significant changes you will need to copy the newer configuration file and restore any customization settings.
To upgrade a plugin(s) delete/rename the desired plugin filename and run upgrade
if you wish to review install script prior to execution
cd ~
wget https://raw.github.com/pageauc/pi-timolo/master/source/pi-timolo-install.sh
chmod +x pi-timolo-install.sh
./pi-timolo-install.sh
You can upgrade selected pi-timolo files from the list below. This assumes you have previously installed pi-timolo and just want to refresh a single file. wget will not change file permissions.
cd ~/pi-timolo
Highlight then Right Click, Copy selected entry below. Paste into SSH or Terminal session while in the pi-timolo folder.
wget -O pi-timolo.py https://raw.github.com/pageauc/pi-timolo/master/source/pi-timolo.py
wget -O webserver.py https://raw.github.com/pageauc/pi-timolo/master/source/webserver.py
wget -O menubox.sh https://raw.github.com/pageauc/pi-timolo/master/source/menubox.sh
wget -O watch-app.sh https://raw.github.com/pageauc/pi-timolo/master/source/watch-app.sh
wget -O makevideo.sh https://raw.github.com/pageauc/pi-timolo/master/source/makevideo.sh
wget -O convid.sh https://raw.github.com/pageauc/pi-timolo/master/source/convid.sh
wget -O mvleavelast.sh https://raw.github.com/pageauc/pi-timolo/master/source/mvleavelast
wget -O config.py.new https://raw.github.com/pageauc/pi-timolo/master/source/config.py
wget -O video.conf.new https://raw.github.com/pageauc/pi-timolo/master/source/video.conf
This is not a full list of files and does not include rclone samples, plugins and Others. It is recommended that you run curl Quick Upgrade to perform a complete upgrade.
The default is for the Camera LED to be on when taking images. To disable the camera LED you need to edit the /boot/config.txt file
sudo nano /boot/config.txt
Using the nano editor add the following line to the end of the file.
disable_camera_led=1
ctrl-x y to save nano changes, then reboot the Raspberry Pi for the change to take effect.
How to Troubleshoot Basic Problems
IMPORTANT: The latest Raspbian versions should automatically update firmware as part of normal apt-get update and /or upgrade. There may be situations where you may want to manually update firmware.
pi-timolo.py release 4.50 or greater fixes problems with green or tinted images. If you are still experiencing issues with pi-camera images you may want to update the raspberry pi firmware using the following command. Caution You should Backup any essential files if needed. Make sure Raspberry Pi has internet access. From a SSH console or desktop terminal session execute the following command to update firmware. If the firmware is out of date you will be asked to upgrade or you will just get a message that you have the latest firmware.
sudo rpi-update
If an update was done then reboot and perform a raspberry pi update and upgrade
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
for more details see https://www.raspberrypi.org/documentation/raspbian/updating.md
- Wiki Home
- Introduction
- Prerequisites
- Install or Upgrade
- Run pi-timolo from a drive mnt
- Customize config.py
- Panoramic Images
- user_motion_code.py
- Align Camera Motion Area
- Schedule StartAt
- Basic Troubleshooting
- Tuning Variable Settings
- menubox.sh
- Web Server View Files
- Make Timelapse Video
- Join or Convert h264 to MP4
- Run on Boot
- Setup & Run shutdown.py
- Rclone Media Sync
- watch-app.sh Usage
- Plugins Usage
- Mount USB Storage
- Mount Network Share
- Auto SubFolder Creation
- Manage Disk Space
- Utilities Summary
- GitHub Repo
gdrive is no longer default.