Skip to content
/ tapo-cli Public

Command-line utility for batch-downloading your videos from the Tapo TP-Link Cloud.

Notifications You must be signed in to change notification settings

dimme/tapo-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

tapo-cli: Tapo TP-Link Cloud Video Downloader

tapo-cli is a command-line utility designed to streamline the process of batch-downloading your videos from the Tapo TP-Link Cloud.

Please note that this utility has not been tested on Windows systems. It is recommended to utilize the Windows Subsystem for Linux (WSL) for Windows users.

The utility is compatible with any Debian-based operating system that has python3 and pip3 installed.

Usage Instructions

To begin using Tapo-CLI, follow these steps:

git clone https://github.com/dimme/tapo-cli.git
cd tapo-cli
pip3 install -r requirements.txt
chmod +x tapo-cli.py
./tapo-cli.py login
./tapo-cli.py list-videos
./tapo-cli.py download-videos

For additional information and options, please refer to ./tapo-cli.py --help and ./tapo-cli.py [COMMAND] --help.

Automating Backups

Windows

To automate daily backups on Windows, create a .bat file with the following content and schedule it to run once per day using Task Scheduler:

ubuntu.exe run "/home/<user>/tapo-cli/tapo-cli.py download-videos --days 7 --path /mnt/c/TapoBackups --overwrite 0"

This process requires the Windows Subsystem for Linux (WSL). You may also choose to schedule the task to run upon system logon.

Linux

To automate daily backups on Linux, create a cron task by executing:

sudo crontab -e

Then, append a line similar to the one below, adjusted to match your specific paths:

30 4 * * *  <user> /home/<user>/tapo-cli/tapo-cli.py download-videos --days 7 --path /home/<user>/TapoBackups --overwrite 0

This will schedule the task to run at 4:30 AM every day.

About

Command-line utility for batch-downloading your videos from the Tapo TP-Link Cloud.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages