plugctl/README.md
2023-05-19 17:17:02 +10:00

438 B

plugctl

Build status

Library for controlling Kasa switches, and a sample app.

CLI usage & example

Assuming your ~/go/bin is in $PATH:

  1. go get gitea.drjosh.dev/josh/plugctl/cmd/plugctl@latest
  2. plugctl {on,off,state} --kasa-addr=(host:port)

See cmd/plugctl/main.go for library usage.