Skip to content

Instantly share code, notes, and snippets.

@joehack3r
Created March 23, 2021 01:21
Show Gist options
  • Save joehack3r/ab8d43a13b09b35405de3d08c85401c8 to your computer and use it in GitHub Desktop.
Save joehack3r/ab8d43a13b09b35405de3d08c85401c8 to your computer and use it in GitHub Desktop.
kasa light switch indicator status
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