GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - navjack/python-kasa: 🏠🤖 Python API for TP-Link Kasa Smarthome products

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

591 Commits
591 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
devtools
devtools
 
 
docs
docs
 
 
kasa
kasa
 
 
powershellscripts
powershellscripts
 
 
.gitattributes
.gitattributes
 
 
.github_changelog_generator
.github_changelog_generator
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.readthedocs.yml
.readthedocs.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
HISTORY.md
HISTORY.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
RELEASING.md
RELEASING.md
 
 
poetry.lock
poetry.lock
 
 
pyproject.toml
pyproject.toml
 
 
tox.ini
tox.ini
 
 

Repository files navigation

This is just a complete fork of...

python-kasa

And you can read their GitHub's Readme right here!

The only thing I'm contributing to this are some things i wanted to do for my own use. I wanted a way to control my Kasa RGB bulbs and while you can do that with this Python library I wanted to interface with it in a different way. So, I wrote a quick and dirty PowerShell script that made it easier for me to call the Python library in VSCode on my Mac.

# put variables together to form the command to change the color of the selected bulb
$bulbcolorchangecmd = $commandstart + $bulbip + $typebulb + $hsvcmd

# write host $bulbcolorchangecmd to see what the command looks like
Write-Host $bulbcolorchangecmd

# run $bulbcolorchangecmd in the macos zsh shell
Invoke-Expression -Command $bulbcolorchangecmd

Simple stuff like this let me bypass what shell VSCode would open. Just going straight to ZSH which has Python-Kasa running happily in it instead of having to wonder if it is the Brew version, or one of the other...

Screenshot 2024-02-28 at 10 22 57 PM

many many other python installs doesn't matter now.

I hope to get all of the functionality i want essentially prototyped in PowerShell by invoking the Python library and then taking all that into its own self-contained thing in Go or Rust or something that can easily spit out binaries that can run on my PC and my Mac.

The things I'm working on live in here

About

🏠🤖 Python API for TP-Link Kasa Smarthome products

python-kasa.readthedocs.io/en/stable/

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.