Created
March 23, 2021 01:21
-
-
Save joehack3r/ab8d43a13b09b35405de3d08c85401c8 to your computer and use it in GitHub Desktop.
kasa light switch indicator status
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install python3-virtualenv | |
virtualenv kasa | |
source ~/kasa/bin/activate | |
pip3 install python-kasa | |
# Turn off indicator light | |
kasa --host 192.168.1.65 led 0 | |
# Turn on indicator light | |
kasa --host 192.168.1.65 led 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment