Skip to content

ijpatricio/tapo-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tapo Client

Control your Tapo Smart Plug from your terminal or StreamDeck.

Tapo Plugs

You can then configure actions.

StreamDeck Buttons

And have them run like so:

StreamDeck Button Config

NOTE: The file has to have an extension - .sh in this case, or it will not work.

To get started:

./run.sh install

Inside main.py, add devices:

# Find this region and update:
---
# Device IP Addresses
device_ips = {
    "micro": "192.168.1.100",
    "camera": "192.168.1.101",
}

Generate a env file, and fill accordingly

cp .env.example .env

Now you can run commands on a device.

python3 main.py micro on
python3 main.py micro off
python3 main.py micro toggle

Credits

Thanks to PyP100

Releases

No releases published

Packages

No packages published