Library for controlling Kasa switches
Find a file
2023-05-19 17:17:02 +10:00
cmd/plugctl Add CLI as example usage 2023-04-23 10:39:35 +00:00
.gitignore Initial commit 2023-01-06 16:05:31 +11:00
go.mod WIP 2023-01-06 16:29:05 +11:00
LICENSE Implementation mostly complete 2023-01-07 21:22:19 +11:00
plug.go Implementation mostly complete 2023-01-07 21:22:19 +11:00
plug_test.go Implementation mostly complete 2023-01-07 21:22:19 +11:00
README.md Add more README 2023-05-19 17:17:02 +10:00

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.